Enable findbugs in aaa-parent
[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.mdsal</groupId>
7     <artifactId>binding-parent</artifactId>
8     <version>0.13.0-SNAPSHOT</version>
9     <relativePath />
10   </parent>
11
12   <groupId>org.opendaylight.aaa</groupId>
13   <artifactId>aaa-parent</artifactId>
14   <version>0.8.0-SNAPSHOT</version>
15   <name>ODL :: aaa :: ${project.artifactId}</name>
16   <packaging>pom</packaging>
17
18   <properties>
19     <!-- AuthN -->
20     <oltu.version>1.0.2</oltu.version>
21   </properties>
22
23   <dependencyManagement>
24     <dependencies>
25       <!-- ODL -->
26       <dependency>
27         <groupId>org.opendaylight.aaa</groupId>
28         <artifactId>aaa-artifacts</artifactId>
29         <version>${project.version}</version>
30         <type>pom</type>
31         <scope>import</scope>
32       </dependency>
33       <dependency>
34         <groupId>org.opendaylight.controller</groupId>
35         <artifactId>mdsal-artifacts</artifactId>
36         <version>1.8.0-SNAPSHOT</version>
37         <scope>import</scope>
38         <type>pom</type>
39       </dependency>
40
41       <!-- Third-party -->
42       <dependency>
43         <groupId>org.glassfish</groupId>
44         <artifactId>javax.json</artifactId>
45         <version>1.0.4</version>
46       </dependency>
47       <dependency>
48         <groupId>org.apache.felix</groupId>
49         <artifactId>org.apache.felix.metatype</artifactId>
50       </dependency>
51       <dependency>
52         <groupId>net.sf.ehcache</groupId>
53         <artifactId>ehcache</artifactId>
54         <version>2.8.3</version>
55       </dependency>
56       <dependency>
57         <groupId>org.apache.oltu.oauth2</groupId>
58         <artifactId>org.apache.oltu.oauth2.common</artifactId>
59         <version>${oltu.version}</version>
60         <exclusions>
61           <exclusion>
62             <!-- This is clashing with jackson's view of org.json world -->
63             <groupId>org.json</groupId>
64             <artifactId>json</artifactId>
65           </exclusion>
66         </exclusions>
67       </dependency>
68       <dependency>
69         <groupId>org.apache.oltu.oauth2</groupId>
70         <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
71         <version>${oltu.version}</version>
72         <exclusions>
73           <exclusion>
74             <!-- This is clashing with jackson's view of org.json world -->
75             <groupId>org.json</groupId>
76             <artifactId>json</artifactId>
77           </exclusion>
78         </exclusions>
79       </dependency>
80       <dependency>
81         <groupId>org.apache.oltu.oauth2</groupId>
82         <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
83         <version>${oltu.version}</version>
84       </dependency>
85
86       <!-- Test stuff -->
87       <dependency>
88         <groupId>org.opendaylight.odlparent</groupId>
89         <artifactId>features-test</artifactId>
90         <scope>test</scope>
91       </dependency>
92       <dependency>
93         <groupId>org.mortbay.jetty</groupId>
94         <artifactId>jetty-servlet-tester</artifactId>
95         <version>7.0.0.pre5</version>
96         <scope>test</scope>
97       </dependency>
98     </dependencies>
99   </dependencyManagement>
100
101   <build>
102     <plugins>
103       <plugin>
104         <groupId>org.apache.maven.plugins</groupId>
105         <artifactId>maven-checkstyle-plugin</artifactId>
106         <configuration>
107            <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
108         </configuration>
109       </plugin>
110       <plugin>
111         <groupId>org.codehaus.mojo</groupId>
112         <artifactId>findbugs-maven-plugin</artifactId>
113         <configuration>
114           <failOnError>true</failOnError>
115         </configuration>
116       </plugin>
117       <plugin>
118         <groupId>org.jacoco</groupId>
119         <artifactId>jacoco-maven-plugin</artifactId>
120         <configuration>
121           <includes>
122             <include>org.opendaylight.aaa.*</include>
123           </includes>
124         </configuration>
125         <executions>
126           <execution>
127             <id>pre-test</id>
128             <goals>
129               <goal>prepare-agent</goal>
130             </goals>
131           </execution>
132           <execution>
133             <id>post-test</id>
134             <goals>
135               <goal>report</goal>
136             </goals>
137             <phase>test</phase>
138           </execution>
139         </executions>
140       </plugin>
141     </plugins>
142   </build>
143
144   <url>https://wiki.opendaylight.org/view/AAA:Main</url>
145   <scm>
146     <connection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</connection>
147     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</developerConnection>
148     <tag>HEAD</tag>
149   </scm>
150
151   <reporting>
152     <plugins>
153       <plugin>
154         <groupId>org.codehaus.mojo</groupId>
155         <artifactId>jdepend-maven-plugin</artifactId>
156         <version>${jdepend.maven.plugin.version}</version>
157       </plugin>
158     </plugins>
159   </reporting>
160 </project>