cf2e5670d1e71b3180e23e839f4ae1159dd43b87
[bgpcep.git] / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11     <modelVersion>4.0.0</modelVersion>
12     <parent>
13         <groupId>org.opendaylight.odlparent</groupId>
14         <artifactId>bundle-parent</artifactId>
15         <version>3.1.7</version>
16         <relativePath/>
17     </parent>
18
19     <groupId>org.opendaylight.bgpcep</groupId>
20     <artifactId>bgpcep-parent</artifactId>
21     <name>BGPCEP common parent</name>
22     <version>0.10.3-SNAPSHOT</version>
23     <packaging>pom</packaging>
24
25     <licenses>
26         <license>
27             <name>The Eclipse Public License v1.0</name>
28             <url>http://www.eclipse.org/legal/epl-v10.html</url>
29             <distribution>repo</distribution>
30         </license>
31     </licenses>
32
33     <dependencyManagement>
34         <dependencies>
35             <dependency>
36                 <groupId>org.opendaylight.bgpcep</groupId>
37                 <artifactId>bgpcep-artifacts</artifactId>
38                 <version>${project.version}</version>
39                 <type>pom</type>
40                 <scope>import</scope>
41             </dependency>
42             <!-- ODL-CONTROLLER-ARTIFACTS -->
43             <dependency>
44                 <groupId>org.opendaylight.controller</groupId>
45                 <artifactId>mdsal-artifacts</artifactId>
46                 <version>1.8.3-SNAPSHOT</version>
47                 <scope>import</scope>
48                 <type>pom</type>
49             </dependency>
50             <!-- YANG TOOLS ARTIFACTS -->
51             <dependency>
52                 <groupId>org.opendaylight.yangtools</groupId>
53                 <artifactId>yangtools-artifacts</artifactId>
54                 <version>2.0.20</version>
55                 <scope>import</scope>
56                 <type>pom</type>
57             </dependency>
58             <!-- ODL-MDSAL-ARTIFACTS -->
59             <dependency>
60                 <groupId>org.opendaylight.mdsal</groupId>
61                 <artifactId>mdsal-artifacts</artifactId>
62                 <version>2.5.3-SNAPSHOT</version>
63                 <type>pom</type>
64                 <scope>import</scope>
65             </dependency>
66             <dependency>
67                 <groupId>org.opendaylight.mdsal.model</groupId>
68                 <artifactId>mdsal-model-artifacts</artifactId>
69                 <version>0.13.3-SNAPSHOT</version>
70                 <type>pom</type>
71                 <scope>import</scope>
72             </dependency>
73             <dependency>
74                 <groupId>org.opendaylight.netconf</groupId>
75                 <artifactId>restconf-artifacts</artifactId>
76                 <version>1.8.3-SNAPSHOT</version>
77                 <type>pom</type>
78                 <scope>import</scope>
79             </dependency>
80         </dependencies>
81     </dependencyManagement>
82
83     <reporting>
84         <plugins>
85             <plugin>
86                 <groupId>org.apache.maven.plugins</groupId>
87                 <artifactId>maven-project-info-reports-plugin</artifactId>
88                 <version>${projectinfo}</version>
89                 <configuration>
90                     <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
91                     <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
92                 </configuration>
93                 <reportSets>
94                     <reportSet>
95                         <reports>
96                             <report>dependency-info</report>
97                             <report>license</report>
98                         </reports>
99                     </reportSet>
100                 </reportSets>
101             </plugin>
102             <plugin>
103                 <groupId>org.apache.maven.plugins</groupId>
104                 <artifactId>maven-jxr-plugin</artifactId>
105                 <version>2.5</version>
106                 <configuration>
107                     <aggregate>true</aggregate>
108                     <linkJavadoc>true</linkJavadoc>
109                 </configuration>
110             </plugin>
111             <plugin>
112                 <groupId>org.codehaus.mojo</groupId>
113                 <artifactId>findbugs-maven-plugin</artifactId>
114                 <configuration>
115                     <effort>Max</effort>
116                     <threshold>Low</threshold>
117                     <goal>site</goal>
118                 </configuration>
119             </plugin>
120             <plugin>
121                 <groupId>org.codehaus.mojo</groupId>
122                 <artifactId>jdepend-maven-plugin</artifactId>
123                 <version>2.0-beta-2</version>
124             </plugin>
125         </plugins>
126     </reporting>
127
128     <build>
129         <plugins>
130             <plugin>
131                 <groupId>org.apache.maven.plugins</groupId>
132                 <artifactId>maven-compiler-plugin</artifactId>
133                 <configuration>
134                     <source>${java.version.source}</source>
135                     <target>${java.version.target}</target>
136                     <testSource>${java.version.source}</testSource>
137                     <testTarget>${java.version.target}</testTarget>
138                     <showDeprecation>true</showDeprecation>
139                     <showWarnings>true</showWarnings>
140                     <optimize>true</optimize>
141                 </configuration>
142             </plugin>
143             <plugin>
144                 <groupId>org.apache.maven.plugins</groupId>
145                 <artifactId>maven-surefire-plugin</artifactId>
146                 <configuration>
147                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
148                     <runOrder>alphabetical</runOrder>
149                     <threadCount>1</threadCount>
150                     <reuseForks>false</reuseForks>
151                 </configuration>
152             </plugin>
153             <plugin>
154                 <groupId>org.apache.maven.plugins</groupId>
155                 <artifactId>maven-dependency-plugin</artifactId>
156                 <executions>
157                     <execution>
158                         <id>analyze</id>
159                         <goals>
160                             <goal>analyze-only</goal>
161                         </goals>
162                         <configuration>
163                             <failOnWarning>true</failOnWarning>
164                             <ignoreNonCompile>true</ignoreNonCompile>
165                         </configuration>
166                     </execution>
167                 </executions>
168             </plugin>
169             <plugin>
170                 <groupId>org.apache.maven.plugins</groupId>
171                 <artifactId>maven-checkstyle-plugin</artifactId>
172                 <dependencies>
173                     <dependency>
174                         <groupId>org.opendaylight.yangtools</groupId>
175                         <artifactId>checkstyle-logging</artifactId>
176                         <version>2.0.20</version>
177                     </dependency>
178                 </dependencies>
179                 <configuration>
180                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
181                 </configuration>
182             </plugin>
183             <plugin>
184                 <groupId>org.codehaus.mojo</groupId>
185                 <artifactId>findbugs-maven-plugin</artifactId>
186                 <configuration>
187                     <failOnError>true</failOnError>
188                 </configuration>
189             </plugin>
190         </plugins>
191     </build>
192     <scm>
193         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
194         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
195         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
196         <tag>HEAD</tag>
197     </scm>
198 </project>