Merge "BUG-868: move to use unified ClassLoaderUtils"
[controller.git] / third-party / commons / thirdparty / 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3   <modelVersion>4.0.0</modelVersion>
4   <prerequisites>
5     <maven>3.0</maven>
6   </prerequisites>
7   <groupId>org.opendaylight.controller</groupId>
8   <artifactId>commons.thirdparty</artifactId>
9   <version>1.1.2-SNAPSHOT</version>
10   <packaging>pom</packaging>
11   <scm>
12     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
13     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
14     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
15     <tag>HEAD</tag>
16   </scm>
17
18   <properties>
19     <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
20     <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
21     <nexus.repository.release>opendaylight.release</nexus.repository.release>
22     <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
23     <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
24     <siteplugin>3.2</siteplugin>
25     <projectinfo>2.6</projectinfo>
26     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
27     <compiler.version>2.3.2</compiler.version>
28     <surefire.version>2.13</surefire.version>
29     <releaseplugin.version>2.3.2</releaseplugin.version>
30     <enforcer.version>1.3.1</enforcer.version>
31     <bundle.plugin.version>2.3.7</bundle.plugin.version>
32   </properties>
33
34   <pluginRepositories>
35     <pluginRepository>
36       <id>central2</id>
37       <name>central2</name>
38       <url>http://repo2.maven.org/maven2</url>
39     </pluginRepository>
40   </pluginRepositories>
41
42   <profiles>
43     <profile>
44       <id>fastreassembly</id>
45       <build>
46         <plugins>
47           <plugin>
48             <groupId>org.apache.maven.plugins</groupId>
49             <artifactId>maven-dependency-plugin</artifactId>
50             <version>2.4</version>
51             <executions>
52               <execution>
53                 <id>copyfastreassembly</id>
54                 <phase>install</phase>
55                 <goals>
56                   <goal>copy</goal>
57                 </goals>
58                 <configuration>
59                   <artifactItems>
60                     <artifactItem>
61                       <groupId>${project.groupId}</groupId>
62                       <artifactId>${project.artifactId}</artifactId>
63                       <version>${project.version}</version>
64                       <destFileName>${project.groupId}.${project.artifactId}-${project.version}.jar</destFileName>
65                     </artifactItem>
66                   </artifactItems>
67                   <outputDirectory>${fastreassembly.directory}</outputDirectory>
68                 </configuration>
69               </execution>
70             </executions>
71           </plugin>
72         </plugins>
73       </build>
74     </profile>
75   </profiles>
76
77   <build>
78     <plugins>
79       <plugin>
80         <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
81         <artifactId>maven-java-formatter-plugin</artifactId>
82         <version>0.3.1</version>
83         <configuration>
84           <excludes>
85             <exclude>**/*</exclude>
86           </excludes>
87         </configuration>
88       </plugin>
89     </plugins>
90     <pluginManagement>
91       <plugins>
92         <plugin>
93           <groupId>org.apache.maven.plugins</groupId>
94           <artifactId>maven-release-plugin</artifactId>
95           <version>${releaseplugin.version}</version>
96         </plugin>
97         <plugin>
98           <groupId>org.apache.felix</groupId>
99           <artifactId>maven-bundle-plugin</artifactId>
100           <version>${bundle.plugin.version}</version>
101           <extensions>true</extensions>
102         </plugin>
103         <plugin>
104           <groupId>org.apache.maven.plugins</groupId>
105           <artifactId>maven-site-plugin</artifactId>
106           <version>${siteplugin}</version>
107           <configuration>
108             <reportPlugins>
109               <plugin>
110                 <groupId>org.apache.maven.plugins</groupId>
111                 <artifactId>maven-project-info-reports-plugin</artifactId>
112                 <version>${projectinfo}</version>
113                 <configuration>
114                   <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
115                   <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
116                 </configuration>
117                 <reports>
118                   <report>index</report>
119                   <report>project-team</report>
120                   <report>license</report>
121                   <report>mailing-list</report>
122                   <report>plugin-management</report>
123                   <report>cim</report>
124                   <report>issue-tracking</report>
125                   <report>scm</report>
126                   <report>summary</report>
127                 </reports>
128               </plugin>
129               <plugin>
130                 <groupId>org.apache.maven.plugins</groupId>
131                 <artifactId>maven-checkstyle-plugin</artifactId>
132                 <version>2.10</version>
133               </plugin>
134               <plugin>
135                 <groupId>org.apache.maven.plugins</groupId>
136                 <artifactId>maven-javadoc-plugin</artifactId>
137                 <version>2.8.1</version>
138                 <configuration>
139                   <doclet>org.jboss.apiviz.APIviz</doclet>
140                   <docletArtifact>
141                     <groupId>org.jboss.apiviz</groupId>
142                     <artifactId>apiviz</artifactId>
143                     <version>1.3.2.GA</version>
144                   </docletArtifact>
145                   <finalName>${project.artifactId}-${build.suffix}</finalName>
146                   <useStandardDocletOptions>true</useStandardDocletOptions>
147                   <charset>UTF-8</charset>
148                   <encoding>UTF-8</encoding>
149                   <docencoding>UTF-8</docencoding>
150                   <breakiterator>true</breakiterator>
151                   <version>true</version>
152                   <author>true</author>
153                   <keywords>true</keywords>
154                   <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava</excludePackageNames>
155                 </configuration>
156               </plugin>
157               <plugin>
158                 <groupId>org.apache.maven.plugins</groupId>
159                 <artifactId>maven-jxr-plugin</artifactId>
160                 <version>2.3</version>
161                 <configuration>
162                   <aggregate>true</aggregate>
163                   <linkJavadoc>true</linkJavadoc>
164                 </configuration>
165               </plugin>
166             </reportPlugins>
167           </configuration>
168         </plugin>
169       </plugins>
170     </pluginManagement>
171   </build>
172
173   <repositories>
174     <repository>
175       <id>central2</id>
176       <name>central2</name>
177       <url>http://repo2.maven.org/maven2</url>
178       <snapshots>
179           <enabled>false</enabled>
180       </snapshots>
181       <releases>
182           <updatePolicy>never</updatePolicy>
183           <enabled>true</enabled>
184       </releases>
185     </repository>
186     <repository>
187       <id>central</id>
188       <name>central</name>
189       <url>http://repo1.maven.org/maven2</url>
190       <snapshots>
191            <enabled>false</enabled>
192       </snapshots>
193       <releases>
194           <updatePolicy>never</updatePolicy>
195           <enabled>true</enabled>
196       </releases>
197     </repository>
198     <!-- Third Packages hosted in local maven because not available in
199          other places -->
200     <repository>
201       <id>thirdparty</id>
202       <name>thirdparty</name>
203       <url>${nexusproxy}/repositories/thirdparty</url>
204       <snapshots>
205           <enabled>false</enabled>
206       </snapshots>
207       <releases>
208           <updatePolicy>never</updatePolicy>
209           <enabled>true</enabled>
210        </releases>
211     </repository>
212   </repositories>
213   <distributionManagement>
214     <!-- OpenDayLight Released artifact -->
215     <repository>
216       <id>opendaylight-release</id>
217       <url>${nexusproxy}/repositories/${nexus.repository.release}/</url>
218     </repository>
219     <!-- OpenDayLight Snapshot artifact -->
220     <snapshotRepository>
221       <id>opendaylight-snapshot</id>
222       <url>${nexusproxy}/repositories/${nexus.repository.snapshot}/</url>
223     </snapshotRepository>
224     <!-- Site deployment -->
225     <site>
226       <id>website</id>
227       <url>${sitedeploy}</url>
228     </site>
229   </distributionManagement>
230 </project>