Declare version property for maven bundle plugin, reuse it in poms and
[controller.git] / opendaylight / clustering / services / pom.xml
index a5e09fa59effd24a90dd5e8e15f70d33e3b7e5f1..59df46b36e16e1e7f50205094194f571a3682afa 100644 (file)
@@ -7,8 +7,12 @@
     <version>1.4.0-SNAPSHOT</version>
     <relativePath>../../commons/opendaylight</relativePath>
   </parent>
+  <scm>
+    <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
+    <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
+    <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
+  </scm>
 
-  <groupId>org.opendaylight.controller</groupId>
   <artifactId>clustering.services</artifactId>
   <version>0.4.0-SNAPSHOT</version>
   <packaging>bundle</packaging>
   <build>
     <plugins>
       <plugin>
-       <groupId>org.apache.felix</groupId>
-       <artifactId>maven-bundle-plugin</artifactId>
-       <version>2.3.6</version>
-       <extensions>true</extensions>
-       <configuration>
-         <instructions>
-           <Export-Package>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>${bundle.plugin.version}</version>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Export-Package>
               org.opendaylight.controller.clustering.services
             </Export-Package>
             <Import-Package>
               javax.transaction
             </Import-Package>
-         </instructions>
-       </configuration>
+          </instructions>
+          <manifestLocation>${project.basedir}/META-INF</manifestLocation>
+        </configuration>
       </plugin>
     </plugins>
   </build>