trim POM to required resources

This commit is contained in:
Brett Porter 2014-07-29 15:54:11 +10:00
parent 50e30fef3b
commit 482c368d0d
2 changed files with 49 additions and 176 deletions

View File

@ -34,9 +34,6 @@
</fileSet> </fileSet>
</fileSets> </fileSets>
<requiredProperties> <requiredProperties>
<requiredProperty key="wagonVersion">
<defaultValue>${wagon.version}</defaultValue>
</requiredProperty>
<requiredProperty key="archivaVersion"> <requiredProperty key="archivaVersion">
<defaultValue>${archivaVersion}</defaultValue> <defaultValue>${archivaVersion}</defaultValue>
</requiredProperty> </requiredProperty>
@ -52,17 +49,5 @@
<requiredProperty key="jackrabbitVersion"> <requiredProperty key="jackrabbitVersion">
<defaultValue>${jackrabbit.version}</defaultValue> <defaultValue>${jackrabbit.version}</defaultValue>
</requiredProperty> </requiredProperty>
<requiredProperty key="redbackVersion">
<defaultValue>${redback.version}</defaultValue>
</requiredProperty>
<requiredProperty key="derbyVersion">
<defaultValue>${derbyVersion}</defaultValue>
</requiredProperty>
<requiredProperty key="httpclientCoreVersion">
<defaultValue>${httpclient.core.version}</defaultValue>
</requiredProperty>
<requiredProperty key="commons-poolVersion">
<defaultValue>${commons-pool.version}</defaultValue>
</requiredProperty>
</requiredProperties> </requiredProperties>
</archetype-descriptor> </archetype-descriptor>

View File

@ -24,24 +24,17 @@
<groupId>${groupId}</groupId> <groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId> <artifactId>${artifactId}</artifactId>
<version>${version}</version> <version>${version}</version>
<packaging>jar</packaging>
<name>Simple Archiva Consumer</name> <name>Simple Archiva Consumer</name>
<url>http://archiva.apache.org</url>
<description> <description>
This is a simple consumer component which demonstrates how a This is a simple consumer component which demonstrates how a
component can be plugged in Archiva. component can be plugged in Archiva.
</description> </description>
<properties> <properties>
<archiva.version>${archivaVersion}</archiva.version> <archiva.version>${archivaVersion}</archiva.version>
<wagonVersion>${wagonVersion}</wagonVersion>
<slf4jVersion>${slf4jVersion}</slf4jVersion> <slf4jVersion>${slf4jVersion}</slf4jVersion>
<log4jVersion>${log4jVersion}</log4jVersion> <log4jVersion>${log4jVersion}</log4jVersion>
<jackrabbit.version>${jackrabbitVersion}</jackrabbit.version> <jackrabbit.version>${jackrabbitVersion}</jackrabbit.version>
<spring.version>${springVersion}</spring.version> <spring.version>${springVersion}</spring.version>
<redback.version>${redbackVersion}</redback.version>
<derbyVersion>${derbyVersion}</derbyVersion>
<commons-pool.version>${commons-poolVersion}</commons-pool.version>
<httpclientCoreVersion>${httpclientCoreVersion}</httpclientCoreVersion>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
@ -56,31 +49,13 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.archiva</groupId> <groupId>org.apache.archiva</groupId>
<artifactId>archiva-repository-layer</artifactId> <artifactId>archiva-repository-admin-api</artifactId>
<version>${archiva.version}</version> <version>${archiva.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.archiva</groupId> <groupId>org.apache.archiva.redback.components.registry</groupId>
<artifactId>archiva-indexer</artifactId> <artifactId>spring-registry-api</artifactId>
<version>${archiva.version}</version> <version>2.3</version>
</dependency>
<dependency>
<groupId>org.apache.archiva</groupId>
<artifactId>maven2-repository</artifactId>
<version>${archiva.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>3.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
@ -88,92 +63,26 @@
<version>${slf4jVersion}</version> <version>${slf4jVersion}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>javax.inject</groupId>
<artifactId>jcl-over-slf4j</artifactId> <artifactId>javax.inject</artifactId>
<version>${slf4jVersion}</version> <version>1</version>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>jsr250-api</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.logging.log4j</groupId> <groupId>junit</groupId>
<artifactId>log4j-core</artifactId> <artifactId>junit</artifactId>
<version>${log4jVersion}</version> <version>4.11</version>
<scope>runtime</scope> <scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<version>${log4jVersion}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>${log4jVersion}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-jcl</artifactId>
<version>${log4jVersion}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.archiva</groupId>
<artifactId>archiva-repository-admin-default</artifactId>
<version>${archiva.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.archiva</groupId>
<artifactId>metadata-store-jcr</artifactId>
<version>${archiva.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-core</artifactId>
<version>${jackrabbit.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${spring.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-expression</artifactId>
<version>${spring.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
@ -187,39 +96,22 @@
</exclusions> </exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.archiva.redback</groupId> <groupId>org.easymock</groupId>
<artifactId>redback-common-test-resources</artifactId> <artifactId>easymock</artifactId>
<scope>test</scope> <version>3.2</version>
<version>${redback.version}</version>
</dependency>
<dependency>
<groupId>org.apache.archiva.redback</groupId>
<artifactId>redback-rbac-memory</artifactId>
<scope>test</scope>
<version>${redback.version}</version>
</dependency>
<dependency>
<groupId>org.apache.archiva.redback</groupId>
<artifactId>redback-rbac-cached</artifactId>
<scope>test</scope>
<version>${redback.version}</version>
</dependency>
<dependency>
<groupId>org.apache.archiva.redback</groupId>
<artifactId>redback-rbac-role-manager</artifactId>
<scope>test</scope>
<version>${redback.version}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http</artifactId>
<version>${wagonVersion}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.httpcomponents</groupId> <groupId>org.apache.archiva</groupId>
<artifactId>httpcore</artifactId> <artifactId>metadata-store-jcr</artifactId>
<version>${httpclientCoreVersion}</version> <version>${archiva.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-core</artifactId>
<version>${jackrabbit.version}</version>
<scope>test</scope>
<exclusions> <exclusions>
<exclusion> <exclusion>
<groupId>commons-logging</groupId> <groupId>commons-logging</groupId>
@ -228,32 +120,28 @@
</exclusions> </exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.maven.wagon</groupId> <groupId>org.apache.archiva.redback.components</groupId>
<artifactId>wagon-http-lightweight</artifactId> <artifactId>spring-quartz</artifactId>
<version>${wagonVersion}</version> <version>2.1</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>xerces</groupId> <groupId>org.slf4j</groupId>
<artifactId>xercesImpl</artifactId> <artifactId>jcl-over-slf4j</artifactId>
<version>2.11.0</version> <version>${slf4jVersion}</version>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>${derbyVersion}</version>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.4</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-pool</groupId> <groupId>org.apache.logging.log4j</groupId>
<artifactId>commons-pool</artifactId> <artifactId>log4j-slf4j-impl</artifactId>
<version>${log4jVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4jVersion}</version>
<scope>test</scope> <scope>test</scope>
<version>${commons-pool.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>