Fix the compilation error
[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.7.0-SNAPSHOT</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.opendaylight.aaa</groupId>
13     <artifactId>aaa-parent</artifactId>
14     <version>0.4.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.3.0-SNAPSHOT</karaf.branding.version>
23         <karaf.resources.version>1.7.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.0.0-SNAPSHOT</yangtools.version>
31         <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
32         <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
33         <mdsal.version>2.1.0-SNAPSHOT</mdsal.version>
34         <mdsal.model.version>0.9.0-SNAPSHOT</mdsal.model.version>
35         <controller.mdsal.version>1.4.0-SNAPSHOT</controller.mdsal.version>
36         <restconf.version>1.4.0-SNAPSHOT</restconf.version>
37         <config.version>0.5.0-SNAPSHOT</config.version>
38         <config.authz.service.configfile>08-authz-config.xml</config.authz.service.configfile>
39         <config.restconf.configfile>09-rest-connector.xml</config.restconf.configfile>
40         <config.configfile.directory>etc/opendaylight/karaf</config.configfile.directory>
41
42         <!-- AuthN -->
43         <glassfish.json.version>1.0.4</glassfish.json.version>
44         <ehcache.version>2.8.3</ehcache.version>
45         <jta.version>1.1.1</jta.version>
46         <oltu.version>1.0.0</oltu.version>
47
48         <config.authn.store.configfile>08-authn-config.xml</config.authn.store.configfile>
49
50         <!-- IdmLight -->
51         <h2.version>1.4.191</h2.version>
52
53         <!-- Keystone plugin -->
54         <httpclient.version>4.4</httpclient.version>
55
56         <!-- Test -->
57         <javax.inject.version>1</javax.inject.version>
58         <servlet.tester.version>7.0.0.pre5</servlet.tester.version>
59         <features.test.version>1.7.0-SNAPSHOT</features.test.version>
60     </properties>
61
62     <dependencyManagement>
63         <dependencies>
64             <!-- ODL -->
65             <dependency>
66                 <groupId>org.opendaylight.aaa</groupId>
67                 <artifactId>aaa-artifacts</artifactId>
68                 <version>${aaa.version}</version>
69                 <type>pom</type>
70                 <scope>import</scope>
71             </dependency>
72             <dependency>
73                 <groupId>org.opendaylight.yangtools</groupId>
74                 <artifactId>yangtools-artifacts</artifactId>
75                 <version>${yangtools.version}</version>
76                 <type>pom</type>
77                 <scope>import</scope>
78             </dependency>
79             <dependency>
80                 <groupId>org.opendaylight.mdsal</groupId>
81                 <artifactId>mdsal-artifacts</artifactId>
82                 <version>${mdsal.version}</version>
83                 <scope>import</scope>
84                 <type>pom</type>
85             </dependency>
86             <dependency>
87                 <groupId>org.opendaylight.mdsal.model</groupId>
88                 <artifactId>mdsal-model-artifacts</artifactId>
89                 <version>${mdsal.model.version}</version>
90                 <scope>import</scope>
91                 <type>pom</type>
92             </dependency>
93             <dependency>
94                 <groupId>org.opendaylight.controller</groupId>
95                 <artifactId>mdsal-artifacts</artifactId>
96                 <version>${controller.mdsal.version}</version>
97                 <scope>import</scope>
98                 <type>pom</type>
99             </dependency>
100             <dependency>
101                 <groupId>org.opendaylight.controller</groupId>
102                 <artifactId>config-artifacts</artifactId>
103                 <version>${config.version}</version>
104                 <type>pom</type>
105                 <scope>import</scope>
106             </dependency>
107
108             <!-- Third-party -->
109             <dependency>
110                 <groupId>org.glassfish</groupId>
111                 <artifactId>javax.json</artifactId>
112                 <version>${glassfish.json.version}</version>
113             </dependency>
114             <dependency>
115                 <groupId>org.apache.felix</groupId>
116                 <artifactId>org.apache.felix.metatype</artifactId>
117             </dependency>
118             <dependency>
119                 <groupId>net.sf.ehcache</groupId>
120                 <artifactId>ehcache</artifactId>
121                 <version>${ehcache.version}</version>
122             </dependency>
123             <dependency>
124                 <groupId>org.apache.geronimo.specs</groupId>
125                 <artifactId>geronimo-jta_1.1_spec</artifactId>
126                 <version>${jta.version}</version>
127             </dependency>
128             <dependency>
129                 <groupId>org.apache.oltu.oauth2</groupId>
130                 <artifactId>org.apache.oltu.oauth2.common</artifactId>
131                 <version>${oltu.version}</version>
132             </dependency>
133             <dependency>
134                 <groupId>org.apache.oltu.oauth2</groupId>
135                 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
136                 <version>${oltu.version}</version>
137             </dependency>
138             <dependency>
139                 <groupId>org.apache.oltu.oauth2</groupId>
140                 <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
141                 <version>${oltu.version}</version>
142             </dependency>
143             <dependency>
144                 <groupId>com.h2database</groupId>
145                 <artifactId>h2</artifactId>
146                 <version>${h2.version}</version>
147             </dependency>
148
149             <!-- Test stuff -->
150             <dependency>
151                 <groupId>org.opendaylight.odlparent</groupId>
152                 <artifactId>features-test</artifactId>
153                 <version>${features.test.version}</version>
154                 <scope>test</scope>
155             </dependency>
156             <dependency>
157                 <groupId>javax.inject</groupId>
158                 <artifactId>javax.inject</artifactId>
159                 <version>${javax.inject.version}</version>
160                 <scope>test</scope>
161             </dependency>
162             <dependency>
163               <groupId>org.mortbay.jetty</groupId>
164               <artifactId>jetty-servlet-tester</artifactId>
165               <version>${servlet.tester.version}</version>
166               <scope>test</scope>
167             </dependency>
168         </dependencies>
169     </dependencyManagement>
170
171     <build>
172         <plugins>
173             <plugin>
174                 <groupId>org.jacoco</groupId>
175                 <artifactId>jacoco-maven-plugin</artifactId>
176                 <configuration>
177                     <includes>
178                         <include>org.opendaylight.aaa.*</include>
179                     </includes>
180                 </configuration>
181                 <executions>
182                     <execution>
183                         <id>pre-test</id>
184                         <goals>
185                             <goal>prepare-agent</goal>
186                         </goals>
187                     </execution>
188                     <execution>
189                         <id>post-test</id>
190                         <goals>
191                             <goal>report</goal>
192                         </goals>
193                         <phase>test</phase>
194                     </execution>
195                 </executions>
196             </plugin>
197             <plugin>
198                 <groupId>org.apache.maven.plugins</groupId>
199                 <artifactId>maven-checkstyle-plugin</artifactId>
200                 <configuration>
201                     <!-- checkstyle is evil -->
202                     <skip>false</skip>
203                     <failOnViolation>true</failOnViolation>
204                     <configLocation>checkstyle-logging.xml</configLocation>
205                     <consoleOutput>true</consoleOutput>
206                     <includeTestSourceDirectory>true</includeTestSourceDirectory>
207                     <sourceDirectory>${project.basedir}</sourceDirectory>
208                     <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
209                     <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
210                 </configuration>
211                 <executions>
212                     <execution>
213                         <goals>
214                             <goal>check</goal>
215                         </goals>
216                         <phase>process-sources</phase>
217                     </execution>
218                 </executions>
219                 <dependencies>
220                     <dependency>
221                         <groupId>org.opendaylight.yangtools</groupId>
222                         <artifactId>checkstyle-logging</artifactId>
223                         <version>${yangtools.version}</version>
224                     </dependency>
225                 </dependencies>
226             </plugin>
227             <plugin>
228                 <groupId>org.codehaus.mojo</groupId>
229                 <artifactId>build-helper-maven-plugin</artifactId>
230                 <executions>
231                     <execution>
232                         <phase>generate-sources</phase>
233                         <goals>
234                             <goal>add-source</goal>
235                         </goals>
236                         <configuration>
237                             <sources>
238                                 <source>${jmxGeneratorPath}</source>
239                                 <source>${salGeneratorPath}</source>
240                             </sources>
241                         </configuration>
242                     </execution>
243                 </executions>
244             </plugin>
245         </plugins>
246     </build>
247
248     <url>https://wiki.opendaylight.org/view/AAA:Main</url>
249     <scm>
250         <connection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</connection>
251         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</developerConnection>
252         <tag>HEAD</tag>
253     </scm>
254
255     <reporting>
256         <plugins>
257             <plugin>
258                 <groupId>org.codehaus.mojo</groupId>
259                 <artifactId>findbugs-maven-plugin</artifactId>
260                 <version>${findbugs.maven.plugin.version}</version>
261                 <configuration>
262                     <effort>Max</effort>
263                     <threshold>Low</threshold>
264                     <goal>site</goal>
265                 </configuration>
266             </plugin>
267             <plugin>
268                 <groupId>org.codehaus.mojo</groupId>
269                 <artifactId>jdepend-maven-plugin</artifactId>
270                 <version>${jdepend.maven.plugin.version}</version>
271             </plugin>
272         </plugins>
273     </reporting>
274 </project>