From 9d3a7193810cef52b0edc71cd2dd8f247bce5c96 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 22 Nov 2011 14:17:04 +0000 Subject: [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 --- .../archiva-artifact-converter/pom.xml | 26 ++ .../archiva-base/archiva-checksum/pom.xml | 21 ++ .../archiva-base/archiva-common/pom.xml | 21 ++ .../archiva-base/archiva-configuration/pom.xml | 31 ++ .../archiva-consumers/archiva-consumer-api/pom.xml | 27 +- .../archiva-consumer-archetype/pom.xml | 2 - .../archiva-core-consumers/pom.xml | 38 ++- .../archiva-lucene-consumers/pom.xml | 32 ++- .../archiva-metadata-consumer/pom.xml | 32 +++ .../archiva-base/archiva-converter/pom.xml | 37 +++ .../archiva-base/archiva-indexer/pom.xml | 27 ++ archiva-modules/archiva-base/archiva-model/pom.xml | 18 ++ .../archiva-base/archiva-plexus-bridge/pom.xml | 31 ++ .../archiva-base/archiva-policies/pom.xml | 23 ++ .../archiva-base/archiva-proxy-common/pom.xml | 26 ++ archiva-modules/archiva-base/archiva-proxy/pom.xml | 38 +++ .../archiva-repository-admin-api/pom.xml | 21 ++ .../archiva-repository-admin-default/pom.xml | 39 +++ .../archiva-base/archiva-repository-layer/pom.xml | 36 +++ .../archiva-repository-scanner/pom.xml | 28 ++ .../archiva-base/archiva-security-common/pom.xml | 21 ++ .../archiva-base/archiva-transaction/pom.xml | 22 ++ .../archiva-base/archiva-xml-tools/pom.xml | 23 ++ .../archiva-karaf/archiva-features/pom.xml | 124 ++++++++ .../src/main/resources/features.xml | 313 +++++++++++++++++++++ archiva-modules/archiva-karaf/pom.xml | 36 +++ .../archiva-scheduler-api/pom.xml | 21 ++ .../archiva-scheduler-indexing/pom.xml | 31 ++ .../archiva-scheduler-repository/pom.xml | 35 +++ archiva-modules/metadata/metadata-model/pom.xml | 21 ++ .../metadata/metadata-repository-api/pom.xml | 23 ++ archiva-modules/plugins/audit/pom.xml | 27 ++ archiva-modules/plugins/maven2-repository/pom.xml | 45 +++ archiva-modules/plugins/problem-reports/pom.xml | 30 ++ .../plugins/repository-statistics/pom.xml | 28 ++ archiva-modules/pom.xml | 1 + 36 files changed, 1347 insertions(+), 8 deletions(-) create mode 100644 archiva-modules/archiva-karaf/archiva-features/pom.xml create mode 100644 archiva-modules/archiva-karaf/archiva-features/src/main/resources/features.xml create mode 100644 archiva-modules/archiva-karaf/pom.xml (limited to 'archiva-modules') diff --git a/archiva-modules/archiva-base/archiva-artifact-converter/pom.xml b/archiva-modules/archiva-base/archiva-artifact-converter/pom.xml index 345cc7832..5eff81f01 100644 --- a/archiva-modules/archiva-base/archiva-artifact-converter/pom.xml +++ b/archiva-modules/archiva-base/archiva-artifact-converter/pom.xml @@ -26,6 +26,7 @@ 1.4-M2-SNAPSHOT archiva-artifact-converter + bundle Archiva Artifact Converter Converts between Legacy and Modern Layout Artifacts. @@ -82,6 +83,31 @@ + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.artifact.converter + ${project.version} + + org.apache.archiva.converter.artifact*;version=${project.version};-split-package:=merge-first + + + 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* + + + + org.apache.maven.plugins maven-surefire-plugin diff --git a/archiva-modules/archiva-base/archiva-checksum/pom.xml b/archiva-modules/archiva-base/archiva-checksum/pom.xml index 8e5f94d18..f06b385e8 100644 --- a/archiva-modules/archiva-base/archiva-checksum/pom.xml +++ b/archiva-modules/archiva-base/archiva-checksum/pom.xml @@ -25,6 +25,7 @@ 1.4-M2-SNAPSHOT archiva-checksum + bundle Archiva Base :: Checksum @@ -52,6 +53,26 @@ + + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.checksum + ${project.version} + + org.apache.archiva.checksum;version=${project.version} + + + org.apache.commons.io*;version="[1.4,2)", + org.apache.commons.lang;version="[2.4,3)", + org.slf4j;resolution:=optional + + + + + diff --git a/archiva-modules/archiva-base/archiva-common/pom.xml b/archiva-modules/archiva-base/archiva-common/pom.xml index 545662491..97bd943cc 100644 --- a/archiva-modules/archiva-base/archiva-common/pom.xml +++ b/archiva-modules/archiva-base/archiva-common/pom.xml @@ -26,6 +26,7 @@ 4.0.0 archiva-common + bundle Archiva Base :: Common @@ -138,6 +137,41 @@ + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.consumers.core + ${project.version} + + org.apache.archiva.consumers.core*;version=${project.version} + + + 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 + + + + org.apache.maven.plugins maven-jar-plugin diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/pom.xml index 2146f3a26..f1dce8b69 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/pom.xml @@ -25,10 +25,9 @@ archiva-consumers 1.4-M2-SNAPSHOT - archiva-lucene-consumers + bundle Archiva Base :: Consumers :: Lucene - org.apache.archiva @@ -102,6 +101,35 @@ + + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.consumers.lucene + ${project.version} + + org.apache.archiva.consumers.lucene;version=${project.version} + + + 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 + + + + + diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/pom.xml index 3157a0e89..97c8101b9 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/pom.xml @@ -26,6 +26,7 @@ 1.4-M2-SNAPSHOT archiva-metadata-consumer + bundle Archiva Base :: Consumers :: Metadata @@ -57,4 +58,35 @@ spring-registry-api + + + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.consumers.metadata + ${project.version} + + org.apache.archiva.consumers.metadata;version=${project.version} + + + 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 + + + + + + diff --git a/archiva-modules/archiva-base/archiva-converter/pom.xml b/archiva-modules/archiva-base/archiva-converter/pom.xml index 433167e0e..be5162abe 100644 --- a/archiva-modules/archiva-base/archiva-converter/pom.xml +++ b/archiva-modules/archiva-base/archiva-converter/pom.xml @@ -26,6 +26,7 @@ 4.0.0 archiva-converter + bundle Archiva Base :: Repository Converter @@ -63,6 +64,42 @@ + + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.converter + ${project.version} + + org.apache.archiva.converter*;version=${project.version};-split-package:=merge-first + + + 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 + + + + + diff --git a/archiva-modules/archiva-base/archiva-indexer/pom.xml b/archiva-modules/archiva-base/archiva-indexer/pom.xml index 426f6d34e..c589f4e8d 100644 --- a/archiva-modules/archiva-base/archiva-indexer/pom.xml +++ b/archiva-modules/archiva-base/archiva-indexer/pom.xml @@ -26,6 +26,7 @@ 4.0.0 archiva-indexer + bundle Archiva Base :: Indexer @@ -162,6 +163,32 @@ + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.indexer + ${project.version} + + org.apache.archiva.indexer.*;version=${project.version};-split-package:=merge-first + + + 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 + + + + org.apache.maven.plugins maven-surefire-plugin diff --git a/archiva-modules/archiva-base/archiva-model/pom.xml b/archiva-modules/archiva-base/archiva-model/pom.xml index eeb02c513..ad2ba2df1 100755 --- a/archiva-modules/archiva-base/archiva-model/pom.xml +++ b/archiva-modules/archiva-base/archiva-model/pom.xml @@ -26,6 +26,7 @@ 4.0.0 archiva-model + bundle Archiva Base :: Model @@ -85,6 +86,23 @@ + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.model + ${project.version} + + org.apache.archiva.model;version=${project.version} + + + org.apache.archiva.common.utils;version=${project.version}, + org.apache.commons.lang;version="[2.4,3)" + + + + diff --git a/archiva-modules/archiva-base/archiva-plexus-bridge/pom.xml b/archiva-modules/archiva-base/archiva-plexus-bridge/pom.xml index 0a20fcd39..78d1b10f2 100644 --- a/archiva-modules/archiva-base/archiva-plexus-bridge/pom.xml +++ b/archiva-modules/archiva-base/archiva-plexus-bridge/pom.xml @@ -26,6 +26,7 @@ 4.0.0 archiva-plexus-bridge + bundle Archiva Base :: Plexus Bridge @@ -64,4 +65,34 @@ + + + + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.common.plexusbridge + ${project.version} + + org.apache.archiva.common.plexusbridge;version=${project.version} + + + 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 + + + + + + + diff --git a/archiva-modules/archiva-base/archiva-policies/pom.xml b/archiva-modules/archiva-base/archiva-policies/pom.xml index e8600a0e4..fc6efe90e 100644 --- a/archiva-modules/archiva-base/archiva-policies/pom.xml +++ b/archiva-modules/archiva-base/archiva-policies/pom.xml @@ -26,6 +26,7 @@ 4.0.0 archiva-policies + bundle Archiva Base :: Policies @@ -107,6 +108,28 @@ + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.policies + ${project.version} + + org.apache.archiva.policies*;version=${project.version} + + + 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 + + + + diff --git a/archiva-modules/archiva-base/archiva-proxy-common/pom.xml b/archiva-modules/archiva-base/archiva-proxy-common/pom.xml index f84335d7d..7101710b5 100644 --- a/archiva-modules/archiva-base/archiva-proxy-common/pom.xml +++ b/archiva-modules/archiva-base/archiva-proxy-common/pom.xml @@ -25,6 +25,7 @@ 1.4-M2-SNAPSHOT archiva-proxy-common + bundle Archiva Base :: Proxy Common @@ -61,4 +62,29 @@ test + + + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.proxy.common + ${project.version} + + org.apache.archiva.proxy.common;version=${project.version} + + + 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 + + + + + + diff --git a/archiva-modules/archiva-base/archiva-proxy/pom.xml b/archiva-modules/archiva-base/archiva-proxy/pom.xml index 62e485ed2..942da4a43 100644 --- a/archiva-modules/archiva-base/archiva-proxy/pom.xml +++ b/archiva-modules/archiva-base/archiva-proxy/pom.xml @@ -26,6 +26,7 @@ 4.0.0 archiva-proxy + bundle Archiva Base :: Proxy @@ -151,6 +152,43 @@ + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.proxy + ${project.version} + + org.apache.archiva.proxy;version=${project.version} + + + 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 + + + + org.apache.maven.plugins maven-surefire-plugin diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/pom.xml b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/pom.xml index f27fc91d1..77a776831 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/pom.xml @@ -26,6 +26,7 @@ 1.4-M2-SNAPSHOT archiva-repository-admin-api + bundle Archiva Base :: Repository Admin Api @@ -82,6 +83,26 @@ + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.repository.admin.api + ${project.version} + + org.apache.archiva.admin.model*;version=${project.version} + + + 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 + + + + org.apache.maven.plugins maven-source-plugin diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml index 4e4524e2d..1d0f5020c 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml @@ -26,6 +26,7 @@ 1.4-M2-SNAPSHOT archiva-repository-admin-default + bundle Archiva Base :: Repository Admin Default @@ -204,6 +205,44 @@ + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.repository.admin.default + ${project.version} + + org.apache.archiva.admin.repository*;version=${project.version} + + + 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 + + + + org.apache.maven.plugins maven-surefire-plugin diff --git a/archiva-modules/archiva-base/archiva-repository-layer/pom.xml b/archiva-modules/archiva-base/archiva-repository-layer/pom.xml index 5256cfbe2..e1289172b 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-layer/pom.xml @@ -26,6 +26,7 @@ 4.0.0 archiva-repository-layer + bundle Archiva Base :: Repository Interface Layer @@ -77,6 +78,41 @@ + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.repository.layer + ${project.version} + + 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 + + + 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 + + + + org.apache.maven.plugins maven-surefire-plugin diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml b/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml index 330e95b9e..a6f4621d4 100644 --- a/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml @@ -26,6 +26,7 @@ 1.4-M2-SNAPSHOT archiva-repository-scanner + bundle Archiva Base :: Repository Scanner @@ -59,6 +60,33 @@ + + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.repository.scanner + ${project.version} + + org.apache.archiva.repository.scanner*;version=${project.version} + + + 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 + + + + + diff --git a/archiva-modules/archiva-base/archiva-security-common/pom.xml b/archiva-modules/archiva-base/archiva-security-common/pom.xml index ef3241db8..bbfd3e2ab 100644 --- a/archiva-modules/archiva-base/archiva-security-common/pom.xml +++ b/archiva-modules/archiva-base/archiva-security-common/pom.xml @@ -26,5 +26,26 @@ org.apache.archiva archiva-security-common + bundle Archiva Base :: Security Common + + + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.security.common + ${project.version} + + org.apache.archiva.security.common;version=${project.version};-split-package:=merge-first + + + + + + + + + diff --git a/archiva-modules/archiva-base/archiva-transaction/pom.xml b/archiva-modules/archiva-base/archiva-transaction/pom.xml index a6465856b..d685983c3 100644 --- a/archiva-modules/archiva-base/archiva-transaction/pom.xml +++ b/archiva-modules/archiva-base/archiva-transaction/pom.xml @@ -25,6 +25,7 @@ 1.4-M2-SNAPSHOT archiva-transaction + bundle Archiva Base :: Transactions API for managing transaction. @@ -61,4 +62,25 @@ runtime + + + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.transaction + ${project.version} + + org.apache.archiva.transaction;version=${project.version};-split-package:=merge-first + + + org.apache.commons.io;version="[1.4,2)", + org.codehaus.plexus.digest + + + + + + diff --git a/archiva-modules/archiva-base/archiva-xml-tools/pom.xml b/archiva-modules/archiva-base/archiva-xml-tools/pom.xml index fa54cdc1e..71d29cfe6 100644 --- a/archiva-modules/archiva-base/archiva-xml-tools/pom.xml +++ b/archiva-modules/archiva-base/archiva-xml-tools/pom.xml @@ -26,6 +26,7 @@ 4.0.0 archiva-xml-tools + bundle Archiva Base :: XML Tools @@ -54,6 +55,28 @@ + + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.xml.tools + ${project.version} + + org.apache.archiva.xml;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.apache.commons.lang;version="[2.4,3)", + org.dom4j*;version="[1.6,2)" + + + + + diff --git a/archiva-modules/archiva-karaf/archiva-features/pom.xml b/archiva-modules/archiva-karaf/archiva-features/pom.xml new file mode 100644 index 000000000..42804b796 --- /dev/null +++ b/archiva-modules/archiva-karaf/archiva-features/pom.xml @@ -0,0 +1,124 @@ + + + + + org.apache.archiva + archiva-karaf + 1.4-M2-SNAPSHOT + + 4.0.0 + org.apache.archiva.karaf + apache-archiva + pom + Archiva :: Karaf Features + + + 1.0_5 + 5.0.2beta_1-SNAPSHOT + 2.2_2 + 1.8.2_2 + 1.3_4 + 3.2.1_2 + 1.4_3 + 1.8_3 + 1.4_2 + 1.2_5 + 2.4_5 + 1.3.1_1-SNAPSHOT + 1.6.1_4 + 2.4.3_1 + 1_1 + 1.0 + 1.0_1-SNAPSHOT + 1.1_4 + 1.5.2_1 + 3.0.3_2 + 2.1 + 2.0 + 2.0.8_5 + 2.4 + 1.5.5 + 1.14 + 1.1.8 + 2.1.0_1-SNAPSHOT + 1.9.0 + 2.3.0 + 0.9.9 + 20040917_2 + 1.7_3 + 1.1.4c_5 + 1.4_1 + + + + + + src/main/resources + true + + **/* + + + + + + org.apache.maven.plugins + maven-resources-plugin + + false + + ${*} + + + + + filter + generate-resources + + resources + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + attach-artifact + package + + attach-artifact + + + + + target/classes/features.xml + xml + features + + + + + + + + + \ No newline at end of file diff --git a/archiva-modules/archiva-karaf/archiva-features/src/main/resources/features.xml b/archiva-modules/archiva-karaf/archiva-features/src/main/resources/features.xml new file mode 100644 index 000000000..8f8b8447e --- /dev/null +++ b/archiva-modules/archiva-karaf/archiva-features/src/main/resources/features.xml @@ -0,0 +1,313 @@ + + + + + + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-lang/${commons-lang.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/${javax-inject.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aopalliance/${aopalliance.bundle.version} + wrap:mvn:org.codehaus.plexus/plexus-classworlds/${plexus-classworlds.version} + wrap:mvn:org.codehaus.plexus/plexus-component-annotations/${plexus-component-annotations.version} + wrap:mvn:org.codehaus.plexus/plexus-utils/${plexus-utils.version} + mvn:org.sonatype.sisu/sisu-guava/${sisu-guava.version} + mvn:org.sonatype.sisu/sisu-guice/${sisu-guice.version} + mvn:org.sonatype.sisu/sisu-inject-bean/${sisu-inject-bean.version} + mvn:org.sonatype.sisu/sisu-inject-plexus/${sisu-inject-plexus.version} + mvn:org.apache.archiva/archiva-common/${project.version} + + + + archiva-common + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version} + mvn:org.apache.archiva/archiva-checksum/${project.version} + + + + archiva-common + archiva-checksum + spring + wrap:mvn:org.codehaus.redback.components.cache/spring-cache-api/${redback.cache.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache/${ehcache.bundle.version} + wrap:mvn:org.codehaus.redback.components.cache/spring-cache-ehcache/${redback.cache.version} + mvn:org.apache.archiva/archiva-policies/${project.version} + + + + archiva-policies + http + spring-web + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-collections/${commons-collections.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-beanutils/${commons-beanutils.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-codec/${commons-codec.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-digester/${commons-digester.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-jxpath/${commons-jxpath.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-configuration/${commons-configuration.bundle.version} + wrap:mvn:org.codehaus.plexus/plexus-expression-evaluator/${plexus-expression-evaluator.version} + wrap:mvn:org.codehaus.plexus/plexus-interpolation/${plexus-interpolation.version} + wrap:mvn:org.codehaus.redback.components.registry/spring-registry-api/${redback.registry.version} + wrap:mvn:org.codehaus.redback.components.registry/spring-registry-commons/${redback.registry.version} + wrap:mvn:org.codehaus.redback.components/spring-utils/${redback.spring-utils.version} + mvn:org.apache.archiva/archiva-configuration/${project.version} + + + + archiva-common + mvn:org.apache.archiva/archiva-model/${project.version} + + + + archiva-common + wrap:mvn:org.codehaus.plexus/plexus-digest/${plexus-digest.version} + mvn:org.apache.archiva/archiva-plexus-bridge/${project.version} + + + + archiva-common + wrap:mvn:org.codehaus.redback/redback-users-api/${redback.version} + wrap:mvn:org.codehaus.redback/redback-configuration/${redback.version} + wrap:mvn:org.codehaus.redback/redback-policy/${redback.version} + wrap:mvn:org.codehaus.redback/redback-users-memory/${redback.version} + mvn:org.apache.archiva/archiva-repository-admin-api/${project.version} + + + + archiva-common + spring + mvn:org.apache.archiva/metadata-model/${project.version} + mvn:org.apache.archiva/metadata-repository-api/${project.version} + + + + archiva-configuration + archiva-metadata + mvn:org.apache.archiva/audit/${project.version} + + + + archiva-common + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-collections/${commons-collections.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version} + mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/${servicemix.specs.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j/${dom4j.bundle.version} + mvn:org.apache.archiva/archiva-xml-tools/${project.version} + + + + archiva-common + archiva-metadata + archiva-proxy-common + archiva-reports + archiva-xml-tools + wrap:mvn:org.apache.maven/maven-artifact/${maven.version} + wrap:mvn:org.apache.maven/maven-model/${maven.version} + wrap:mvn:org.apache.maven/maven-project/${maven.version} + wrap:mvn:org.apache.maven/maven-settings/${maven.version} + wrap:mvn:org.apache.maven/maven-artifact-manager/${maven.version} + wrap:mvn:org.apache.maven.shared/maven-dependency-tree/${maven-dependency-tree.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jdom/${jdom.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene/${lucene.bundle.version} + wrap:mvn:org.apache.maven.archetype/archetype-catalog/${maven.archetype.version} + wrap:mvn:org.apache.maven.archetype/archetype-registry/${maven.archetype.version} + wrap:mvn:org.apache.maven.archetype/archetype-descriptor/${maven.archetype.version} + wrap:mvn:org.apache.maven.shared/maven-invoker/${maven.version} + wrap:mvn:org.apache.maven.indexer/indexer-core/${maven.indexer.version} + wrap:mvn:org.apache.maven.indexer/indexer-artifact/${maven.indexer.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.oro/${oro.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity/${velocity.bundle.version} + wrap:mvn:org.codehaus.plexus/plexus-velocity/${plexus-velocity.version} + wrap:mvn:net.sourceforge.jchardet/jchardet/${jcharset.version} + wrap:mvn:org.apache.maven.archetype/archetype-common/${maven.archetype.version} + wrap:mvn:org.apache.maven/maven-model-builder/${maven3x.version} + mvn:org.apache.archiva/maven2-repository/${project.version} + + + + archiva-common + archiva-repository-admin-api + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-collections/${commons-collections.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version} + mvn:org.apache.archiva/archiva-consumer-api/${project.version} + + + + archiva-consumers-api + archiva-checksum + archiva-plexus-bridge + archiva-configuration + archiva-metadata + archiva-model + archiva-scheduler-api + mvn:org.apache.archiva/archiva-core-consumers/${project.version} + mvn:org.apache.archiva/archiva-lucene-consumers/${project.version} + mvn:org.apache.archiva/archiva-metadata-consumer/${project.version} + + + + archiva-common + archiva-checksum + archiva-configuration + archiva-repository-admin-api + archiva-metadata + archiva-consumers-api + mvn:org.apache.archiva/problem-reports/${project.version} + + + + archiva-common + archiva-checksum + archiva-configuration + archiva-metadata + archiva-model + archiva-repository-admin-api + archiva-xml-tools + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-collections/${commons-collections.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version} + mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/${servicemix.specs.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j/${dom4j.bundle.version} + mvn:org.apache.archiva/archiva-repository-layer/${project.version} + + + + archiva-common + archiva-repository-admin-api + archiva-configuration + archiva-model + archiva-policies + archiva-metadata + archiva-scheduler-api + archiva-repository-layer + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-collections/${commons-collections.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version} + wrap:mvn:org.apache.maven.wagon/wagon-provider-api/${wagon.version} + wrap:mvn:org.apache.maven.wagon/wagon-file/${wagon.version} + mvn:org.apache.httpcomponents/httpcore-osgi/${httpclient.version} + mvn:org.apache.httpcomponents/httpclient-osgi/${httpclient.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jsoup/${jsoup.bundle.version} + wrap:mvn:org.apache.maven.wagon/wagon-http-shared4/${wagon.version} + wrap:mvn:org.apache.maven.wagon/wagon-http/${wagon.version} + mvn:org.apache.archiva/archiva-proxy-common/${project.version} + + + + archiva-proxy-common + mvn:org.apache.archiva/archiva-proxy/${project.version} + + + + archiva-common + archiva-plexus-bridge + archiva-repository-admin-api + archiva-configuration + archiva-proxy + wrap:mvn:org.codehaus.redback.components/spring-taskqueue/${redback.taskqueue.version} + mvn:org.apache.archiva/archiva-scheduler-api/${project.version} + + + + archiva-common + archiva-maven2-repository + mvn:javax.jcr/jcr/${javax.jcr.version} + mvn:org.apache.jackrabbit/jackrabbit-jcr-commons/${jackrabbit.version} + mvn:org.apache.archiva/repository-statistics/${project.version} + + + + archiva-common + archiva-configuration + archive-repository-layer + archiva-repository-admin-api + archiva-consumers-api + mvn:org.apache.archiva/archiva-repository-scanner/${project.version} + + + + archiva-scheduler-api + archiva-metadata + archiva-repository-statistics + archiva-proxy + wrap:mvn:org.codehaus.redback.components/spring-quartz/${redback.quartz.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.quartz/${quartz.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene/${lucene.bundle.version} + wrap:mvn:org.apache.maven.indexer/indexer-artifact/${maven.indexer.version} + mvn:org.apache.archiva/archiva-scheduler-indexing/${project.version} + mvn:org.apache.archiva/archiva-scheduler-repository/${project.version} + + + + archiva-repository-admin-api + archiva-audit + archiva-plexus-bridge + archiva-scheduler + archiva-metadata + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-validator/${commons-validator.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.cglib/${cglib.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xpp3/${xpp3.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream/${xstream.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jcip-annotations/${jcip-annotations.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.beanlib/${beanlib.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.stax-utils/${stax-utils.bundle.version} + wrap:mvn:org.codehaus.redback/redback-rbac/${redback.version} + wrap:mvn:org.codehaus.redback/redback-rbac-role-manager/${redback.version} + mvn:org.apache.archiva/archiva-repository-admin-default/${project.version} + + + + archiva-common + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version} + mvn:org.apache.archiva/archiva-transaction/${project.version} + + + + archiva-common + archiva-plexus-bridge + archiva-transaction + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version} + wrap:mvn:org.apache.maven/maven-model-v3/${maven-model-v3.version} + wrap:mvn:org.apache.maven/maven-model/${maven3x.version} + wrap:mvn:org.apache.maven.shared/maven-model-converter/${maven-model-converter.version} + wrap:mvn:org.apache.maven/maven-repository-metadata/${maven.version} + mvn:org.apache.archiva/archiva-artifact-converter/${project.version} + + + + archiva-common + archiva-repository-admin-api + archiva-plexus-bridge + archiva-model + archiva-consumers-api + archiva-repository-layer + archiva-repository-scanner + archiva-transaction + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version} + mvn:org.apache.archiva/archiva-converter/${project.version} + + + + archiva-common + archiva-plexus-bridge + archiva-repository-admin-api + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io/${commons-io.bundle.version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene/${lucene.bundle.version} + mvn:org.apache.archiva/archiva-indexer/${project.version} + + + + mvn:org.apache.archiva/archiva-security-common/${project.version} + + + + + \ No newline at end of file diff --git a/archiva-modules/archiva-karaf/pom.xml b/archiva-modules/archiva-karaf/pom.xml new file mode 100644 index 000000000..b81fa14ef --- /dev/null +++ b/archiva-modules/archiva-karaf/pom.xml @@ -0,0 +1,36 @@ + + + + + org.apache.archiva + archiva-modules + 1.4-M2-SNAPSHOT + + 4.0.0 + archiva-karaf + pom + Archiva :: Karaf + + + archiva-features + + + + \ No newline at end of file diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-api/pom.xml b/archiva-modules/archiva-scheduler/archiva-scheduler-api/pom.xml index a56482cb3..5b050640f 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-api/pom.xml +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-api/pom.xml @@ -25,6 +25,7 @@ 1.4-M2-SNAPSHOT archiva-scheduler-api + bundle Archiva Scheduler :: API @@ -36,4 +37,24 @@ spring-taskqueue + + + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.scheduler.api + ${project.version} + + org.apache.archiva.scheduler;version=${project.version} + + + org.codehaus.plexus.taskqueue + + + + + + diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/pom.xml b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/pom.xml index 11d084e00..f7c5c2f05 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/pom.xml +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/pom.xml @@ -25,6 +25,7 @@ 1.4-M2-SNAPSHOT archiva-scheduler-indexing + bundle Archiva Scheduler :: Indexing @@ -139,6 +140,36 @@ + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.scheduler.indexing + ${project.version} + + org.apache.archiva.scheduler.indexing;version=${project.version} + + + 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 + + + + org.apache.maven.plugins maven-surefire-plugin diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/pom.xml b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/pom.xml index 4b63a5e96..e634eaea6 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/pom.xml +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/pom.xml @@ -25,6 +25,7 @@ 1.4-M2-SNAPSHOT archiva-scheduler-repository + bundle Archiva Scheduler :: Repository Scanning @@ -82,6 +83,40 @@ + + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.scheduler.repository + ${project.version} + + org.apache.archiva.scheduler.repository;version=${project.version} + + + 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 + + + + + diff --git a/archiva-modules/metadata/metadata-model/pom.xml b/archiva-modules/metadata/metadata-model/pom.xml index ada7ee84d..0154fcca5 100644 --- a/archiva-modules/metadata/metadata-model/pom.xml +++ b/archiva-modules/metadata/metadata-model/pom.xml @@ -24,5 +24,26 @@ 1.4-M2-SNAPSHOT metadata-model + bundle Archiva Metadata :: Model + + + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.metadata.model + ${project.version} + + org.apache.archiva.metadata.model;version=${project.version};-split-package:=merge-first + + + + + + + + + diff --git a/archiva-modules/metadata/metadata-repository-api/pom.xml b/archiva-modules/metadata/metadata-repository-api/pom.xml index 0ab8ae0aa..c87e9eba5 100644 --- a/archiva-modules/metadata/metadata-repository-api/pom.xml +++ b/archiva-modules/metadata/metadata-repository-api/pom.xml @@ -25,6 +25,7 @@ 1.4-M2-SNAPSHOT metadata-repository-api + bundle Archiva Metadata :: Repository API @@ -55,6 +56,28 @@ + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.metadata.repository.api + ${project.version} + + 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 + + + javax.inject, + org.apache.archiva.metadata.model;version=${project.version}, + org.springframework.stereotype;version="[3,4)", + org.slf4j;resolution:=optional + + + + org.apache.maven.plugins maven-jar-plugin diff --git a/archiva-modules/plugins/audit/pom.xml b/archiva-modules/plugins/audit/pom.xml index a973c4981..2007de7ba 100644 --- a/archiva-modules/plugins/audit/pom.xml +++ b/archiva-modules/plugins/audit/pom.xml @@ -25,6 +25,7 @@ 1.4-M2-SNAPSHOT audit + bundle Archiva Core Plugins :: Audit Logging @@ -41,4 +42,30 @@ test + + + + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.audit + ${project.version} + + org.apache.archiva.audit;version=${project.version} + + + 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 + + + + + + + diff --git a/archiva-modules/plugins/maven2-repository/pom.xml b/archiva-modules/plugins/maven2-repository/pom.xml index 5c44727e6..1f420af56 100644 --- a/archiva-modules/plugins/maven2-repository/pom.xml +++ b/archiva-modules/plugins/maven2-repository/pom.xml @@ -25,6 +25,7 @@ 1.4-M2-SNAPSHOT maven2-repository + bundle Archiva Core Plugins :: Maven 2.x Repository Support @@ -126,6 +127,50 @@ + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.maven2 + ${project.version} + + 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, + + + !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 + + + + org.apache.maven.plugins maven-dependency-plugin diff --git a/archiva-modules/plugins/problem-reports/pom.xml b/archiva-modules/plugins/problem-reports/pom.xml index 284f1e3ea..3ad895ce6 100644 --- a/archiva-modules/plugins/problem-reports/pom.xml +++ b/archiva-modules/plugins/problem-reports/pom.xml @@ -25,6 +25,7 @@ 1.4-M2-SNAPSHOT problem-reports + bundle Archiva Core Plugins :: Problem Reporting Plugin @@ -70,6 +71,35 @@ + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.reports + ${project.version} + + org.apache.archiva.reports*;version=${project.version} + + + 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 + + + + org.apache.maven.plugins maven-dependency-plugin diff --git a/archiva-modules/plugins/repository-statistics/pom.xml b/archiva-modules/plugins/repository-statistics/pom.xml index 9cf3320a2..c9ccef2f0 100644 --- a/archiva-modules/plugins/repository-statistics/pom.xml +++ b/archiva-modules/plugins/repository-statistics/pom.xml @@ -25,6 +25,7 @@ 1.4-M2-SNAPSHOT repository-statistics + bundle Archiva Core Plugins :: Repository Statistics @@ -69,4 +70,31 @@ test + + + + org.apache.felix + maven-bundle-plugin + + + org.apache.archiva.repository.statistics + ${project.version} + + org.apache.archiva.metadata.repository.stats;version=${project.version} + + + 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 + + + + + + diff --git a/archiva-modules/pom.xml b/archiva-modules/pom.xml index 653798123..886d8b502 100644 --- a/archiva-modules/pom.xml +++ b/archiva-modules/pom.xml @@ -32,6 +32,7 @@ archiva-base archiva-scheduler archiva-web + archiva-karaf metadata plugins -- cgit v1.2.3