e38829926220bb65eb9f6b326966fadad6110ff0
[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   </properties>
32
33   <pluginRepositories>
34     <pluginRepository>
35       <id>central2</id>
36       <name>central2</name>
37       <url>http://repo2.maven.org/maven2</url>
38     </pluginRepository>
39   </pluginRepositories>
40
41   <profiles>
42     <profile>
43       <id>fastreassembly</id>
44       <build>
45         <plugins>
46           <plugin>
47             <groupId>org.apache.maven.plugins</groupId>
48             <artifactId>maven-dependency-plugin</artifactId>
49             <version>2.4</version>
50             <executions>
51               <execution>
52                 <id>copyfastreassembly</id>
53                 <phase>install</phase>
54                 <goals>
55                   <goal>copy</goal>
56                 </goals>
57                 <configuration>
58                   <artifactItems>
59                     <artifactItem>
60                       <groupId>${project.groupId}</groupId>
61                       <artifactId>${project.artifactId}</artifactId>
62                       <version>${project.version}</version>
63                       <destFileName>${project.groupId}.${project.artifactId}-${project.version}.jar</destFileName>
64                     </artifactItem>
65                   </artifactItems>
66                   <outputDirectory>${fastreassembly.directory}</outputDirectory>
67                 </configuration>
68               </execution>
69             </executions>
70           </plugin>
71         </plugins>
72       </build>
73     </profile>
74   </profiles>
75
76   <build>
77     <plugins>
78       <plugin>
79         <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
80         <artifactId>maven-java-formatter-plugin</artifactId>
81         <version>0.3.1</version>
82         <configuration>
83           <excludes>
84             <exclude>**/*</exclude>
85           </excludes>
86         </configuration>
87       </plugin>
88     </plugins>
89     <pluginManagement>
90       <plugins>
91         <plugin>
92           <groupId>org.apache.maven.plugins</groupId>
93           <artifactId>maven-release-plugin</artifactId>
94           <version>${releaseplugin.version}</version>
95         </plugin>
96         <plugin>
97           <groupId>org.apache.maven.plugins</groupId>
98           <artifactId>maven-site-plugin</artifactId>
99           <version>${siteplugin}</version>
100           <configuration>
101             <reportPlugins>
102               <plugin>
103                 <groupId>org.apache.maven.plugins</groupId>
104                 <artifactId>maven-project-info-reports-plugin</artifactId>
105                 <version>${projectinfo}</version>
106                 <configuration>
107                   <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
108                   <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
109                 </configuration>
110                 <reports>
111                   <report>index</report>
112                   <report>project-team</report>
113                   <report>license</report>
114                   <report>mailing-list</report>
115                   <report>plugin-management</report>
116                   <report>cim</report>
117                   <report>issue-tracking</report>
118                   <report>scm</report>
119                   <report>summary</report>
120                 </reports>
121               </plugin>
122               <plugin>
123                 <groupId>org.apache.maven.plugins</groupId>
124                 <artifactId>maven-checkstyle-plugin</artifactId>
125                 <version>2.10</version>
126               </plugin>
127               <plugin>
128                 <groupId>org.apache.maven.plugins</groupId>
129                 <artifactId>maven-javadoc-plugin</artifactId>
130                 <version>2.8.1</version>
131                 <configuration>
132                   <doclet>org.jboss.apiviz.APIviz</doclet>
133                   <docletArtifact>
134                     <groupId>org.jboss.apiviz</groupId>
135                     <artifactId>apiviz</artifactId>
136                     <version>1.3.2.GA</version>
137                   </docletArtifact>
138                   <finalName>${project.artifactId}-${build.suffix}</finalName>
139                   <useStandardDocletOptions>true</useStandardDocletOptions>
140                   <charset>UTF-8</charset>
141                   <encoding>UTF-8</encoding>
142                   <docencoding>UTF-8</docencoding>
143                   <breakiterator>true</breakiterator>
144                   <version>true</version>
145                   <author>true</author>
146                   <keywords>true</keywords>
147                   <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava</excludePackageNames>
148                 </configuration>
149               </plugin>
150               <plugin>
151                 <groupId>org.apache.maven.plugins</groupId>
152                 <artifactId>maven-jxr-plugin</artifactId>
153                 <version>2.3</version>
154                 <configuration>
155                   <aggregate>true</aggregate>
156                   <linkJavadoc>true</linkJavadoc>
157                 </configuration>
158               </plugin>
159             </reportPlugins>
160           </configuration>
161         </plugin>
162       </plugins>
163     </pluginManagement>
164   </build>
165
166   <repositories>
167     <repository>
168       <id>central2</id>
169       <name>central2</name>
170       <url>http://repo2.maven.org/maven2</url>
171       <snapshots>
172           <enabled>false</enabled>
173       </snapshots>
174       <releases>
175           <updatePolicy>never</updatePolicy>
176           <enabled>true</enabled>
177       </releases>
178     </repository>
179     <repository>
180       <id>central</id>
181       <name>central</name>
182       <url>http://repo1.maven.org/maven2</url>
183       <snapshots>
184            <enabled>false</enabled>
185       </snapshots>
186       <releases>
187           <updatePolicy>never</updatePolicy>
188           <enabled>true</enabled>
189       </releases>
190     </repository>
191     <!-- Third Packages hosted in local maven because not available in
192          other places -->
193     <repository>
194       <id>thirdparty</id>
195       <name>thirdparty</name>
196       <url>${nexusproxy}/repositories/thirdparty</url>
197       <snapshots>
198           <enabled>false</enabled>
199       </snapshots>
200       <releases>
201           <updatePolicy>never</updatePolicy>
202           <enabled>true</enabled>
203        </releases>
204     </repository>
205   </repositories>
206   <distributionManagement>
207     <!-- OpenDayLight Released artifact -->
208     <repository>
209       <id>opendaylight-release</id>
210       <url>${nexusproxy}/repositories/${nexus.repository.release}/</url>
211     </repository>
212     <!-- OpenDayLight Snapshot artifact -->
213     <snapshotRepository>
214       <id>opendaylight-snapshot</id>
215       <url>${nexusproxy}/repositories/${nexus.repository.snapshot}/</url>
216     </snapshotRepository>
217     <!-- Site deployment -->
218     <site>
219       <id>website</id>
220       <url>${sitedeploy}</url>
221     </site>
222   </distributionManagement>
223 </project>