[MRM-1562] Update to Archiva as OSGi compliant application.

Submitted by Jean-Baptiste Onofre.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1205009 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-11-22 14:17:04 +00:00
parent 7328b600d5
commit 9d3a719381
37 changed files with 1380 additions and 26 deletions

View File

@ -26,6 +26,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>archiva-artifact-converter</artifactId>
<packaging>bundle</packaging>
<name>Archiva Artifact Converter</name>
<description>Converts between Legacy and Modern Layout Artifacts.</description>
<dependencies>
@ -82,6 +83,31 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.artifact.converter</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.converter.artifact*;version=${project.version};-split-package:=merge-first
</Export-Package>
<Import-Package>
javax.annotation,
javax.inject,
org.apache.archiva.common.plexusbridge;version=${project.version},
org.apache.archiva.transaction;version=${project.version},
org.apache.commons.io;version="[1.4,2)",
org.springframework*;version="[3,4)",
org.apache.maven.artifact*,
org.apache.maven.model*,
org.codehaus.plexus.digest,
org.codehaus.plexus.util*
</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>

View File

@ -25,6 +25,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>archiva-checksum</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Checksum</name>
<dependencies>
@ -52,6 +53,26 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.checksum</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.checksum;version=${project.version}
</Export-Package>
<Import-Package>
org.apache.commons.io*;version="[1.4,2)",
org.apache.commons.lang;version="[2.4,3)",
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>

View File

@ -26,6 +26,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archiva-common</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Common</name>
<dependencies>
<!-- TO OTHER DEVELOPERS:
@ -72,6 +73,26 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.common</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.common*;version=${project.version}
</Export-Package>
<Import-Package>
org.apache.commons.lang*;version="[2,3)",
org.codehaus.plexus.logging,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>

View File

@ -26,6 +26,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archiva-configuration</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Configuration</name>
<dependencies>
<dependency>
@ -168,6 +169,36 @@
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.configuration</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.configuration*;version=${project.version}
</Export-Package>
<Import-Package>
javax.annotation,
javax.inject,
org.apache.archiva.common;version=${project.version},
org.apache.archiva.policies;version=${project.version},
org.apache.commons.collections;version="[3.2,4)",
org.apache.commons.lang;version="[2.4,3)",
org.apache.commons.configuration;version="[1.3,2)",
org.apache.commons.io;version="[1.4,2)",
org.codehaus.plexus.evaluator*,
org.codehaus.plexus.registry,
org.codehaus.plexus.util,
org.codehaus.redback.components.registry.commons,
org.codehaus.redback.components.springutils,
org.springframework.stereotype;version="[3,4)",
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>

View File

@ -25,10 +25,9 @@
<artifactId>archiva-consumers</artifactId>
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>archiva-consumer-api</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Consumers :: API</name>
<dependencies>
<dependency>
<groupId>org.apache.archiva</groupId>
@ -43,4 +42,28 @@
<artifactId>commons-collections</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.consumers.api</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.consumers*;version=${project.version}
</Export-Package>
<Import-Package>
org.apache.archiva.admin.model.beans;version=${project.version},
org.apache.archiva.common*;version=${project.version},
org.apache.commons.collections;version="[3.2,4)",
org.apache.commons.io;version="[1.4,2)",
org.codehaus.plexus.util
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -26,14 +26,12 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>archiva-consumer-archetype</artifactId>
<packaging>maven-archetype</packaging>
<name>Archiva Consumers :: Consumers Archetype</name>
<description>Simple archetype to create archiva consumers</description>
<properties>
<archivaVersion>${project.version}</archivaVersion>
</properties>
<build>
<resources>
<resource>

View File

@ -25,10 +25,9 @@
<artifactId>archiva-consumers</artifactId>
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>archiva-core-consumers</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Consumers :: Core Consumers</name>
<dependencies>
<!-- TODO: remove this hard dependency by using an event mechanism -->
<dependency>
@ -138,6 +137,41 @@
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.consumers.core</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.consumers.core*;version=${project.version}
</Export-Package>
<Import-Package>
javax.annotation,
javax.inject,
org.apache.archiva.admin.model*;version=${project.version},
org.apache.archiva.checksum;version=${project.version},
org.apache.archiva.common.utils;version=${project.version},
org.apache.archiva.configuration;version=${project.version},
org.apache.archiva.common.plexusbridge;version=${project.version},
org.apache.archiva.consumers;version=${project.version},
org.apache.archiva.metadata.repository;version=${project.version},
org.apache.archiva.model;version=${project.version},
org.apache.archiva.repository;version=${project.version},
org.apache.archiva.repository.events;version=${project.version},
org.apache.archiva.repository.layout;version=${project.version},
org.apache.archiva.repository.metadata;version=${project.version},
org.apache.commons.io;version="[1.4,2)",
org.apache.commons.lang*;version="[2.4,3)",
org.springframework*;version="[3,4)",
org.codehaus.plexus.digest,
org.codehaus.plexus.registry,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>

View File

@ -25,10 +25,9 @@
<artifactId>archiva-consumers</artifactId>
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>archiva-lucene-consumers</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Consumers :: Lucene</name>
<dependencies>
<dependency>
<groupId>org.apache.archiva</groupId>
@ -102,6 +101,35 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.consumers.lucene</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.consumers.lucene;version=${project.version}
</Export-Package>
<Import-Package>
javax.annotation,
javax.inject,
org.apache.archiva.admin.model*;version=${project.version},
org.apache.archiva.common.plexusbridge;version=${project.version},
org.apache.archiva.configuration;version=${project.version},
org.apache.archiva.consumers;version=${project.version},
org.apache.archiva.scheduler*;version=${project.version},
org.springframework*;version="[3,4)",
org.apache.maven.index*,
org.codehaus.plexus.registry,
org.codehaus.plexus.taskqueue,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>

View File

