Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2011-10-27 22:56:32 +0000
committerJoakim Erdfelt2011-10-27 22:56:32 +0000
commita87286a17cae68771b2d073da244e86dae03b9a2 (patch)
treeb7c0b47fcbb93bb8fb8c136ffff242906069bc0c /jetty-util/pom.xml
parent903c5dcbbf0833cc2db58db4bea482d90f1264f2 (diff)
downloadorg.eclipse.jetty.project-a87286a17cae68771b2d073da244e86dae03b9a2.tar.gz
org.eclipse.jetty.project-a87286a17cae68771b2d073da244e86dae03b9a2.tar.xz
org.eclipse.jetty.project-a87286a17cae68771b2d073da244e86dae03b9a2.zip
WIP: testing of Slf4jLog
Diffstat (limited to 'jetty-util/pom.xml')
-rw-r--r--jetty-util/pom.xml44
1 files changed, 41 insertions, 3 deletions
diff --git a/jetty-util/pom.xml b/jetty-util/pom.xml
index 2ebefeb30a..8e7e267569 100644
--- a/jetty-util/pom.xml
+++ b/jetty-util/pom.xml
@@ -66,13 +66,51 @@
<onlyAnalyze>org.eclipse.jetty.util.*</onlyAnalyze>
</configuration>
</plugin>
+ <!--
+ Copies the slf4j jars into a place where they can be used for a few targeted test cases.
+ and not infect the rest of the running tests due to automatic discovery in the org.eclipse.jetty.util.log.Log
+ class
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.1</version>
+ <executions>
+ <execution>
+ <id>copy-slf4j-test-jars</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.6.1</version>
+ <type>jar</type>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-jdk14</artifactId>
+ <version>1.6.1</version>
+ <type>jar</type>
+ </artifactItem>
+ </artifactItems>
+ <overWriteIfNewer>true</overWriteIfNewer>
+ <overWriteSnapshots>true</overWriteSnapshots>
+ <outputDirectory>${project.build.directory}/test-jars</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<dependencies>
<dependency>
- <groupId>org.eclipse.jetty.toolchain</groupId>
- <artifactId>jetty-test-helper</artifactId>
- <scope>test</scope>
+ <groupId>org.eclipse.jetty.toolchain</groupId>
+ <artifactId>jetty-test-helper</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>

Back to the top