summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-webapp/pom.xml
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-09-09 15:38:26 +0000
committerOlivier Lamy <olamy@apache.org>2012-09-09 15:38:26 +0000
commit1377df45646f0de232d0abd52e64bd79eb364ecb (patch)
treee75eda99ebe0e372141ce9bb4fadf5262c6f0f19 /archiva-modules/archiva-web/archiva-webapp/pom.xml
parentb3f857bd37d08caf3fa2de5b26ff8d5a32401829 (diff)
downloadarchiva-1377df45646f0de232d0abd52e64bd79eb364ecb.tar.gz
archiva-1377df45646f0de232d0abd52e64bd79eb364ecb.zip
[MRM-1660] use log4j2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1382518 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-webapp/pom.xml')
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/pom.xml59
1 files changed, 33 insertions, 26 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml
index e255b5fcc..6b2a8b8aa 100644
--- a/archiva-modules/archiva-web/archiva-webapp/pom.xml
+++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml
@@ -318,11 +318,30 @@
</exclusions>
</dependency>
<dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-ext</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j12-api</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>slf4j-impl</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
<groupId>httpunit</groupId>
<artifactId>httpunit</artifactId>
<scope>test</scope>
@@ -486,6 +505,12 @@
<dependency>
<groupId>org.apache.archiva.redback</groupId>
<artifactId>redback-struts2-integration</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.archiva.redback</groupId>
@@ -1312,28 +1337,6 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>override-log4j-with-console-output</id>
- <phase>process-resources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <copy overwrite="true" file="${basedir}/src/test/tomcat/log4j.xml"
- todir="${project.build.directory}/classes"/>
- <copy overwrite="true" file="${basedir}/src/test/tomcat/auto-admin-creation.properties"
- todir="${basedir}/target/"/>
- <delete dir="${basedir}/src/main/webapp/WEB-INF/lib"/>
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<!-- redefine to skip its execution in Tomcat -->
@@ -1468,10 +1471,12 @@
<appserver.base>${archivaAppServerBase}</appserver.base>
<appserver.home>${archivaAppServerBase}</appserver.home>
<derby.system.home>${archivaAppServerBase}/logs</derby.system.home>
- <redback.admin.creation.file>${basedir}/target/auto-admin-creation.properties
- </redback.admin.creation.file>
+ <redback.admin.creation.file>${basedir}/src/test/tomcat/auto-admin-creation.properties </redback.admin.creation.file>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
</systemProperties>
+ <additionalClasspathDirs>
+ <additionalClasspathDir>${basedir}/src/test/tomcat</additionalClasspathDir>
+ </additionalClasspathDirs>
</configuration>
<dependencies>
<dependency>
@@ -1498,10 +1503,12 @@
<appserver.base>${archivaAppServerBase}</appserver.base>
<appserver.home>${archivaAppServerBase}</appserver.home>
<derby.system.home>${archivaAppServerBase}/logs</derby.system.home>
- <redback.admin.creation.file>${basedir}/target/auto-admin-creation.properties
- </redback.admin.creation.file>
+ <redback.admin.creation.file>${basedir}/src/test/tomcat/auto-admin-creation.properties </redback.admin.creation.file>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
</systemProperties>
+ <additionalClasspathDirs>
+ <additionalClasspathDir>${basedir}/src/test/tomcat</additionalClasspathDir>
+ </additionalClasspathDirs>
</configuration>
<dependencies>
<dependency>