Skip to content

Commit 3a24c3f

Browse files
committed
JAVA-1939: Exclude logback-test.xml files from test jars
Motivation: When logback-test.xml files get bundled in test jars, they appear on the classpath of client applications, creating Logback configuration conflicts with local configuration files. Modification: Exclude logback-test.xml files from test jars. Result: No more Logback configuration conflicts in client applications.
1 parent 96d6f34 commit 3a24c3f

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

core/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,11 @@
154154
<goals>
155155
<goal>test-jar</goal>
156156
</goals>
157+
<configuration>
158+
<excludes>
159+
<exclude>logback-test.xml</exclude>
160+
</excludes>
161+
</configuration>
157162
</execution>
158163
</executions>
159164
</plugin>

integration-tests/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@
115115
<goals>
116116
<goal>test-jar</goal>
117117
</goals>
118+
<configuration>
119+
<excludes>
120+
<exclude>logback-test.xml</exclude>
121+
</excludes>
122+
</configuration>
118123
</execution>
119124
</executions>
120125
</plugin>

0 commit comments

Comments
 (0)