Jetty 9.2: pull in h2 using odlparent DM
[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.8.0-SNAPSHOT</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.opendaylight.aaa</groupId>
13     <artifactId>aaa-parent</artifactId>
14     <version>0.5.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.4.0-SNAPSHOT</karaf.branding.version>
23         <karaf.resources.version>1.8.0-SNAPSHOT</karaf.resources.version>
24
25         <!-- Local project version, needed for import -->
26         <aaa.version>${project.version}</aaa.version>
27         <parent-path>${basedir}</parent-path>
28
29         <!-- AuthZ -->
30         <yangtools.version>1.1.0-SNAPSHOT</yangtools.version>
31         <mdsal.version>2.2.0-SNAPSHOT</mdsal.version>
32         <mdsal.model.version>0.10.0-SNAPSHOT</mdsal.model.version>
33         <controller.mdsal.version>1.5.0-SNAPSHOT</controller.mdsal.version>
34         <restconf.version>1.5.0-SNAPSHOT</restconf.version>
35         <config.version>0.6.0-SNAPSHOT</config.version>
36         <config.restconf.configfile>09-rest-connector.xml</config.restconf.configfile>
37         <config.configfile.directory>etc/opendaylight/karaf</config.configfile.directory>
38
39         <!-- AuthN -->
40         <glassfish.json.version>1.0.4</glassfish.json.version>
41         <ehcache.version>2.8.3</ehcache.version>
42         <jta.version>1.1.1</jta.version>
43         <oltu.version>1.0.0</oltu.version>
44
45         <config.authn.store.configfile>08-authn-config.xml</config.authn.store.configfile>
46
47         <!-- Keystone plugin -->
48         <httpclient.version>4.4</httpclient.version>
49
50         <!-- Test -->
51         <javax.inject.version>1</javax.inject.version>
52         <servlet.tester.version>7.0.0.pre5</servlet.tester.version>
53         <features.test.version>1.8.0-SNAPSHOT</features.test.version>
54     </properties>
55
56     <dependencyManagement>
57         <dependencies>
58             <!-- ODL -->
59             <dependency>
60                 <groupId>org.opendaylight.aaa</groupId>
61                 <artifactId>aaa-artifacts</artifactId>
62                 <version>${aaa.version}</version>
63                 <type>pom</type>
64                 <scope>import</scope>
65             </dependency>
66             <dependency>
67                 <groupId>org.opendaylight.yangtools</groupId>
68                 <artifactId>yangtools-artifacts</artifactId>
69                 <version>${yangtools.version}</version>
70                 <type>pom</type>
71                 <scope>import</scope>
72             </dependency>
73             <dependency>
74                 <groupId>org.opendaylight.mdsal</groupId>
75                 <artifactId>mdsal-artifacts</artifactId>
76                 <version>${mdsal.version}</version>
77                 <scope>import</scope>
78                 <type>pom</type>
79             </dependency>
80             <dependency>
81                 <groupId>org.opendaylight.mdsal.model</groupId>
82                 <artifactId>mdsal-model-artifacts</artifactId>
83                 <version>${mdsal.model.version}</version>
84                 <scope>import</scope>
85                 <type>pom</type>
86             </dependency>
87             <dependency>
88                 <groupId>org.opendaylight.controller</groupId>
89                 <artifactId>mdsal-artifacts</artifactId>
90                 <version>${controller.mdsal.version}</version>
91                 <scope>import</scope>
92                 <type>pom</type>
93             </dependency>
94             <dependency>
95                 <groupId>org.opendaylight.controller</groupId>
96                 <artifactId>config-artifacts</artifactId>
97                 <version>${config.version}</version>
98                 <type>pom</type>
99                 <scope>import</scope>
100             </dependency>
101
102             <!-- Third-party -->
103             <dependency>
104                 <groupId>org.glassfish</groupId>
105                 <artifactId>javax.json</artifactId>
106                 <version>${glassfish.json.version}</version>
107             </dependency>
108             <dependency>
109                 <groupId>org.apache.felix</groupId>
110                 <artifactId>org.apache.felix.metatype</artifactId>
111             </dependency>
112             <dependency>
113                 <groupId>net.sf.ehcache</groupId>
114                 <artifactId>ehcache</artifactId>
115                 <version>${ehcache.version}</version>
116             </dependency>
117             <dependency>
118                 <groupId>org.apache.oltu.oauth2</groupId>
119                 <artifactId>org.apache.oltu.oauth2.common</artifactId>
120                 <version>${oltu.version}</version>
121             </dependency>
122             <dependency>
123                 <groupId>org.apache.oltu.oauth2</groupId>
124                 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
125                 <version>${oltu.version}</version>
126             </dependency>
127             <dependency>
128                 <groupId>org.apache.oltu.oauth2</groupId>
129                 <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
130                 <version>${oltu.version}</version>
131             </dependency>
132
133             <!-- Test stuff -->
134             <dependency>
135                 <groupId>org.opendaylight.odlparent</groupId>
136                 <artifactId>features-test</artifactId>
137                 <version>${features.test.version}</version>
138                 <scope>test</scope>
139             </dependency>
140             <dependency>
141                 <groupId>javax.inject</groupId>
142                 <artifactId>javax.inject</artifactId>
143                 <version>${javax.inject.version}</version>
144                 <scope>test</scope>
145             </dependency>
146             <dependency>
147               <groupId>org.mortbay.jetty</groupId>
148               <artifactId>jetty-servlet-tester</artifactId>
149               <version>${servlet.tester.version}</version>
150               <scope>test</scope>
151             </dependency>
152         </dependencies>
153     </dependencyManagement>
154
155     <build>
156         <plugins>
157             <plugin>
158                 <groupId>org.jacoco</groupId>
159                 <artifactId>jacoco-maven-plugin</artifactId>
160                 <configuration>
161                     <includes>
162                         <include>org.opendaylight.aaa.*</include>
163                     </includes>
164                 </configuration>
165                 <executions>
166                     <execution>
167                         <id>pre-test</id>
168                         <goals>
169                             <goal>prepare-agent</goal>
170                         </goals>
171                     </execution>
172                     <execution>
173                         <id>post-test</id>
174                         <goals>
175                             <goal>report</goal>
176                         </goals>
177                         <phase>test</phase>
178                     </execution>
179                 </executions>
180             </plugin>
181             <plugin>
182                 <groupId>org.apache.maven.plugins</groupId>
183                 <artifactId>maven-checkstyle-plugin</artifactId>
184                 <configuration>
185                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
186
187                     <configLocation>checkstyle-logging.xml</configLocation>
188                 </configuration>
189                 <executions>
190                     <execution>
191                         <goals>
192                             <goal>check</goal>
193                         </goals>
194                         <phase>process-sources</phase>
195                     </execution>
196                 </executions>
197                 <dependencies>
198                     <dependency>
199                         <groupId>org.opendaylight.yangtools</groupId>
200                         <artifactId>checkstyle-logging</artifactId>
201                         <version>${yangtools.version}</version>
202                     </dependency>
203                 </dependencies>
204             </plugin>
205         </plugins>
206     </build>
207
208     <url>https://wiki.opendaylight.org/view/AAA:Main</url>
209     <scm>
210         <connection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</connection>
211         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</developerConnection>
212         <tag>HEAD</tag>
213     </scm>
214
215     <reporting>
216         <plugins>
217             <plugin>
218                 <groupId>org.codehaus.mojo</groupId>
219                 <artifactId>findbugs-maven-plugin</artifactId>
220                 <version>${findbugs.maven.plugin.version}</version>
221                 <configuration>
222                     <effort>Max</effort>
223                     <threshold>Low</threshold>
224                     <goal>site</goal>
225                 </configuration>
226             </plugin>
227             <plugin>
228                 <groupId>org.codehaus.mojo</groupId>
229                 <artifactId>jdepend-maven-plugin</artifactId>
230                 <version>${jdepend.maven.plugin.version}</version>
231             </plugin>
232         </plugins>
233     </reporting>
234 </project>