Add ODLPrincipal to API so it is exposed for outside use
[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         <!-- IdmLight -->
48         <h2.version>1.4.191</h2.version>
49
50         <!-- Keystone plugin -->
51         <httpclient.version>4.4</httpclient.version>
52
53         <!-- Test -->
54         <javax.inject.version>1</javax.inject.version>
55         <servlet.tester.version>7.0.0.pre5</servlet.tester.version>
56         <features.test.version>1.8.0-SNAPSHOT</features.test.version>
57     </properties>
58
59     <dependencyManagement>
60         <dependencies>
61             <!-- ODL -->
62             <dependency>
63                 <groupId>org.opendaylight.aaa</groupId>
64                 <artifactId>aaa-artifacts</artifactId>
65                 <version>${aaa.version}</version>
66                 <type>pom</type>
67                 <scope>import</scope>
68             </dependency>
69             <dependency>
70                 <groupId>org.opendaylight.yangtools</groupId>
71                 <artifactId>yangtools-artifacts</artifactId>
72                 <version>${yangtools.version}</version>
73                 <type>pom</type>
74                 <scope>import</scope>
75             </dependency>
76             <dependency>
77                 <groupId>org.opendaylight.mdsal</groupId>
78                 <artifactId>mdsal-artifacts</artifactId>
79                 <version>${mdsal.version}</version>
80                 <scope>import</scope>
81                 <type>pom</type>
82             </dependency>
83             <dependency>
84                 <groupId>org.opendaylight.mdsal.model</groupId>
85                 <artifactId>mdsal-model-artifacts</artifactId>
86                 <version>${mdsal.model.version}</version>
87                 <scope>import</scope>
88                 <type>pom</type>
89             </dependency>
90             <dependency>
91                 <groupId>org.opendaylight.controller</groupId>
92                 <artifactId>mdsal-artifacts</artifactId>
93                 <version>${controller.mdsal.version}</version>
94                 <scope>import</scope>
95                 <type>pom</type>
96             </dependency>
97             <dependency>
98                 <groupId>org.opendaylight.controller</groupId>
99                 <artifactId>config-artifacts</artifactId>
100                 <version>${config.version}</version>
101                 <type>pom</type>
102                 <scope>import</scope>
103             </dependency>
104
105             <!-- Third-party -->
106             <dependency>
107                 <groupId>org.glassfish</groupId>
108                 <artifactId>javax.json</artifactId>
109                 <version>${glassfish.json.version}</version>
110             </dependency>
111             <dependency>
112                 <groupId>org.apache.felix</groupId>
113                 <artifactId>org.apache.felix.metatype</artifactId>
114             </dependency>
115             <dependency>
116                 <groupId>net.sf.ehcache</groupId>
117                 <artifactId>ehcache</artifactId>
118                 <version>${ehcache.version}</version>
119             </dependency>
120             <dependency>
121                 <groupId>org.apache.oltu.oauth2</groupId>
122                 <artifactId>org.apache.oltu.oauth2.common</artifactId>
123                 <version>${oltu.version}</version>
124             </dependency>
125             <dependency>
126                 <groupId>org.apache.oltu.oauth2</groupId>
127                 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
128                 <version>${oltu.version}</version>
129             </dependency>
130             <dependency>
131                 <groupId>org.apache.oltu.oauth2</groupId>
132                 <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
133                 <version>${oltu.version}</version>
134             </dependency>
135             <dependency>
136                 <groupId>com.h2database</groupId>
137                 <artifactId>h2</artifactId>
138                 <version>${h2.version}</version>
139             </dependency>
140
141             <!-- Test stuff -->
142             <dependency>
143                 <groupId>org.opendaylight.odlparent</groupId>
144                 <artifactId>features-test</artifactId>
145                 <version>${features.test.version}</version>
146                 <scope>test</scope>
147             </dependency>
148             <dependency>
149                 <groupId>javax.inject</groupId>
150                 <artifactId>javax.inject</artifactId>
151                 <version>${javax.inject.version}</version>
152                 <scope>test</scope>
153             </dependency>
154             <dependency>
155               <groupId>org.mortbay.jetty</groupId>
156               <artifactId>jetty-servlet-tester</artifactId>
157               <version>${servlet.tester.version}</version>
158               <scope>test</scope>
159             </dependency>
160         </dependencies>
161     </dependencyManagement>
162
163     <build>
164         <plugins>
165             <plugin>
166                 <groupId>org.jacoco</groupId>
167                 <artifactId>jacoco-maven-plugin</artifactId>
168                 <configuration>
169                     <includes>
170                         <include>org.opendaylight.aaa.*</include>
171                     </includes>
172                 </configuration>
173                 <executions>
174                     <execution>
175                         <id>pre-test</id>
176                         <goals>
177                             <goal>prepare-agent</goal>
178                         </goals>
179                     </execution>
180                     <execution>
181                         <id>post-test</id>
182                         <goals>
183                             <goal>report</goal>
184                         </goals>
185                         <phase>test</phase>
186                     </execution>
187                 </executions>
188             </plugin>
189             <plugin>
190                 <groupId>org.apache.maven.plugins</groupId>
191                 <artifactId>maven-checkstyle-plugin</artifactId>
192                 <configuration>
193                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
194
195                     <configLocation>checkstyle-logging.xml</configLocation>
196                 </configuration>
197                 <executions>
198                     <execution>
199                         <goals>
200                             <goal>check</goal>
201                         </goals>
202                         <phase>process-sources</phase>
203                     </execution>
204                 </executions>
205                 <dependencies>
206                     <dependency>
207                         <groupId>org.opendaylight.yangtools</groupId>
208                         <artifactId>checkstyle-logging</artifactId>
209                         <version>${yangtools.version}</version>
210                     </dependency>
211                 </dependencies>
212             </plugin>
213         </plugins>
214     </build>
215
216     <url>https://wiki.opendaylight.org/view/AAA:Main</url>
217     <scm>
218         <connection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</connection>
219         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</developerConnection>
220         <tag>HEAD</tag>
221     </scm>
222
223     <reporting>
224         <plugins>
225             <plugin>
226                 <groupId>org.codehaus.mojo</groupId>
227                 <artifactId>findbugs-maven-plugin</artifactId>
228                 <version>${findbugs.maven.plugin.version}</version>
229                 <configuration>
230                     <effort>Max</effort>
231                     <threshold>Low</threshold>
232                     <goal>site</goal>
233                 </configuration>
234             </plugin>
235             <plugin>
236                 <groupId>org.codehaus.mojo</groupId>
237                 <artifactId>jdepend-maven-plugin</artifactId>
238                 <version>${jdepend.maven.plugin.version}</version>
239             </plugin>
240         </plugins>
241     </reporting>
242 </project>