Merge "Revert "Bug 2515 - Jersey to support JAX-RS 2.0""
[aaa.git] / parent / 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"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5     <parent>
6         <groupId>org.opendaylight.odlparent</groupId>
7         <artifactId>odlparent</artifactId>
8         <version>1.6.0-SNAPSHOT</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.opendaylight.aaa</groupId>
13     <artifactId>aaa-parent</artifactId>
14     <version>0.3.0-SNAPSHOT</version>
15     <packaging>pom</packaging>
16     <prerequisites>
17         <maven>3.0.4</maven>
18     </prerequisites>
19
20     <properties>
21         <!-- Karaf -->
22         <karaf.branding.version>1.2.0-SNAPSHOT</karaf.branding.version>
23         <karaf.resources.version>1.6.0-SNAPSHOT</karaf.resources.version>
24
25         <!-- OSGi -->
26         <osgi.metatype.version>1.0.10</osgi.metatype.version>
27
28         <!-- Local project version, needed for import -->
29         <aaa.version>${project.version}</aaa.version>
30         <parent-path>${basedir}</parent-path>
31
32         <!-- AuthZ -->
33         <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
34         <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
35         <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
36         <mdsal.version>2.0.0-SNAPSHOT</mdsal.version>
37         <mdsal.model.version>0.8.0-SNAPSHOT</mdsal.model.version>
38         <controller.mdsal.version>1.3.0-SNAPSHOT</controller.mdsal.version>
39         <restconf.version>1.3.0-SNAPSHOT</restconf.version>
40         <config.version>0.4.0-SNAPSHOT</config.version>
41         <config.authz.service.configfile>08-authz-config.xml</config.authz.service.configfile>
42         <config.restconf.configfile>09-rest-connector.xml</config.restconf.configfile>
43         <config.configfile.directory>etc/opendaylight/karaf</config.configfile.directory>
44
45         <!-- AuthN -->
46         <glassfish.json.version>1.0.4</glassfish.json.version>
47         <servlet.api.version>2.5</servlet.api.version>
48         <ehcache.version>2.8.3</ehcache.version>
49         <jta.version>1.1.1</jta.version>
50         <oltu.version>1.0.0</oltu.version>
51
52         <config.authn.store.configfile>08-authn-config.xml</config.authn.store.configfile>
53
54         <!-- IdmLight -->
55         <h2.version>1.4.185</h2.version>
56
57         <!-- Keystone plugin -->
58         <httpclient.version>4.4</httpclient.version>
59
60         <!-- Test -->
61         <javax.inject.version>1</javax.inject.version>
62         <servlet.tester.version>7.0.0.M2</servlet.tester.version>
63         <features.test.version>1.6.0-SNAPSHOT</features.test.version>
64     </properties>
65
66     <dependencyManagement>
67         <dependencies>
68             <!-- ODL -->
69             <dependency>
70                 <groupId>org.opendaylight.aaa</groupId>
71                 <artifactId>aaa-artifacts</artifactId>
72                 <version>${aaa.version}</version>
73                 <type>pom</type>
74                 <scope>import</scope>
75             </dependency>
76             <dependency>
77                 <groupId>org.opendaylight.yangtools</groupId>
78                 <artifactId>yangtools-artifacts</artifactId>
79                 <version>${yangtools.version}</version>
80                 <type>pom</type>
81                 <scope>import</scope>
82             </dependency>
83             <dependency>
84                 <groupId>org.opendaylight.mdsal</groupId>
85                 <artifactId>mdsal-artifacts</artifactId>
86                 <version>${mdsal.version}</version>
87                 <scope>import</scope>
88                 <type>pom</type>
89             </dependency>
90             <dependency>
91                 <groupId>org.opendaylight.mdsal.model</groupId>
92                 <artifactId>mdsal-model-artifacts</artifactId>
93                 <version>${mdsal.model.version}</version>
94                 <scope>import</scope>
95                 <type>pom</type>
96             </dependency>
97             <dependency>
98                 <groupId>org.opendaylight.controller</groupId>
99                 <artifactId>mdsal-artifacts</artifactId>
100                 <version>${controller.mdsal.version}</version>
101                 <scope>import</scope>
102                 <type>pom</type>
103             </dependency>
104             <dependency>
105                 <groupId>org.opendaylight.controller</groupId>
106                 <artifactId>config-artifacts</artifactId>
107                 <version>${config.version}</version>
108                 <type>pom</type>
109                 <scope>import</scope>
110             </dependency>
111
112             <!-- Third-party -->
113             <dependency>
114                 <groupId>org.glassfish</groupId>
115                 <artifactId>javax.json</artifactId>
116                 <version>${glassfish.json.version}</version>
117             </dependency>
118             <dependency>
119                 <groupId>javax.servlet</groupId>
120                 <artifactId>servlet-api</artifactId>
121                 <version>${servlet.api.version}</version>
122             </dependency>
123             <dependency>
124                 <groupId>com.sun.jersey</groupId>
125                 <artifactId>jersey-servlet</artifactId>
126                 <version>${jersey.version}</version>
127             </dependency>
128             <dependency>
129                 <groupId>com.sun.jersey</groupId>
130                 <artifactId>jersey-core</artifactId>
131                 <version>${jersey.version}</version>
132             </dependency>
133             <dependency>
134                 <groupId>com.sun.jersey</groupId>
135                 <artifactId>jersey-server</artifactId>
136                 <version>${jersey.version}</version>
137             </dependency>
138             <dependency>
139                 <groupId>com.sun.jersey</groupId>
140                 <artifactId>jersey-json</artifactId>
141                 <version>${jersey.version}</version>
142             </dependency>
143             <dependency>
144                 <groupId>org.apache.felix</groupId>
145                 <artifactId>org.apache.felix.metatype</artifactId>
146                 <version>${osgi.metatype.version}</version>
147             </dependency>
148             <dependency>
149                 <groupId>net.sf.ehcache</groupId>
150                 <artifactId>ehcache</artifactId>
151                 <version>${ehcache.version}</version>
152             </dependency>
153             <dependency>
154                 <groupId>org.apache.geronimo.specs</groupId>
155                 <artifactId>geronimo-jta_1.1_spec</artifactId>
156                 <version>${jta.version}</version>
157             </dependency>
158             <dependency>
159                 <groupId>org.apache.oltu.oauth2</groupId>
160                 <artifactId>org.apache.oltu.oauth2.common</artifactId>
161                 <version>${oltu.version}</version>
162             </dependency>
163             <dependency>
164                 <groupId>org.apache.oltu.oauth2</groupId>
165                 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
166                 <version>${oltu.version}</version>
167             </dependency>
168             <dependency>
169                 <groupId>org.apache.oltu.oauth2</groupId>
170                 <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
171                 <version>${oltu.version}</version>
172             </dependency>
173             <dependency>
174                 <groupId>com.h2database</groupId>
175                 <artifactId>h2</artifactId>
176                 <version>${h2.version}</version>
177             </dependency>
178
179             <!-- Test stuff -->
180             <dependency>
181                 <groupId>org.opendaylight.odlparent</groupId>
182                 <artifactId>features-test</artifactId>
183                 <version>${features.test.version}</version>
184                 <scope>test</scope>
185             </dependency>
186             <dependency>
187                 <groupId>javax.inject</groupId>
188                 <artifactId>javax.inject</artifactId>
189                 <version>${javax.inject.version}</version>
190                 <scope>test</scope>
191             </dependency>
192             <dependency>
193                 <groupId>com.sun.jersey.jersey-test-framework</groupId>
194                 <artifactId>jersey-test-framework-grizzly2</artifactId>
195                 <version>${jersey.version}</version>
196                 <scope>test</scope>
197             </dependency>
198             <dependency>
199                 <groupId>org.eclipse.jetty</groupId>
200                 <artifactId>jetty-servlet-tester</artifactId>
201                 <version>${servlet.tester.version}</version>
202                 <scope>test</scope>
203             </dependency>
204         </dependencies>
205     </dependencyManagement>
206
207     <build>
208         <plugins>
209             <plugin>
210                 <groupId>org.jacoco</groupId>
211                 <artifactId>jacoco-maven-plugin</artifactId>
212                 <configuration>
213                     <includes>
214                         <include>org.opendaylight.aaa.*</include>
215                     </includes>
216                 </configuration>
217                 <executions>
218                     <execution>
219                         <id>pre-test</id>
220                         <goals>
221                             <goal>prepare-agent</goal>
222                         </goals>
223                     </execution>
224                     <execution>
225                         <id>post-test</id>
226                         <goals>
227                             <goal>report</goal>
228                         </goals>
229                         <phase>test</phase>
230                     </execution>
231                 </executions>
232             </plugin>
233             <plugin>
234                 <groupId>org.apache.maven.plugins</groupId>
235                 <artifactId>maven-checkstyle-plugin</artifactId>
236                 <configuration>
237                     <!-- checkstyle is evil -->
238                     <skip>false</skip>
239                     <failOnViolation>false</failOnViolation>
240                     <configLocation>checkstyle-logging.xml</configLocation>
241                     <consoleOutput>true</consoleOutput>
242                     <includeTestSourceDirectory>true</includeTestSourceDirectory>
243                     <sourceDirectory>${project.basedir}</sourceDirectory>
244                     <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
245                     <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
246                 </configuration>
247                 <executions>
248                     <execution>
249                         <goals>
250                             <goal>check</goal>
251                         </goals>
252                         <phase>process-sources</phase>
253                     </execution>
254                 </executions>
255                 <dependencies>
256                     <dependency>
257                         <groupId>org.opendaylight.yangtools</groupId>
258                         <artifactId>checkstyle-logging</artifactId>
259                         <version>${yangtools.version}</version>
260                     </dependency>
261                 </dependencies>
262             </plugin>
263         </plugins>
264     </build>
265
266     <url>https://wiki.opendaylight.org/view/AAA:Main</url>
267     <scm>
268         <connection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</connection>
269         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</developerConnection>
270         <tag>HEAD</tag>
271     </scm>
272
273     <reporting>
274         <plugins>
275             <plugin>
276                 <groupId>org.codehaus.mojo</groupId>
277                 <artifactId>findbugs-maven-plugin</artifactId>
278                 <version>${findbugs.maven.plugin.version}</version>
279                 <configuration>
280                     <effort>Max</effort>
281                     <threshold>Low</threshold>
282                     <goal>site</goal>
283                 </configuration>
284             </plugin>
285             <plugin>
286                 <groupId>org.codehaus.mojo</groupId>
287                 <artifactId>jdepend-maven-plugin</artifactId>
288                 <version>${jdepend.maven.plugin.version}</version>
289             </plugin>
290         </plugins>
291     </reporting>
292 </project>