@ -26,6 +26,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>archiva-metadata-consumer</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Consumers :: Metadata</name>
<dependencies>
<dependency>
@ -57,4 +58,35 @@
<artifactId>spring-registry-api</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.consumers.metadata</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.consumers.metadata;version=${project.version}
</Export-Package>
<Import-Package>
javax.annotation,
javax.inject,
org.apache.archiva.admin.model.beans;version=${project.version},
org.apache.archiva.common.utils;version=${project.version},
org.apache.archiva.configuration;version=${project.version},
org.apache.archiva.consumers;version=${project.version},
org.apache.archiva.metadata.model;version=${project.version},
org.apache.archiva.metadata.repository;version=${project.version},
org.apache.archiva.metadata.repository.storage;version=${project.version},
org.springframework*;version="[3,4)",
org.codehaus.plexus.registry,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -26,6 +26,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archiva-converter</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Repository Converter</name>
<dependencies>
<dependency>
@ -63,6 +64,42 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.converter</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.converter*;version=${project.version};-split-package:=merge-first
</Export-Package>
<Import-Package>
javax.annotation,
javax.inject,
org.apache.archiva.admin.model.beans;version=${project.version},
org.apache.archiva.common.plexusbridge;version=${project.version},
org.apache.archiva.common.utils;version=${project.version},
org.apache.archiva.model;version=${project.version},
org.apache.archiva.consumers;version=${project.version},
org.apache.archiva.repository;version=${project.version},
org.apache.archiva.repository.content;version=${project.version},
org.apache.archiva.repository.layout;version=${project.version},
org.apache.archiva.repository.scanner;version=${project.version},
org.apache.archiva.transaction;version=${project.version},
org.apache.commons.io;version="[1.4,2)",
org.springframework*;version="[3,4)",
org.apache.maven.artifact*,
org.apache.maven.model*,
org.codehaus.plexus.digest,
org.codehaus.plexus.util*,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>

View File

@ -26,6 +26,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archiva-indexer</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Indexer</name>
<dependencies>
@ -162,6 +163,32 @@
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.indexer</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.indexer.*;version=${project.version};-split-package:=merge-first
</Export-Package>
<Import-Package>
javax.annotation,
javax.inject,
com.google.common.io,
org.apache.archiva.admin.model*;version=${project.version},
org.apache.archiva.common.plexusbridge;version=${project.version},
org.apache.commons.io;version="[1.4,2)",
org.apache.commons.lang*;version="[2.4,3)",
org.apache.lucene*;version="[3,4)",
org.springframework*;version="[3,4)",
org.apache.maven.index*,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>

View File

@ -26,6 +26,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archiva-model</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Model</name>
<dependencies>
<dependency>
@ -85,6 +86,23 @@
</instrumentation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.model</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.model;version=${project.version}
</Export-Package>
<Import-Package>
org.apache.archiva.common.utils;version=${project.version},
org.apache.commons.lang;version="[2.4,3)"
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -26,6 +26,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archiva-plexus-bridge</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Plexus Bridge</name>
<dependencies>
@ -64,4 +65,34 @@
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.common.plexusbridge</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.common.plexusbridge;version=${project.version}
</Export-Package>
<Import-Package>
javax.annotation,
javax.inject,
org.codehaus.plexus,
org.codehaus.plexus.classworlds*,
org.codehaus.plexus.component.repository.exception,
org.codehaus.plexus.digest,
org.springframework.stereotype,
org.apache.maven.index.context;resolution:=optional,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -26,6 +26,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archiva-policies</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Policies</name>
<dependencies>
<dependency>
@ -107,6 +108,28 @@
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.policies</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.policies*;version=${project.version}
</Export-Package>
<Import-Package>
javax.inject,
org.apache.archiva.checksum;version=${project.version},
org.apache.archiva.common*;version=${project.version},
org.apache.commons.lang;version="[2,3)",
org.springframework.stereotype;version="[3,4)",
org.codehaus.plexus.cache,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>

View File

@ -25,6 +25,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>archiva-proxy-common</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Proxy Common</name>
<dependencies>
<dependency>
@ -61,4 +62,29 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.proxy.common</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.proxy.common;version=${project.version}
</Export-Package>
<Import-Package>
javax.inject,
org.apache.archiva.common.plexusbridge;version=${project.version},
org.apache.commons.lang;version="[2.4,3)",
org.springframework.stereotype;version="[3,4)",
org.apache.maven.wagon*,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -26,6 +26,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archiva-proxy</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Proxy</name>
<dependencies>
<dependency>
@ -151,6 +152,43 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.proxy</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.proxy;version=${project.version}
</Export-Package>
<Import-Package>
javax.annotation,
javax.inject,
com.google.common.collect,
org.apache.archiva.admin.model.beans;version=${project.version},
org.apache.archiva.configuration;version=${project.version},
org.apache.archiva.model;version=${project.version},
org.apache.archiva.policies*;version=${project.version},
org.apache.archiva.proxy.common;version=${project.version},
org.apache.archiva.repository*;version=${project.version},
org.apache.archiva.scheduler*;version=${project.version},
org.apache.commons.collections;version="[3.2,4)",
org.apache.commons.io;version="[1.4,2)",
org.apache.commons.lang;version="[2.4,3)",
org.springframework.stereotype;version="[3,4)",
org.codehaus.plexus.registry,
org.codehaus.plexus.taskqueue,
org.codehaus.plexus.util,
org.apache.maven.wagon,
org.apache.maven.wagon.authentication,
org.apache.maven.wagon.proxy,
org.apache.maven.wagon.repository,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>

View File

@ -26,6 +26,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>archiva-repository-admin-api</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Repository Admin Api</name>
<dependencies>
<dependency>
@ -82,6 +83,26 @@
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.repository.admin.api</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.admin.model*;version=${project.version}
</Export-Package>
<Import-Package>
javax.xml.bind.annotation,
org.apache.commons.collections;version="[3.2,4)",
org.apache.commons.lang;version="[2.4,3)",
org.codehaus.plexus.redback.users,
org.apache.maven.index.context;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>

View File

