Declare version property for maven bundle plugin, reuse it in poms and
[controller.git] / opendaylight / northbound / networkconfiguration / bridgedomain / 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>networkconfig.bridgedomain.northbound</artifactId>
17   <version>0.0.1-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             <Export-Package>
41             </Export-Package>
42             <Import-Package>
43               org.opendaylight.controller.sal.core,
44               org.opendaylight.controller.sal.utils,
45               org.opendaylight.controller.sal.networkconfig.bridgedomain,
46               org.opendaylight.controller.containermanager,
47               org.opendaylight.controller.usermanager,
48               com.sun.jersey.spi.container.servlet,
49               org.opendaylight.controller.northbound.commons,
50               org.opendaylight.controller.northbound.commons.exception,
51               org.opendaylight.controller.northbound.commons.utils,
52               org.opendaylight.controller.sal.authorization,
53               org.opendaylight.controller.connectionmanager,
54               org.opendaylight.controller.sal.connection,
55               org.slf4j,
56               javax.ws.rs,
57               javax.ws.rs.core,
58               javax.xml.bind.annotation,
59               javax.xml.bind,
60               org.apache.catalina.filters,
61               org.codehaus.jackson.jaxrs,
62               !org.codehaus.enunciate.jaxrs
63             </Import-Package>
64             <Export-Package>
65             </Export-Package>
66             <Web-ContextPath>/controller/nb/v2/networkconfig/bridgedomain</Web-ContextPath>
67             <Jaxrs-Resources>,${classes;ANNOTATION;javax.ws.rs.Path}</Jaxrs-Resources>
68           </instructions>
69           <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
70         </configuration>
71       </plugin>
72     </plugins>
73   </build>
74   <dependencies>
75     <dependency>
76       <groupId>org.opendaylight.controller</groupId>
77       <artifactId>sal</artifactId>
78       <version>0.5.0-SNAPSHOT</version>
79     </dependency>
80     <dependency>
81       <groupId>org.opendaylight.controller</groupId>
82       <artifactId>sal.connection</artifactId>
83       <version>0.1.0-SNAPSHOT</version>
84     </dependency>
85     <dependency>
86       <groupId>org.opendaylight.controller</groupId>
87       <artifactId>sal.networkconfiguration</artifactId>
88       <version>0.0.1-SNAPSHOT</version>
89     </dependency>
90     <dependency>
91       <groupId>org.opendaylight.controller</groupId>
92       <artifactId>connectionmanager</artifactId>
93       <version>0.1.0-SNAPSHOT</version>
94     </dependency>
95     <dependency>
96       <groupId>org.opendaylight.controller</groupId>
97       <artifactId>containermanager</artifactId>
98       <version>0.5.0-SNAPSHOT</version>
99     </dependency>
100     <dependency>
101       <groupId>org.codehaus.enunciate</groupId>
102       <artifactId>enunciate-core-annotations</artifactId>
103       <version>${enunciate.version}</version>
104     </dependency>
105     <dependency>
106       <groupId>org.opendaylight.controller</groupId>
107       <artifactId>commons.northbound</artifactId>
108       <version>0.4.0-SNAPSHOT</version>
109     </dependency>
110     <dependency>
111       <groupId>org.opendaylight.controller.thirdparty</groupId>
112       <artifactId>com.sun.jersey.jersey-servlet</artifactId>
113       <version>1.17-SNAPSHOT</version>
114     </dependency>
115     <dependency>
116       <groupId>org.opendaylight.controller.thirdparty</groupId>
117       <artifactId>org.apache.catalina.filters.CorsFilter</artifactId>
118       <version>7.0.42-SNAPSHOT</version>
119     </dependency>
120   </dependencies>
121 </project>