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