0f873569bcf411cc78d5a311d976a605a5307585
[alto.git] / alto-northbound / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4  xsi:schemaLocation="http://maven.apache.org/xsd/maven-4.0.0.xsd">
5   <modelVersion>4.0.0</modelVersion>
6   <parent>
7     <groupId>org.opendaylight.alto</groupId>
8     <artifactId>alto-parent</artifactId>
9     <version>1.0.0-SNAPSHOT</version>
10     <relativePath>..</relativePath>
11   </parent>
12   <groupId>org.opendaylight.alto</groupId>
13   <artifactId>alto-northbound</artifactId>
14   <version>1.0.0-SNAPSHOT</version>
15   <packaging>bundle</packaging>
16
17   <build>
18     <plugins>
19       <plugin>
20         <groupId>org.codehaus.enunciate</groupId>
21         <artifactId>maven-enunciate-plugin</artifactId>
22         <dependencies>
23           <dependency>
24             <groupId>org.opendaylight.controller</groupId>
25             <artifactId>sal</artifactId>
26             <version>${sal.version}</version>
27           </dependency>
28         </dependencies>
29       </plugin>
30
31       <plugin>
32         <groupId>org.apache.felix</groupId>
33         <artifactId>maven-bundle-plugin</artifactId>
34         <version>${bundle.plugin.version}</version>
35         <extensions>true</extensions>
36         <configuration>
37           <instructions>
38             <Import-Package>
39               org.opendaylight.yang.gen.v1.urn.opendaylight.alto.*,
40               org.opendaylight.alto.services.api,
41               org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924,
42               org.opendaylight.yang.gen.v1.urn.opendaylight.alto.service.types.rev141101,
43               org.apache.commons.logging,
44               com.sun.jersey.spi.container.servlet,
45               org.opendaylight.controller.northbound.commons,
46               org.opendaylight.controller.northbound.commons.exception,
47               org.opendaylight.controller.northbound.commons.utils,
48               org.opendaylight.controller.sal.utils,
49               org.opendaylight.controller.sal.authorization,
50               org.opendaylight.controller.sal.packet.address,
51               javax.ws.rs,
52               javax.ws.rs.core,
53               javax.xml.bind.annotation,
54               javax.xml.bind,
55               org.slf4j,
56               org.apache.catalina.filters,
57               com.fasterxml.jackson.jaxrs.base,
58               com.fasterxml.jackson.jaxrs.json,
59               !org.codehaus.enunciate.jaxrs
60             </Import-Package>
61             <Web-ContextPath>/controller/nb/v2/alto</Web-ContextPath>
62           </instructions>
63           <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
64         </configuration>
65       </plugin>
66
67       <plugin>
68         <groupId>org.apache.maven.plugins</groupId>
69         <artifactId>maven-checkstyle-plugin</artifactId>
70         <version>${checkstyle.version}</version>
71
72         <executions>
73           <execution>
74             <phase>process-sources</phase>
75             <goals>
76               <goal>check</goal>
77             </goals>
78           </execution>
79         </executions>
80
81         <configuration>
82           <failsOnError>true</failsOnError>
83           <configLocation>controller/checkstyle.xml</configLocation>
84           <consoleOutput>true</consoleOutput>
85           <includeTestSourceDirectory>true</includeTestSourceDirectory>
86           <sourceDirectory>${project.basedir}</sourceDirectory>
87           <excludes>**\/target\/,**\/bin\/,**\/third-party,**\/yang-gen-sal</excludes>
88         </configuration>
89
90         <dependencies>
91           <dependency>
92             <groupId>org.opendaylight.controller</groupId>
93             <artifactId>checkstyle</artifactId>
94             <version>${controller.checkstyle.version}</version>
95           </dependency>
96         </dependencies>
97       </plugin>
98
99     </plugins>
100   </build>
101
102   <dependencies>
103     <dependency>
104       <groupId>org.opendaylight.controller.thirdparty</groupId>
105       <artifactId>com.sun.jersey.jersey-servlet</artifactId>
106       <version>${jersey.servlet.version}</version>
107     </dependency>
108
109     <dependency>
110       <groupId>com.sun.jersey</groupId>
111       <artifactId>jersey-json</artifactId>
112       <version>${jersey.json.version}</version>
113     </dependency>
114
115     <dependency>
116       <groupId>org.opendaylight.controller</groupId>
117       <artifactId>commons.northbound</artifactId>
118       <version>${controller.commons.northbound.version}</version>
119     </dependency>
120
121     <dependency>
122       <groupId>org.codehaus.enunciate</groupId>
123       <artifactId>enunciate-core-annotations</artifactId>
124       <version>${enunciate.version}</version>
125     </dependency>
126
127     <dependency>
128       <groupId>org.opendaylight.controller.thirdparty</groupId>
129       <artifactId>org.apache.catalina.filters.CorsFilter</artifactId>
130       <version>${corsfilter.version}</version>
131     </dependency>
132
133     <dependency>
134       <groupId>${project.groupId}</groupId>
135       <artifactId>alto-model</artifactId>
136       <version>${project.version}</version>
137     </dependency>
138
139     <dependency>
140       <groupId>${project.groupId}</groupId>
141       <artifactId>commons</artifactId>
142       <version>${project.version}</version>
143     </dependency>
144
145     <dependency>
146       <groupId>${project.groupId}</groupId>
147       <artifactId>services.api</artifactId>
148       <version>${project.version}</version>
149     </dependency>
150
151   </dependencies>
152 </project>
153