Initial opendaylight infrastructure commit!!
[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   <!-- The sitebuildsettings-pom.xml contains the specific settings
9        for a site on which the build can be performed so it will
10        contain for instance reference to the local Maven proxy/host
11        server or the local sonar etc. -->
12   <parent>
13     <groupId>sitebuildsettings</groupId>
14     <artifactId>sitebuildsettings</artifactId>
15     <version>1.0.0-SNAPSHOT</version>
16     <relativePath>../../../sitebuildsettings-pom.xml</relativePath>
17   </parent>
18   <groupId>org.opendaylight.controller</groupId>
19   <artifactId>commons.thirdparty</artifactId>
20   <version>1.1.0-SNAPSHOT</version>
21   <packaging>pom</packaging>
22
23   <properties>
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   </properties>
30
31   <pluginRepositories>
32     <pluginRepository>
33       <id>central2</id>
34       <name>central2</name>
35       <url>${nexusproxy}/repositories/central2/</url>
36     </pluginRepository>
37   </pluginRepositories>
38
39   <profiles>
40     <profile>
41       <id>fastreassembly</id>
42       <build>
43         <plugins>
44           <plugin>
45             <groupId>org.apache.maven.plugins</groupId>
46             <artifactId>maven-dependency-plugin</artifactId>
47             <version>2.4</version>
48             <executions>
49               <execution>
50                 <id>copyfastreassembly</id>
51                 <phase>install</phase>
52                 <goals>
53                   <goal>copy</goal>
54                 </goals>
55                 <configuration>
56                   <artifactItems>
57                     <artifactItem>
58                       <groupId>${project.groupId}</groupId>
59                       <artifactId>${project.artifactId}</artifactId>
60                       <version>${project.version}</version>
61                       <destFileName>${project.groupId}.${project.artifactId}-${project.version}.jar</destFileName>
62                     </artifactItem>
63                   </artifactItems>
64                   <outputDirectory>${fastreassembly.directory}</outputDirectory>
65                 </configuration>
66               </execution>
67             </executions>
68           </plugin>
69         </plugins>
70       </build>
71     </profile>
72   </profiles>
73
74   <build>
75     <plugins>
76       <plugin>
77         <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
78         <artifactId>maven-java-formatter-plugin</artifactId>
79         <version>0.3.1</version>
80         <configuration>
81           <excludes>
82             <exclude>**/*</exclude>
83           </excludes>
84         </configuration>
85       </plugin>
86     </plugins>
87     <pluginManagement>
88       <plugins>
89         <plugin>
90           <groupId>org.apache.maven.plugins</groupId>
91           <artifactId>maven-site-plugin</artifactId>
92           <version>${siteplugin}</version>
93           <configuration>
94             <reportPlugins>
95               <plugin>
96                 <groupId>org.apache.maven.plugins</groupId>
97                 <artifactId>maven-project-info-reports-plugin</artifactId>
98                 <version>${projectinfo}</version>
99                 <configuration>
100                   <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
101                   <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
102                 </configuration>
103                 <reports>
104                   <report>index</report>
105                   <report>project-team</report>
106                   <report>license</report>
107                   <report>mailing-list</report>
108                   <report>plugin-management</report>
109                   <report>cim</report>
110                   <report>issue-tracking</report>
111                   <report>scm</report>
112                   <report>summary</report>
113                 </reports>
114               </plugin>
115               <plugin>
116                 <groupId>org.apache.maven.plugins</groupId>
117                 <artifactId>maven-checkstyle-plugin</artifactId>
118                 <version>2.10</version>
119               </plugin>
120               <plugin>
121                 <groupId>org.apache.maven.plugins</groupId>
122                 <artifactId>maven-javadoc-plugin</artifactId>
123                 <version>2.8.1</version>
124                 <configuration>
125                   <doclet>org.jboss.apiviz.APIviz</doclet>
126                   <docletArtifact>
127                     <groupId>org.jboss.apiviz</groupId>
128                     <artifactId>apiviz</artifactId>
129                     <version>1.3.2.GA</version>
130                   </docletArtifact>
131                   <finalName>${project.artifactId}-${build.suffix}</finalName>
132                   <useStandardDocletOptions>true</useStandardDocletOptions>
133                   <charset>UTF-8</charset>
134                   <encoding>UTF-8</encoding>
135                   <docencoding>UTF-8</docencoding>
136                   <breakiterator>true</breakiterator>
137                   <version>true</version>
138                   <author>true</author>
139                   <keywords>true</keywords>
140                   <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava</excludePackageNames>
141                 </configuration>
142               </plugin>
143               <plugin>
144                 <groupId>org.apache.maven.plugins</groupId>
145                 <artifactId>maven-jxr-plugin</artifactId>
146                 <version>2.3</version>
147                 <configuration>
148                   <aggregate>true</aggregate>
149                   <linkJavadoc>true</linkJavadoc>
150                 </configuration>
151               </plugin>
152             </reportPlugins>
153           </configuration>
154         </plugin>
155       </plugins>
156     </pluginManagement>
157   </build>
158
159   <repositories>
160     <!-- Maven repo2 mirror -->
161     <repository>
162       <id>central2</id>
163       <name>central2</name>
164       <url>${nexusproxy}/repositories/central2/</url>
165     </repository>
166     <!-- Maven repo1 mirror -->
167     <repository>
168       <id>central</id>
169       <name>central</name>
170       <url>${nexusproxy}/repositories/central/</url>
171     </repository>
172     <!-- Third Packages hosted in local maven because not available in
173          other places -->
174     <repository>
175       <id>${thirdpartyID}</id>
176       <name>thirdparty</name>
177       <url>${nexusproxy}/repositories/thirdparty</url>
178     </repository>
179   </repositories>
180   <distributionManagement>
181     <!-- Third-party Released artifact -->
182     <repository>
183       <id>${thirdpartyID}</id>
184       <url>${nexusproxy}/repositories/thirdparty</url>
185     </repository>
186     <!-- Third-party Snapshot artifact -->
187     <snapshotRepository>
188       <id>${thirdpartyID}-snapshot</id>
189       <url>${nexusproxy}/repositories/thirdparty-snapshot</url>
190     </snapshotRepository>
191     <!-- Site deployment -->
192     <site>
193       <id>website</id>
194       <url>${sitedeploy}</url>
195     </site>
196   </distributionManagement>
197 </project>