]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1561] Update to Archiva as OSGi compliant application
authorOlivier Lamy <olamy@apache.org>
Tue, 22 Nov 2011 13:49:45 +0000 (13:49 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 22 Nov 2011 13:49:45 +0000 (13:49 +0000)
add maven felix plugin version in the parent.

git-svn-id: https://svn.apache.org/repos/asf/archiva/parent@1204993 13f79535-47bb-0310-9956-ffa450edef68

.gitignore [new file with mode: 0644]
pom.xml

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..79176ce
--- /dev/null
@@ -0,0 +1,5 @@
+.project
+.classpath
+.settings
+target
+*.i??
diff --git a/pom.xml b/pom.xml
index 05ccb259b899f8cf5d78e1d22f1e55fc0bfded74..c413fe85caabf06e8fce9dce965024eea1761a12 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <pluginManagement>
       <plugins>
         <!-- set versions of common plugins for reproducibility, ordered alphabetically -->
+        <plugin>
+          <groupId>org.apache.felix</groupId>
+          <artifactId>maven-bundle-plugin</artifactId>
+          <version>2.3.4</version>
+          <extensions>true</extensions>
+          <configuration>
+            <instructions>
+              <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
+            </instructions>
+          </configuration>
+        </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-clean-plugin</artifactId>