Declare version property for maven bundle plugin, reuse it in poms and
[controller.git] / opendaylight / northbound / flowprogrammer / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>commons.opendaylight</artifactId>
7     <version>1.4.0-SNAPSHOT</version>
8     <relativePath>../../commons/opendaylight</relativePath>
9   </parent>
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>flowprogrammer.northbound</artifactId>
17   <version>0.4.0-SNAPSHOT</version>
18   <packaging>bundle</packaging>
19   <build>
20     <plugins>
21       <plugin>
22         <groupId>org.codehaus.enunciate</groupId>
23         <artifactId>maven-enunciate-plugin</artifactId>
24         <version>${enunciate.version}</version>
25         <dependencies>
26           <dependency>
27             <groupId>org.opendaylight.controller</groupId>
28             <artifactId>sal</artifactId>
29             <version>0.5.0-SNAPSHOT</version>
30           </dependency>
31         </dependencies>
32       </plugin>
33       <plugin>
34         <groupId>org.apache.felix</groupId>
35         <artifactId>maven-bundle-plugin</artifactId>
36         <version>${bundle.plugin.version}</version>
37         <extensions>true</extensions>
38         <configuration>
39           <instructions>
40             <Import-Package>
41               org.opendaylight.controller.forwardingrulesmanager,
42               org.opendaylight.controller.sal.core,
43               org.opendaylight.controller.sal.utils,
44               org.opendaylight.controller.containermanager,
45               org.opendaylight.controller.switchmanager,
46               org.opendaylight.controller.northbound.commons,
47               org.opendaylight.controller.northbound.commons.exception,
48               org.opendaylight.controller.northbound.commons.utils,
49               org.opendaylight.controller.sal.authorization,
50               org.opendaylight.controller.usermanager,
51               com.sun.jersey.spi.container.servlet,
52               org.apache.catalina.filters,
53               javax.ws.rs,
54               javax.ws.rs.core,
55               javax.xml.bind.annotation,
56               javax.xml.bind,
57               org.slf4j,
58               org.codehaus.jackson.jaxrs,
59               !org.codehaus.enunciate.jaxrs
60             </Import-Package>
61             <Export-Package>
62             </Export-Package>
63             <Web-ContextPath>/controller/nb/v2/flowprogrammer</Web-ContextPath>
64             <Jaxrs-Resources>,${classes;ANNOTATION;javax.ws.rs.Path}</Jaxrs-Resources>
65           </instructions>
66           <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
67         </configuration>
68       </plugin>
69     </plugins>
70   </build>
71   <dependencies>
72     <dependency>
73       <groupId>org.opendaylight.controller</groupId>
74       <artifactId>containermanager</artifactId>
75       <version>0.5.0-SNAPSHOT</version>
76     </dependency>
77     <dependency>
78       <groupId>org.opendaylight.controller</groupId>
79       <artifactId>switchmanager</artifactId>
80       <version>0.5.0-SNAPSHOT</version>
81     </dependency>
82     <dependency>
83       <groupId>org.opendaylight.controller</groupId>
84       <artifactId>forwardingrulesmanager</artifactId>
85       <version>0.4.0-SNAPSHOT</version>
86     </dependency>
87     <dependency>
88       <groupId>org.opendaylight.controller</groupId>
89       <artifactId>sal</artifactId>
90       <version>0.5.0-SNAPSHOT</version>
91     </dependency>
92     <dependency>
93       <groupId>org.codehaus.enunciate</groupId>
94       <artifactId>enunciate-core-annotations</artifactId>
95       <version>${enunciate.version}</version>
96     </dependency>
97     <dependency>
98           <groupId>org.opendaylight.controller</groupId>
99           <artifactId>commons.northbound</artifactId>
100           <version>0.4.0-SNAPSHOT</version>
101         </dependency>
102     <dependency>
103       <groupId>org.opendaylight.controller.thirdparty</groupId>
104       <artifactId>com.sun.jersey.jersey-servlet</artifactId>
105       <version>1.17-SNAPSHOT</version>
106     </dependency>
107     <dependency>
108       <groupId>org.opendaylight.controller.thirdparty</groupId>
109       <artifactId>org.apache.catalina.filters.CorsFilter</artifactId>
110       <version>7.0.42-SNAPSHOT</version>
111     </dependency>
112   </dependencies>
113 </project>