Declare version property for maven bundle plugin, reuse it in poms and
[controller.git] / opendaylight / northbound / bundlescanner / api / pom.xml
1 <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/xsd/maven-4.0.0.xsd">
2   <modelVersion>4.0.0</modelVersion>
3   <parent>
4     <groupId>org.opendaylight.controller</groupId>
5     <artifactId>commons.opendaylight</artifactId>
6     <version>1.4.0-SNAPSHOT</version>
7     <relativePath>../../../commons/opendaylight</relativePath>
8   </parent>
9
10   <scm>
11     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
12     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
13     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
14   </scm>
15
16   <artifactId>bundlescanner</artifactId>
17   <version>0.4.0-SNAPSHOT</version>
18   <packaging>bundle</packaging>
19
20   <build>
21     <plugins>
22        <plugin>
23         <groupId>org.apache.felix</groupId>
24         <artifactId>maven-bundle-plugin</artifactId>
25         <version>${bundle.plugin.version}</version>
26         <extensions>true</extensions>
27         <configuration>
28           <instructions>
29             <Import-Package>
30               org.osgi.framework,
31               org.slf4j,
32               javax.ws.rs,
33               javax.ws.rs.core,
34               javax.xml.bind.annotation,
35               javax.xml.bind,
36             </Import-Package>
37             <Export-Package>
38                 org.opendaylight.controller.northbound.bundlescanner
39             </Export-Package>
40           </instructions>
41         </configuration>
42       </plugin>
43     </plugins>
44   </build>
45
46 </project>