]> source.dussan.org Git - archiva.git/commitdiff
Adding felix config to the consumer pom archiva-plugins 43/head archiva-plugins
authorJames William Dumay <jdumay@apache.org>
Fri, 14 Nov 2008 00:05:59 +0000 (00:05 +0000)
committerJames William Dumay <jdumay@apache.org>
Fri, 14 Nov 2008 00:05:59 +0000 (00:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-plugins@713876 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml
archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/ArtifactMissingChecksumsConsumer.java
pom.xml

index 538c0cd4db1e1f3482e6e832e19031b1baabee72..fdae9fc6aa5a1daa7b0f9dffb27aceb16c72c8e1 100644 (file)
@@ -26,6 +26,7 @@
 
   <artifactId>archiva-core-consumers</artifactId>
   <name>Archiva Consumers :: Core Consumers</name>
+  <packaging>bundle</packaging>
 
   <dependencies>
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-digest</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.osgi.core</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-spring</artifactId>
       <scope>test</scope>
     </dependency>
   </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>1.4.3</version>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Export-Package>org.apache.archiva.consumers.core,org.apache.maven.archiva.consumers.core.repository</Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>
index 7ce2db1445632ec090270869b9a22500d2cb0a65..9593e93de54863fe9cd95061a0ac18f664e1cf2c 100644 (file)
@@ -19,8 +19,6 @@ package org.apache.maven.archiva.consumers.core;
  * under the License.
  */
 
-import org.apache.commons.collections.CollectionUtils;
-import org.apache.commons.lang.StringUtils;
 import org.apache.maven.archiva.configuration.ArchivaConfiguration;
 import org.apache.maven.archiva.configuration.ConfigurationNames;
 import org.apache.maven.archiva.configuration.FileTypes;
diff --git a/pom.xml b/pom.xml
index afbfc63fa5884305d03ab0d297dd260cd2fc69e8..c7b1cb896c9fbacfe3d16a52f42d4a379317a42f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
   </dependencies>
   <dependencyManagement>
     <dependencies>
+      <dependency>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>org.osgi.core</artifactId>
+        <version>1.2.0</version>
+      </dependency>
       <dependency>
         <groupId>org.apache.jackrabbit</groupId>
         <artifactId>jackrabbit-webdav</artifactId>
       </dependency>
       <dependency>
         <groupId>xerces</groupId>
-           <artifactId>xercesImpl</artifactId>
-           <version>2.8.1</version>
+             <artifactId>xercesImpl</artifactId>
+              <version>2.8.1</version>
       </dependency>
       <dependency>
         <groupId>javax.activation</groupId>