@ -26,6 +26,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>archiva-repository-admin-default</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Repository Admin Default</name>
<dependencies>
<dependency>
@ -204,6 +205,44 @@
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.repository.admin.default</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.admin.repository*;version=${project.version}
</Export-Package>
<Import-Package>
javax.annotation,
javax.inject,
net.sf.beanlib.provider.replicator,
org.apache.archiva.admin.model*;version=${project.version},
org.apache.archiva.audit;version=${project.version},
org.apache.archiva.common.plexusbridge;version=${project.version},
org.apache.archiva.configuration*;version=${project.version},
org.apache.archiva.metadata*;version=${project.version},
org.apache.archiva.scheduler*;version=${project.version},
org.apache.commons.collections;version="[3.2,4)",
org.apache.commons.io;version="[1.4,2)",
org.apache.commons.lang*;version="[2.4,3)",
org.apache.commons.validator;version="[1.3,2)",
org.apache.http*;version="[4,5)",
org.springframework*;version="[3,4)",
org.apache.maven.index*,
org.apache.maven.wagon*,
org.codehaus.plexus.redback.role,
org.codehaus.plexus.redback.users,
org.codehaus.plexus.registry,
org.codehaus.plexus.taskqueue,
org.codehaus.redback.components.scheduler,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>

View File

@ -26,6 +26,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archiva-repository-layer</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Repository Interface Layer</name>
<dependencies>
<dependency>
@ -77,6 +78,41 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.repository.layer</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.repository;version=${project.version};-split-package:=merge-first,
org.apache.archiva.repository.connector;version=${project.version};-split-package:=merge-first,
org.apache.archiva.repository.content;version=${project.version};-split-package:=merge-first,
org.apache.archiva.repository.layout;version=${project.version};-split-package:=merge-first,
org.apache.archiva.repository.metadata;version=${project.version};-split-package:=merge-first
</Export-Package>
<Import-Package>
javax.annotation,
javax.inject,
org.apache.archiva.model*;version=${project.version},
org.apache.archiva.admin.model*;version=${project.version},
org.apache.archiva.common*;version=${project.version},
org.apache.archiva.checksum;version=${project.version},
org.apache.archiva.configuration;version=${project.version},
org.apache.archiva.metadata*;version=${project.version},
org.apache.archiva.xml;version=${project.version},
org.apache.commons.collections;version="[3.2,4)",
org.apache.commons.io;version="[1.4,2)",
org.apache.commons.lang*;version="[2.4,3)",
org.springframework*;version="[3,4)",
org.dom4j;version="[1.6,2)",
org.codehaus.plexus.registry,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>

View File

@ -26,6 +26,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>archiva-repository-scanner</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Repository Scanner</name>
<dependencies>
<dependency>
@ -59,6 +60,33 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.repository.scanner</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.repository.scanner*;version=${project.version}
</Export-Package>
<Import-Package>
javax.inject,
org.apache.archiva.admin.model*;version=${project.version},
org.apache.archiva.common*;version=${project.version},
org.apache.archiva.configuration;version=${project.version},
org.apache.archiva.consumers*;version=${project.version},
org.apache.commons.collections*;version="[3.2,4)",
org.apache.commons.lang;version="[2.4,3)",
org.springframework*;version="[3,4)",
org.codehaus.plexus.util,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>

View File

@ -26,5 +26,26 @@
</parent>
<groupId>org.apache.archiva</groupId>
<artifactId>archiva-security-common</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Security Common</name>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.security.common</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.security.common;version=${project.version};-split-package:=merge-first
</Export-Package>
<Import-Package>
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -25,6 +25,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>archiva-transaction</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: Transactions</name>
<description>API for managing transaction.</description>
<dependencies>
@ -61,4 +62,25 @@
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.transaction</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.transaction;version=${project.version};-split-package:=merge-first
</Export-Package>
<Import-Package>
org.apache.commons.io;version="[1.4,2)",
org.codehaus.plexus.digest
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -26,6 +26,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archiva-xml-tools</artifactId>
<packaging>bundle</packaging>
<name>Archiva Base :: XML Tools</name>
<dependencies>
<dependency>
@ -54,6 +55,28 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.xml.tools</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.xml;version=${project.version}
</Export-Package>
<Import-Package>
org.apache.archiva.common;version=${project.version},
org.apache.commons.collections;version="[3.2,4)",
org.apache.commons.io;version="[1.4,2)",
org.apache.commons.lang;version="[2.4,3)",
org.dom4j*;version="[1.6,2)"
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>

