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