<version>1.1-SNAPSHOT</version>
</parent>
<artifactId>archiva-jetty</artifactId>
-<!-- Bug in appassembler prevents using a purely attached assembly
<packaging>pom</packaging>
--->
- <name>Archiva Web :: Jetty</name>
+ <name>Archiva Web :: Jetty</name>
<dependencies>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>commons-el</artifactId>
<version>1.0</version>
<scope>runtime</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>tomcat</groupId>
<artifactId>jasper-compiler</artifactId>
<version>5.5.15</version>
<scope>runtime</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jsp-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
- <dependency>
- <groupId>tomcat</groupId>
- <artifactId>jasper-compiler-jdt</artifactId>
- <version>5.5.15</version>
- <scope>runtime</scope>
- </dependency>
<dependency>
<groupId>tomcat</groupId>
<artifactId>jasper-runtime</artifactId>
<version>5.5.15</version>
<scope>runtime</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<version>1.0.1</version>
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>xerces</groupId>
- <artifactId>xercesImpl</artifactId>
- <version>2.6.2</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>xerces</groupId>
- <artifactId>xmlParserAPIs</artifactId>
- <version>2.6.2</version>
- <scope>runtime</scope>
- </dependency>
</dependencies>
<build>
<plugins>
<directory>target/generated-resources/appassembler/jsw/archiva/conf</directory>
<outputDirectory>conf</outputDirectory>
</fileSet>
- <fileSet>
- <directory>target/generated-resources/appassembler/jsw/archiva/repo</directory>
- <outputDirectory>repo</outputDirectory>
- <includes>
- <include>jetty-6.1.6.jar</include>
- <include>start-6.1.6.jar</include>
- <include>jetty-naming-6.1.6.jar</include>
- <include>jetty-util-6.1.6.jar</include>
- <include>jetty-plus-6.1.6.jar</include>
- <include>servlet-api-2.5-6.1.6.jar</include>
- <include>jsp-api-2.0-6.1.6.jar</include>
- <include>derby-10.1.3.1.jar</include>
- <include>mail-1.4.jar</include>
- <include>ant-1.6.5.jar</include>
- <include>commons-el-1.0.jar</include>
- <include>jasper-compiler-5.5.15.jar</include>
- <include>jasper-compiler-jdt-5.5.15.jar</include>
- <include>jasper-runtime-5.5.15.jar</include>
- <include>jcl104-over-slf4j-1.0.1.jar</include>
- <include>slf4j-simple-1.0.1.jar</include>
- <include>xercesImpl-2.6.2.jar</include>
- <include>xmlParserAPIs-2.6.2.jar</include>
- </includes>
- <fileMode>0755</fileMode>
- </fileSet>
<fileSet>
<directory>target/generated-resources/appassembler/jsw/archiva/lib</directory>
<outputDirectory>lib</outputDirectory>
+ <excludes>
+ <!-- avoid what is pulled in by the appassembler plugin, and the archiva dependencies -->
+ <exclude>archiva-*</exclude>
+ <exclude>maven-metadata-appassembler.xml</exclude>
+ </excludes>
<fileMode>0755</fileMode>
- </fileSet>
+ </fileSet>
<fileSet>
<directory>target/generated-resources/appassembler/jsw/archiva/logs</directory>
<outputDirectory>logs</outputDirectory>