View File

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.archiva</groupId>
<artifactId>archiva-karaf</artifactId>
<version>1.4-M2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.archiva.karaf</groupId>
<artifactId>apache-archiva</artifactId>
<packaging>pom</packaging>
<name>Archiva :: Karaf Features</name>
<properties>
<aopalliance.bundle.version>1.0_5</aopalliance.bundle.version>
<beanlib.bundle.version>5.0.2beta_1-SNAPSHOT</beanlib.bundle.version>
<cglib.bundle.version>2.2_2</cglib.bundle.version>
<commons-beanutils.bundle.version>1.8.2_2</commons-beanutils.bundle.version>
<commons-codec.bundle.version>1.3_4</commons-codec.bundle.version>
<commons-collections.bundle.version>3.2.1_2</commons-collections.bundle.version>
<commons-configuration.bundle.version>1.4_3</commons-configuration.bundle.version>
<commons-digester.bundle.version>1.8_3</commons-digester.bundle.version>
<commons-io.bundle.version>1.4_2</commons-io.bundle.version>
<commons-jxpath.bundle.version>1.2_5</commons-jxpath.bundle.version>
<commons-lang.bundle.version>2.4_5</commons-lang.bundle.version>
<commons-validator.bundle.version>1.3.1_1-SNAPSHOT</commons-validator.bundle.version>
<dom4j.bundle.version>1.6.1_4</dom4j.bundle.version>
<ehcache.bundle.version>2.4.3_1</ehcache.bundle.version>
<javax-inject.bundle.version>1_1</javax-inject.bundle.version>
<jcharset.version>1.0</jcharset.version>
<jcip-annotations.bundle.version>1.0_1-SNAPSHOT</jcip-annotations.bundle.version>
<jdom.bundle.version>1.1_4</jdom.bundle.version>
<jsoup.bundle.version>1.5.2_1</jsoup.bundle.version>
<lucene.bundle.version>3.0.3_2</lucene.bundle.version>
<maven.archetype.version>2.1</maven.archetype.version>
<maven-model-v3.version>2.0</maven-model-v3.version>
<oro.bundle.version>2.0.8_5</oro.bundle.version>
<plexus-classworlds.version>2.4</plexus-classworlds.version>
<plexus-component-annotations.version>1.5.5</plexus-component-annotations.version>
<plexus-interpolation.version>1.14</plexus-interpolation.version>
<plexus-velocity.version>1.1.8</plexus-velocity.version>
<quartz.bundle.version>2.1.0_1-SNAPSHOT</quartz.bundle.version>
<servicemix.specs.version>1.9.0</servicemix.specs.version>
<sisu-inject-bean.version>2.3.0</sisu-inject-bean.version>
<sisu-guava.version>0.9.9</sisu-guava.version>
<stax-utils.bundle.version>20040917_2</stax-utils.bundle.version>
<velocity.bundle.version>1.7_3</velocity.bundle.version>
<xpp3.bundle.version>1.1.4c_5</xpp3.bundle.version>
<xstream.bundle.version>1.4_1</xstream.bundle.version>
</properties>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<useDefaultDelimiters>false</useDefaultDelimiters>
<delimiters>
<delimiter>${*}</delimiter>
</delimiters>
</configuration>
<executions>
<execution>
<id>filter</id>
<phase>generate-resources</phase>
<goals>
<goal>resources</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-artifact</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>target/classes/features.xml</file>
<type>xml</type>
<classifier>features</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -0,0 +1,313 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<features name="archiva-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">
<feature name="archiva-common" description="Archiva Common module" version="${project.version}" resolver="(obr)">
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-lang/${commons-lang.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/${javax-inject.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aopalliance/${aopalliance.bundle.version}</bundle>
<bundle>wrap:mvn:org.codehaus.plexus/plexus-classworlds/${plexus-classworlds.version}</bundle>
<bundle>wrap:mvn:org.codehaus.plexus/plexus-component-annotations/${plexus-component-annotations.version}</bundle>
<bundle>wrap:mvn:org.codehaus.plexus/plexus-utils/${plexus-utils.version}</bundle>
<bundle>mvn:org.sonatype.sisu/sisu-guava/${sisu-guava.version}</bundle>
<bundle>mvn:org.sonatype.sisu/sisu-guice/${sisu-guice.version}</bundle>
<bundle>mvn:org.sonatype.sisu/sisu-inject-bean/${sisu-inject-bean.version}</bundle>
<bundle>mvn:org.sonatype.sisu/sisu-inject-plexus/${sisu-inject-plexus.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-common/${project.version}</bundle>
</feature>
<feature name="archiva-checksum" description="Archiva Checksum module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-checksum/${project.version}</bundle>
</feature>
<feature name="archiva-policies" description="Archiva Policies module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<feature version="${project.version}">archiva-checksum</feature>
<feature version="[3,4)">spring</feature>
<bundle>wrap:mvn:org.codehaus.redback.components.cache/spring-cache-api/${redback.cache.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache/${ehcache.bundle.version}</bundle>
<bundle>wrap:mvn:org.codehaus.redback.components.cache/spring-cache-ehcache/${redback.cache.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-policies/${project.version}</bundle>
</feature>
<feature name="archiva-configuration" description="Archiva Configuration module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-policies</feature>
<feature>http</feature>
<feature version="[3,4)">spring-web</feature>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-collections/${commons-collections.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-beanutils/${commons-beanutils.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-codec/${commons-codec.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-digester/${commons-digester.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-jxpath/${commons-jxpath.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-configuration/${commons-configuration.bundle.version}</bundle>
<bundle>wrap:mvn:org.codehaus.plexus/plexus-expression-evaluator/${plexus-expression-evaluator.version}</bundle>
<bundle>wrap:mvn:org.codehaus.plexus/plexus-interpolation/${plexus-interpolation.version}</bundle>
<bundle>wrap:mvn:org.codehaus.redback.components.registry/spring-registry-api/${redback.registry.version}</bundle>
<bundle>wrap:mvn:org.codehaus.redback.components.registry/spring-registry-commons/${redback.registry.version}</bundle>
<bundle>wrap:mvn:org.codehaus.redback.components/spring-utils/${redback.spring-utils.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-configuration/${project.version}</bundle>
</feature>
<feature name="archiva-model" description="Archiva Model module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<bundle>mvn:org.apache.archiva/archiva-model/${project.version}</bundle>
</feature>
<feature name="archiva-plexus-bridge" description="Archive Plexus Bridge module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<bundle>wrap:mvn:org.codehaus.plexus/plexus-digest/${plexus-digest.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-plexus-bridge/${project.version}</bundle>
</feature>
<feature name="archiva-repository-admin-api" description="Archiva Repository Admin API module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<bundle>wrap:mvn:org.codehaus.redback/redback-users-api/${redback.version}</bundle>
<bundle>wrap:mvn:org.codehaus.redback/redback-configuration/${redback.version}</bundle>
<bundle>wrap:mvn:org.codehaus.redback/redback-policy/${redback.version}</bundle>
<bundle>wrap:mvn:org.codehaus.redback/redback-users-memory/${redback.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-repository-admin-api/${project.version}</bundle>
</feature>
<feature name="archiva-metadata" description="Archiva Metadata module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<feature version="[3,4)">spring</feature>
<bundle>mvn:org.apache.archiva/metadata-model/${project.version}</bundle>
<bundle>mvn:org.apache.archiva/metadata-repository-api/${project.version}</bundle>
</feature>
<feature name="archiva-audit" description="Archiva Audit module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-configuration</feature>
<feature version="${project.version}">archiva-metadata</feature>
<bundle>mvn:org.apache.archiva/audit/${project.version}</bundle>
</feature>
<feature name="archiva-xml-tools" description="Archiva XML Tools module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-collections/${commons-collections.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/${servicemix.specs.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j/${dom4j.bundle.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-xml-tools/${project.version}</bundle>
</feature>
<feature name="archiva-maven2-repository" description="Archiva Maven 2 Repository module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<feature version="${project.version}">archiva-metadata</feature>
<feature version="${project.version}">archiva-proxy-common</feature>
<feature version="${project.version}">archiva-reports</feature>
<feature version="${project.version}">archiva-xml-tools</feature>
<bundle>wrap:mvn:org.apache.maven/maven-artifact/${maven.version}</bundle>
<bundle>wrap:mvn:org.apache.maven/maven-model/${maven.version}</bundle>
<bundle>wrap:mvn:org.apache.maven/maven-project/${maven.version}</bundle>
<bundle>wrap:mvn:org.apache.maven/maven-settings/${maven.version}</bundle>
<bundle>wrap:mvn:org.apache.maven/maven-artifact-manager/${maven.version}</bundle>
<bundle>wrap:mvn:org.apache.maven.shared/maven-dependency-tree/${maven-dependency-tree.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jdom/${jdom.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene/${lucene.bundle.version}</bundle>
<bundle>wrap:mvn:org.apache.maven.archetype/archetype-catalog/${maven.archetype.version}</bundle>
<bundle>wrap:mvn:org.apache.maven.archetype/archetype-registry/${maven.archetype.version}</bundle>
<bundle>wrap:mvn:org.apache.maven.archetype/archetype-descriptor/${maven.archetype.version}</bundle>
<bundle>wrap:mvn:org.apache.maven.shared/maven-invoker/${maven.version}</bundle>
<bundle>wrap:mvn:org.apache.maven.indexer/indexer-core/${maven.indexer.version}</bundle>
<bundle>wrap:mvn:org.apache.maven.indexer/indexer-artifact/${maven.indexer.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.oro/${oro.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity/${velocity.bundle.version}</bundle>
<bundle>wrap:mvn:org.codehaus.plexus/plexus-velocity/${plexus-velocity.version}</bundle>
<bundle>wrap:mvn:net.sourceforge.jchardet/jchardet/${jcharset.version}</bundle>
<bundle>wrap:mvn:org.apache.maven.archetype/archetype-common/${maven.archetype.version}</bundle>
<bundle>wrap:mvn:org.apache.maven/maven-model-builder/${maven3x.version}</bundle>
<bundle>mvn:org.apache.archiva/maven2-repository/${project.version}</bundle>
</feature>
<feature name="archiva-consumers-api" description="Archiva Consumers API module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<feature version="${project.version}">archiva-repository-admin-api</feature>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-collections/${commons-collections.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-consumer-api/${project.version}</bundle>
</feature>
<feature name="archiva-consumers" description="Archiva Consumers module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-consumers-api</feature>
<feature version="${project.version}">archiva-checksum</feature>
<feature version="${project.version}">archiva-plexus-bridge</feature>
<feature version="${project.version}">archiva-configuration</feature>
<feature version="${project.version}">archiva-metadata</feature>
<feature version="${project.version}">archiva-model</feature>
<feature version="${project.version}">archiva-scheduler-api</feature>
<bundle>mvn:org.apache.archiva/archiva-core-consumers/${project.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-lucene-consumers/${project.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-metadata-consumer/${project.version}</bundle>
</feature>
<feature name="archiva-reports" description="Archiva Problem Reports module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<feature version="${project.version}">archiva-checksum</feature>
<feature version="${project.version}">archiva-configuration</feature>
<feature version="${project.version}">archiva-repository-admin-api</feature>
<feature version="${project.version}">archiva-metadata</feature>
<feature version="${project.version}">archiva-consumers-api</feature>
<bundle>mvn:org.apache.archiva/problem-reports/${project.version}</bundle>
</feature>
<feature name="archiva-repository-layer" description="Archiva Repository Layer module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<feature version="${project.version}">archiva-checksum</feature>
<feature version="${project.version}">archiva-configuration</feature>
<feature version="${project.version}">archiva-metadata</feature>
<feature version="${project.version}">archiva-model</feature>
<feature version="${project.version}">archiva-repository-admin-api</feature>
<feature version="${project.version}">archiva-xml-tools</feature>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-collections/${commons-collections.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/${servicemix.specs.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j/${dom4j.bundle.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-repository-layer/${project.version}</bundle>
</feature>
<feature name="archiva-proxy-common" description="Archiva Proxy Common module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<feature version="${project.version}">archiva-repository-admin-api</feature>
<feature version="${project.version}">archiva-configuration</feature>
<feature version="${project.version}">archiva-model</feature>
<feature version="${project.version}">archiva-policies</feature>
<feature version="${project.version}">archiva-metadata</feature>
<feature version="${project.version}">archiva-scheduler-api</feature>
<feature version="${project.version}">archiva-repository-layer</feature>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-collections/${commons-collections.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version}</bundle>
<bundle>wrap:mvn:org.apache.maven.wagon/wagon-provider-api/${wagon.version}</bundle>
<bundle>wrap:mvn:org.apache.maven.wagon/wagon-file/${wagon.version}</bundle>
<bundle dependency="true">mvn:org.apache.httpcomponents/httpcore-osgi/${httpclient.version}</bundle>
<bundle dependency="true">mvn:org.apache.httpcomponents/httpclient-osgi/${httpclient.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jsoup/${jsoup.bundle.version}</bundle>
<bundle>wrap:mvn:org.apache.maven.wagon/wagon-http-shared4/${wagon.version}</bundle>
<bundle>wrap:mvn:org.apache.maven.wagon/wagon-http/${wagon.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-proxy-common/${project.version}</bundle>
</feature>
<feature name="archiva-proxy" description="Archiva Proxy module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-proxy-common</feature>
<bundle>mvn:org.apache.archiva/archiva-proxy/${project.version}</bundle>
</feature>
<feature name="archiva-scheduler-api" description="Archiva Scheduler API module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<feature version="${project.version}">archiva-plexus-bridge</feature>
<feature version="${project.version}">archiva-repository-admin-api</feature>
<feature version="${project.version}">archiva-configuration</feature>
<feature version="${project.version}">archiva-proxy</feature>
<bundle>wrap:mvn:org.codehaus.redback.components/spring-taskqueue/${redback.taskqueue.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-scheduler-api/${project.version}</bundle>
</feature>
<feature name="archiva-repository-statistics" description="Archiva Repository Statistics module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<feature version="${project.version}">archiva-maven2-repository</feature>
<bundle dependency="true">mvn:javax.jcr/jcr/${javax.jcr.version}</bundle>
<bundle dependency="true">mvn:org.apache.jackrabbit/jackrabbit-jcr-commons/${jackrabbit.version}</bundle>
<bundle>mvn:org.apache.archiva/repository-statistics/${project.version}</bundle>
</feature>
<feature name="archiva-repository-scanner" description="Archiva Repository Scanner module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<feature version="${project.version}">archiva-configuration</feature>
<feature version="${project.version}">archive-repository-layer</feature>
<feature version="${project.version}">archiva-repository-admin-api</feature>
<feature version="${project.version}">archiva-consumers-api</feature>
<bundle>mvn:org.apache.archiva/archiva-repository-scanner/${project.version}</bundle>
</feature>
<feature name="archiva-scheduler" description="Archiva Scheduler module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-scheduler-api</feature>
<feature version="${project.version}">archiva-metadata</feature>
<feature version="${project.version}">archiva-repository-statistics</feature>
<feature version="${project.version}">archiva-proxy</feature>
<bundle>wrap:mvn:org.codehaus.redback.components/spring-quartz/${redback.quartz.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.quartz/${quartz.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene/${lucene.bundle.version}</bundle>
<bundle>wrap:mvn:org.apache.maven.indexer/indexer-artifact/${maven.indexer.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-scheduler-indexing/${project.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-scheduler-repository/${project.version}</bundle>
</feature>
<feature name="archiva-repository-admin-default" description="Archiva Repository Admin Default module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-repository-admin-api</feature>
<feature version="${project.version}">archiva-audit</feature>
<feature version="${project.version}">archiva-plexus-bridge</feature>
<feature version="${project.version}">archiva-scheduler</feature>
<feature version="${project.version}">archiva-metadata</feature>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-validator/${commons-validator.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.cglib/${cglib.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xpp3/${xpp3.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream/${xstream.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jcip-annotations/${jcip-annotations.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.beanlib/${beanlib.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.stax-utils/${stax-utils.bundle.version}</bundle>
<bundle>wrap:mvn:org.codehaus.redback/redback-rbac/${redback.version}</bundle>
<bundle>wrap:mvn:org.codehaus.redback/redback-rbac-role-manager/${redback.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-repository-admin-default/${project.version}</bundle>
</feature>
<feature name="archiva-transaction" description="Archiva Transaction module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-transaction/${project.version}</bundle>
</feature>
<feature name="archiva-artifact-converter" description="Archiva Artifact Converter module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<feature version="${project.version}">archiva-plexus-bridge</feature>
<feature version="${project.version}">archiva-transaction</feature>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version}</bundle>
<bundle>wrap:mvn:org.apache.maven/maven-model-v3/${maven-model-v3.version}</bundle>
<bundle>wrap:mvn:org.apache.maven/maven-model/${maven3x.version}</bundle>
<bundle>wrap:mvn:org.apache.maven.shared/maven-model-converter/${maven-model-converter.version}</bundle>
<bundle>wrap:mvn:org.apache.maven/maven-repository-metadata/${maven.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-artifact-converter/${project.version}</bundle>
</feature>
<feature name="archiva-converter" description="Archiva Converter module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<feature version="${project.version}">archiva-repository-admin-api</feature>
<feature version="${project.version}">archiva-plexus-bridge</feature>
<feature version="${project.version}">archiva-model</feature>
<feature version="${project.version}">archiva-consumers-api</feature>
<feature version="${project.version}">archiva-repository-layer</feature>
<feature version="${project.version}">archiva-repository-scanner</feature>
<feature version="${project.version}">archiva-transaction</feature>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-converter/${project.version}</bundle>
</feature>
<feature name="archiva-indexer" description="Archiva Indexer module" version="${project.version}" resolver="(obr)">
<feature version="${project.version}">archiva-common</feature>
<feature version="${project.version}">archiva-plexus-bridge</feature>
<feature version="${project.version}">archiva-repository-admin-api</feature>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version}</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene/${lucene.bundle.version}</bundle>
<bundle>mvn:org.apache.archiva/archiva-indexer/${project.version}</bundle>
</feature>
<feature name="archiva-security-common" description="Archiva Security Common module" version="${project.version}" resolver="(obr)">
<bundle>mvn:org.apache.archiva/archiva-security-common/${project.version}</bundle>
</feature>
</features>

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.archiva</groupId>
<artifactId>archiva-modules</artifactId>
<version>1.4-M2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archiva-karaf</artifactId>
<packaging>pom</packaging>
<name>Archiva :: Karaf</name>
<modules>
<module>archiva-features</module>
<!-- <module>archiva-commands</module> -->
</modules>
</project>

View File

@ -25,6 +25,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>archiva-scheduler-api</artifactId>
<packaging>bundle</packaging>
<name>Archiva Scheduler :: API</name>
<dependencies>
<dependency>
@ -36,4 +37,24 @@
<artifactId>spring-taskqueue</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.scheduler.api</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.scheduler;version=${project.version}
</Export-Package>
<Import-Package>
org.codehaus.plexus.taskqueue
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -25,6 +25,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>archiva-scheduler-indexing</artifactId>
<packaging>bundle</packaging>
<name>Archiva Scheduler :: Indexing</name>
<dependencies>
@ -139,6 +140,36 @@
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.scheduler.indexing</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.scheduler.indexing;version=${project.version}
</Export-Package>
<Import-Package>
javax.annotation,
javax.inject,
org.apache.archiva.admin.model*;version=${project.version},
org.apache.archiva.common*;version=${project.version},
org.apache.archiva.configuration;version=${project.version},
org.apache.archiva.proxy.common;version=${project.version},
org.apache.archiva.scheduler;version=${project.version},
org.apache.commons.io;version="[1.4,2)",
org.apache.commons.lang*;version="[2.4,3)",
org.apache.lucene*;version="[3,4)",
org.springframework*;version="[3,4)",
org.codehaus.plexus.taskqueue*,
org.apache.maven.index*,
org.apache.maven.wagon*,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>

View File

@ -25,6 +25,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>archiva-scheduler-repository</artifactId>
<packaging>bundle</packaging>
<name>Archiva Scheduler :: Repository Scanning</name>
<dependencies>
<dependency>
@ -82,6 +83,40 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.scheduler.repository</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.scheduler.repository;version=${project.version}
</Export-Package>
<Import-Package>
javax.annotation,
javax.inject,
org.apache.archiva.admin.model;version=${project.version},
org.apache.archiva.admin.model.beans;version=${project.version},
org.apache.archiva.admin.model.managed;version=${project.version},
org.apache.archiva.common;version=${project.version},
org.apache.archiva.configuration;version=${project.version},
org.apache.archiva.metadata.repository*;version=${project.version},
org.apache.archiva.repository.scanner;version=${project.version},
org.apache.archiva.scheduler;version=${project.version},
org.apache.commons.lang;version="[2.4,3)",
org.codehaus.plexus.personality.plexus.lifecycle.phase,
org.codehaus.plexus.taskqueue*,
org.codehaus.redback.components.scheduler,
org.quartz*;version="[2,3)",
org.springframework*;version="[3,4)",
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>

View File

@ -24,5 +24,26 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>metadata-model</artifactId>
<packaging>bundle</packaging>
<name>Archiva Metadata :: Model</name>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.metadata.model</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.metadata.model;version=${project.version};-split-package:=merge-first
</Export-Package>
<Import-Package>
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -25,6 +25,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>metadata-repository-api</artifactId>
<packaging>bundle</packaging>
<name>Archiva Metadata :: Repository API</name>
<dependencies>
<dependency>
@ -55,6 +56,28 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.metadata.repository.api</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.metadata.repository;version=${project.version};-split-package:=merge-first,
org.apache.archiva.metadata.repository.filter;version=${project.version};-split-package:=merge-first,
org.apache.archiva.metadata.repository.storage;version=${project.version};-split-package:=merge-first,
org.apache.archiva.repository.events;version=${project.version};-split-package:=merge-first
</Export-Package>
<Import-Package>
javax.inject,
org.apache.archiva.metadata.model;version=${project.version},
org.springframework.stereotype;version="[3,4)",
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>

View File

@ -25,6 +25,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>audit</artifactId>
<packaging>bundle</packaging>
<name>Archiva Core Plugins :: Audit Logging</name>
<dependencies>
<dependency>
@ -41,4 +42,30 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.audit</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.audit;version=${project.version}
</Export-Package>
<Import-Package>
javax.inject,
org.apache.archiva.metadata.model;version=${project.version},
org.apache.archiva.metadata.repository;version=${project.version},
org.springframework.stereotype;version="[3,4)",
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -25,6 +25,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>maven2-repository</artifactId>
<packaging>bundle</packaging>
<name>Archiva Core Plugins :: Maven 2.x Repository Support</name>
<dependencies>
<dependency>
@ -126,6 +127,50 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.maven2</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.dependency.tree.maven2;version=${project.version};-split-package:=merge-first,
org.apache.archiva.metadata.repository.storage.maven2;version=${project.version};-split-package:=merge-first,
</Export-Package>
<Import-Package>
!org.apache.archiva.metadata.repository.filter,
javax.annotation,
javax.xml.bind.annotation,
javax.inject,
org.apache.archiva.common*;version=${project.version},
org.apache.archiva.checksum;version=${project.version},
org.apache.archiva.configuration;version=${project.version},
org.apache.archiva.metadata.model;version=${project.version},
org.apache.archiva.metadata.repository;version=${project.version},
org.apache.archiva.metadata.repository.filter;version=${project.version},
org.apache.archiva.metadata.repository.storage;version=${project.version},
org.apache.archiva.proxy.common;version=${project.version},
org.apache.archiva.reports;version=${project.version},
org.apache.archiva.xml;version=${project.version},
org.apache.commons.collections;version="[3.2,4)",
org.apache.commons.io*;version="[1.4,2)",
org.apache.commons.configuration;version="[1.4,2)",
org.apache.commons.lang*;version="[2.4,3)",
org.apache.maven.artifact*,
org.apache.maven.model*,
org.apache.maven.shared.dependency.tree*,
org.apache.maven.index*,
org.apache.maven.wagon*,
org.codehaus.plexus*,
org.codehaus.redback.components*,
org.dom4j*;version="[1.6,2)",
org.springframework*;version="[3,4)",
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>

View File

@ -25,6 +25,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>problem-reports</artifactId>
<packaging>bundle</packaging>
<name>Archiva Core Plugins :: Problem Reporting Plugin</name>
<dependencies>
<dependency>
@ -70,6 +71,35 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.reports</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.reports*;version=${project.version}
</Export-Package>
<Import-Package>
javax.annotation,
javax.inject,
org.apache.archiva.admin.model.beans;version=${project.version},
org.apache.archiva.checksum;version=${project.version},
org.apache.archiva.configuration;version=${project.version},
org.apache.archiva.metadata.model;version=${project.version},
org.apache.archiva.metadata.repository;version=${project.version},
org.apache.archiva.metadata.repository.storage;version=${project.version},
org.apache.archiva.repository.events;version=${project.version},
org.apache.archiva.consumers;version=${project.version},
org.apache.commons.collections;version="[3.2,4)",
org.springframework.*;version="[3,4)",
org.codehaus.plexus.registry,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>

View File

@ -25,6 +25,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>repository-statistics</artifactId>
<packaging>bundle</packaging>
<name>Archiva Core Plugins :: Repository Statistics</name>
<dependencies>
<dependency>
@ -69,4 +70,31 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.archiva.repository.statistics</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.archiva.metadata.repository.stats;version=${project.version}
</Export-Package>
<Import-Package>
javax.jcr,
javax.jcr.query,
org.apache.jackrabbit.commons;version="[2.3,3)",
org.apache.archiva.metadata.model;version=${project.version},
org.apache.archiva.metadata.repository;version=${project.version},
org.apache.archiva.metadata.repository.storage.maven2;version=${project.version},
org.springframework*;version="[3,4)",
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -32,6 +32,7 @@
<module>archiva-base</module>
<module>archiva-scheduler</module>
<module>archiva-web</module>
<module>archiva-karaf</module>
<module>metadata</module>
<module>plugins</module>
</modules>

51
pom.xml
View File

@ -26,7 +26,7 @@
<parent>
<groupId>org.apache.archiva</groupId>
<artifactId>archiva-parent</artifactId>
<version>7</version>
<version>8-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
@ -65,22 +65,37 @@
<struts.version>2.2.3.1</struts.version>
<maven3x.version>3.0.3</maven3x.version>
<maven.version>2.0.8</maven.version>
<maven-dependency-tree.version>1.2</maven-dependency-tree.version>
<maven-model-converter.version>2.1</maven-model-converter.version>
<maven.indexer.version>4.1.2</maven.indexer.version>
<wagon.version>2.0</wagon.version>
<redback.version>1.4-SNAPSHOT</redback.version>
<redback.cache.version>1.0</redback.cache.version>
<redback.quartz.version>1.0</redback.quartz.version>
<redback.registry.version>1.0</redback.registry.version>
<redback.spring-utils.version>1.0</redback.spring-utils.version>
<redback.taskqueue.version>1.0</redback.taskqueue.version>
<slf4j.version>1.6.4</slf4j.version>
<binder.version>0.11</binder.version>
<spring.version>3.0.5.RELEASE</spring.version>
<jackrabbit.version>2.3.3</jackrabbit.version>
<javax.jcr.version>2.0</javax.jcr.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
<lucene.version>3.0.3</lucene.version>
<cxfVersion>2.4.4</cxfVersion>
<derbyVersion>10.8.2.2</derbyVersion>
<httpclient.version>4.1.2</httpclient.version>
<javaxMailVersion>1.4</javaxMailVersion>
<jettyVersion>7.4.5.v20110725</jettyVersion>
<!-- restore when we will be able to use a derby in memory database -->
<redbackTestJdbcUrl>jdbc:derby:memory:users-test;create=true</redbackTestJdbcUrl>
<redbackTestJdbcDriver>org.apache.derby.jdbc.EmbeddedDriver</redbackTestJdbcDriver>
<sisu-inject-plexus.version>2.2.2</sisu-inject-plexus.version>
<sisu-guice.version>3.0.1</sisu-guice.version>
<plexus-digest.version>1.1</plexus-digest.version>
<plexus-expression-evaluator.version>1.0-rc1</plexus-expression-evaluator.version>
<plexus-utils.version>1.5.5</plexus-utils.version>
</properties>
<dependencyManagement>
@ -263,7 +278,7 @@
<dependency>
<groupId>org.apache.maven.indexer</groupId>
<artifactId>indexer-core</artifactId>
<version>4.1.2</version>
<version>${maven.indexer.version}</version>
<exclusions>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
@ -417,7 +432,7 @@
<dependency>
<groupId>org.codehaus.redback.components</groupId>
<artifactId>spring-utils</artifactId>
<version>1.0</version>
<version>${redback.spring-utils.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.redback.components</groupId>
@ -433,12 +448,12 @@
<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-inject-plexus</artifactId>
<version>2.2.2</version>
<version>${sisu-inject-plexus.version}</version>
</dependency>
<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-guice</artifactId>
<version>3.0.1</version>
<version>${sisu-guice.version}</version>
</dependency>
<dependency>
@ -696,12 +711,12 @@
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-digest</artifactId>
<version>1.1</version>
<version>${plexus-digest.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-expression-evaluator</artifactId>
<version>1.0-rc1</version>
<version>${plexus-expression-evaluator.version}</version>
<exclusions>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
@ -738,12 +753,12 @@
<dependency>
<groupId>org.codehaus.redback.components</groupId>
<artifactId>spring-taskqueue</artifactId>
<version>1.0</version>
<version>${redback.taskqueue.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.redback.components</groupId>
<artifactId>spring-quartz</artifactId>
<version>1.0</version>
<version>${redback.quartz.version}</version>
</dependency>
<dependency>
<groupId>org.quartz-scheduler</groupId>
@ -763,17 +778,17 @@
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>1.5.5</version>
<version>${plexus-utils.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.redback.components.cache</groupId>
<artifactId>spring-cache-api</artifactId>
<version>1.0</version>
<version>${redback.cache.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.redback.components.cache</groupId>
<artifactId>spring-cache-ehcache</artifactId>
<version>1.0</version>
<version>${redback.cache.version}</version>
</dependency>
<!-- redback -->
@ -991,12 +1006,12 @@
<dependency>
<groupId>org.codehaus.redback.components.registry</groupId>
<artifactId>spring-registry-api</artifactId>
<version>1.0</version>
<version>${redback.registry.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.redback.components.registry</groupId>
<artifactId>spring-registry-commons</artifactId>
<version>1.0</version>
<version>${redback.registry.version}</version>
<exclusions>
<exclusion>
<groupId>ant</groupId>
@ -1084,7 +1099,7 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.1.2</version>
<version>${httpclient.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
@ -1200,7 +1215,7 @@
<dependency>
<groupId>javax.jcr</groupId>
<artifactId>jcr</artifactId>
<version>2.0</version>
<version>${javax.jcr.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
@ -1299,7 +1314,7 @@
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-model-converter</artifactId>
<version>2.1</version>
<version>${maven-model-converter.version}</version>
<exclusions>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
@ -1310,7 +1325,7 @@
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-dependency-tree</artifactId>
<version>1.2</version>
<version>${maven-dependency-tree.version}</version>
<exclusions>
<exclusion>
<groupId>org.codehaus.plexus</groupId>