[LOGGING-186] Replace custom code with ServiceLoader call (#171)
* Replace custom code with `ServiceLoader` call * Files should end with an empty line * Files should end with an empty line * Comment empty block * Comment empty block --------- Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
This commit is contained in:
21
pom.xml
21
pom.xml
@@ -391,6 +391,9 @@ under the License.
|
||||
</goals>
|
||||
<configuration>
|
||||
<runOrder>${failsafe.runorder}</runOrder>
|
||||
<excludes>
|
||||
<exclude>org/apache/commons/logging/serviceloader/**</exclude>
|
||||
</excludes>
|
||||
<includes>
|
||||
<include>**/*TestCase.java</include>
|
||||
</includes>
|
||||
@@ -408,6 +411,24 @@ under the License.
|
||||
</systemPropertyVariables>
|
||||
</configuration>
|
||||
</execution>
|
||||
<!--
|
||||
- The ServiceLoaderTestCase uses an alternative implementation of LogFactory,
|
||||
- therefore it requires a separate execution.
|
||||
-->
|
||||
<execution>
|
||||
<id>serviceLoader-test</id>
|
||||
<goals>
|
||||
<goal>integration-test</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>${project.build.testOutputDirectory}/serviceloader</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<includes>
|
||||
<include>org/apache/commons/logging/serviceloader/*TestCase.java</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user