Merge "Fix IPv6 + subnet flow installation"
[controller.git] / opendaylight / sal / yang-prototype / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
4     <modelVersion>4.0.0</modelVersion>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>yang-prototype</artifactId>
7     <version>0.5-SNAPSHOT</version>
8     <packaging>pom</packaging>
9     <name>${project.artifactId}</name>
10     <description>
11         YANG Tools is a infrastructure project aiming to develop necessary tooling and libraries providing support of
12         NETCONF and YANG for Java (JVM-language based) projects and applications, such as Model Driven SAL for 
13         Controller (which uses YANG as it's modeling language) and Netconf / OFConfig plugins. 
14     </description>
15
16     <developers>
17         <developer>
18             <id>ttkacik</id>
19             <name>Tony Tkacik</name>
20             <email>ttkacik@cisco.com</email>
21             <organization>OpenDaylight</organization>
22         </developer>
23         <developer>
24             <id>rovarga</id>
25             <name>Robert Varga</name>
26             <email>rovarga@cisco.com</email>
27             <organization>OpenDaylight</organization>
28         </developer>
29         <developer>
30             <id>lsedlak</id>
31             <name>Lukas Sedlak</name>
32             <email>lsedlak@cisco.com</email>
33             <organization>OpenDaylight</organization>
34         </developer>
35         <developer>
36             <id>mvitez</id>
37             <name>Martin Vitez</name>
38             <email>mvitez@cisco.com</email>
39             <organization>OpenDaylight</organization>
40         </developer>
41         <developer>
42             <id>jmedved</id>
43             <name>Jan Medved</name>
44             <email>jmedved@cisco.com</email>
45             <organization>OpenDaylight</organization>
46         </developer>
47         <developer>
48             <id>jgloncak</id>
49             <name>Jozef Gloncak</name>
50             <email>jgloncak@cisco.com</email>
51             <organization>OpenDaylight</organization>
52         </developer>
53         <developer>
54             <id>mirehak</id>
55             <name>Michal Rehak</name>
56             <email>mirehak@cisco.com</email>
57             <organization>OpenDaylight</organization>
58         </developer>
59     </developers>
60
61     <modules>
62         <module>concepts-lang</module>
63         <module>yang</module>
64         <module>code-generator</module>
65         <module>model</module>
66     </modules>
67
68     <properties>
69         <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
70         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
71         <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
72         <siteplugin>3.2</siteplugin>
73         <defaultStylesheet>${project.basedir}/src/site/resources/stylesheet.css</defaultStylesheet>
74         <projectinfo>2.6</projectinfo>
75         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
76         <compiler.version>2.3.2</compiler.version>
77         <surefire.version>2.13</surefire.version>
78         <exam.version>3.0.0</exam.version>
79         <url.version>1.5.0</url.version>
80         <enunciate.version>1.26.2</enunciate.version>
81         <sonar.branch>${user.name}-private-view</sonar.branch>
82         <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
83         <logback.version>1.0.9</logback.version>
84         <slf4j.version>1.7.2</slf4j.version>
85     </properties>
86
87     <pluginRepositories>
88         <pluginRepository>
89             <id>central2</id>
90             <name>central2</name>
91             <url>${nexusproxy}/repositories/central2/</url>
92         </pluginRepository>
93     </pluginRepositories>
94
95
96     <repositories>
97         <!-- EBR release -->
98         <!-- http://repository.springsource.com/maven/bundles/release -->
99         <repository>
100             <id>ebr-bundles-release</id>
101             <name>ebr-bundles-release</name>
102             <url>${nexusproxy}/repositories/ebr-bundles-release/</url>
103         </repository>
104         <!-- EBR external -->
105         <!-- http://repository.springsource.com/maven/bundles/external -->
106         <repository>
107             <id>ebr-bundles-external</id>
108             <name>ebr-bundles-external</name>
109             <url>${nexusproxy}/repositories/ebr-bundles-external/</url>
110         </repository>
111         <!-- Maven repo2 mirror -->
112         <!-- http://repo2.maven.org/maven2 -->
113         <repository>
114             <id>central2</id>
115             <name>central2</name>
116             <url>${nexusproxy}/repositories/central2/</url>
117         </repository>
118         <!-- Maven repo1 mirror -->
119         <!-- http://repo1.maven.org/maven2 -->
120         <repository>
121             <id>central</id>
122             <name>central</name>
123             <url>${nexusproxy}/repositories/central/</url>
124         </repository>
125         <!-- Pax mirror -->
126         <!-- https://oss.sonatype.org/content/repositories/ops4j-releases -->
127         <repository>
128             <id>ops4j-releases</id>
129             <name>ops4j-releases</name>
130             <url>${nexusproxy}/repositories/ops4j-releases/</url>
131         </repository>
132         <!-- Third Packages hosted in local maven because not available in 
133             other places -->
134         <repository>
135             <id>thirdparty</id>
136             <name>thirdparty</name>
137             <url>${nexusproxy}/repositories/thirdparty/</url>
138         </repository>
139         <!-- Jboss mirror -->
140         <!-- https://repository.jboss.org/nexus/content/repositories/releases -->
141         <repository>
142             <id>jboss.releases</id>
143             <name>jboss.releases</name>
144             <url>${nexusproxy}/repositories/jboss.releases/</url>
145         </repository>
146         <!-- OpenDayLight Released artifact -->
147         <repository>
148             <id>opendaylight-release</id>
149             <name>opendaylight-release</name>
150             <url>${nexusproxy}/repositories/opendaylight.release/</url>
151         </repository>
152         <!-- OpenDayLight Snapshot artifact -->
153         <repository>
154             <id>opendaylight-snapshot</id>
155             <name>opendaylight-snapshot</name>
156             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
157         </repository>
158     </repositories>
159     <distributionManagement>
160         <!-- OpenDayLight Released artifact -->
161         <repository>
162             <id>opendaylight-release</id>
163             <url>${nexusproxy}/repositories/opendaylight.release/</url>
164         </repository>
165         <!-- OpenDayLight Snapshot artifact -->
166         <snapshotRepository>
167             <id>opendaylight-snapshot</id>
168             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
169         </snapshotRepository>
170         <site>
171             <id>${project.artifactId}-site</id>
172             <url>./</url>
173         </site>
174     </distributionManagement>
175
176     <dependencyManagement>
177         <dependencies>
178             <dependency>
179                 <groupId>junit</groupId>
180                 <artifactId>junit</artifactId>
181                 <version>4.10</version>
182                 <scope>test</scope>
183                 <optional>true</optional>
184             </dependency>
185             <dependency>
186                 <groupId>org.slf4j</groupId>
187                 <artifactId>slf4j-api</artifactId>
188                 <version>1.7.2</version>
189             </dependency>
190         </dependencies>
191     </dependencyManagement>
192
193     <build>
194         <plugins>
195             <plugin>
196                 <groupId>org.apache.maven.plugins</groupId>
197                 <artifactId>maven-compiler-plugin</artifactId>
198                 <version>${compiler.version}</version>
199                 <inherited>true</inherited>
200                 <configuration>
201                     <source>1.7</source>
202                     <target>1.7</target>
203                 </configuration>
204             </plugin>
205             <plugin>
206                 <artifactId>maven-source-plugin</artifactId>
207                 <executions>
208                     <execution>
209                         <id>attach-sources</id>
210                         <phase>deploy</phase>
211                         <goals>
212                             <goal>jar-no-fork</goal>
213                         </goals>
214                     </execution>
215                 </executions>
216             </plugin>
217             <plugin>
218                 <!-- explicitly define maven-deploy-plugin after other to 
219                     force exec order -->
220                 <artifactId>maven-deploy-plugin</artifactId>
221                 <executions>
222                     <execution>
223                         <id>deploy</id>
224                         <phase>deploy</phase>
225                         <goals>
226                             <goal>deploy</goal>
227                         </goals>
228                     </execution>
229                 </executions>
230             </plugin>
231
232             <plugin>
233                 <groupId>org.apache.maven.plugins</groupId>
234                 <artifactId>maven-javadoc-plugin</artifactId>
235                 <configuration>
236                     <stylesheetfile>${defaultStylesheet}</stylesheetfile>
237                     <excludePackageNames>
238                         *.opendaylight.controller.antlrv4.code.gen
239                     </excludePackageNames>
240                 </configuration>
241                 <executions>
242                     <execution>
243                         <id>aggregate</id>
244                         <goals>
245                             <goal>aggregate</goal>
246                         </goals>
247                         <phase>site</phase>
248                     </execution>
249                     <execution>
250                         <id>attach-javadocs</id>
251                         <phase>deploy</phase>
252                         <goals>
253                             <goal>jar</goal>
254                         </goals>
255                     </execution>
256                 </executions>
257             </plugin>
258
259             <plugin>
260                 <groupId>org.apache.maven.plugins</groupId>
261                 <artifactId>maven-site-plugin</artifactId>
262                 <inherited>false</inherited>
263                 <dependencies>
264                     <dependency>
265                         <groupId>org.apache.maven.doxia</groupId>
266                         <artifactId>doxia-module-markdown</artifactId>
267                         <version>1.3</version>
268                     </dependency>
269                 </dependencies>
270                 <configuration>
271                     <siteDirectory>${project.basedir}/src/site</siteDirectory>
272                     <inputEncoding>UTF-8</inputEncoding>
273                     <outputEncoding>UTF-8</outputEncoding>
274                 </configuration>
275             </plugin>
276         </plugins>
277
278         <pluginManagement>
279             <plugins>
280                 <plugin>
281                     <groupId>org.apache.maven.plugins</groupId>
282                     <artifactId>maven-source-plugin</artifactId>
283                     <version>2.2.1</version>
284                 </plugin>
285                 <plugin>
286                     <groupId>org.apache.maven.plugins</groupId>
287                     <artifactId>maven-deploy-plugin</artifactId>
288                     <version>2.7</version>
289                 </plugin>
290                 <plugin>
291                     <groupId>org.apache.maven.plugins</groupId>
292                     <artifactId>maven-surefire-plugin</artifactId>
293                     <version>2.15</version>
294                 </plugin>
295                 <plugin>
296                     <groupId>org.apache.maven.plugins</groupId>
297                     <artifactId>maven-site-plugin</artifactId>
298                     <dependencies>
299                         <dependency>
300                             <groupId>org.apache.maven.doxia</groupId>
301                             <artifactId>doxia-module-markdown</artifactId>
302                             <version>1.3</version>
303                         </dependency>
304                     </dependencies>
305                     <configuration>
306                         <siteDirectory>${project.parent.basedir}/src/site</siteDirectory>
307                         <inputEncoding>UTF-8</inputEncoding>
308                         <outputEncoding>UTF-8</outputEncoding>
309                     </configuration>
310                 </plugin>
311                 <plugin>
312                     <groupId>org.apache.maven.plugins</groupId>
313                     <artifactId>maven-javadoc-plugin</artifactId>
314                     <version>2.9.1</version>
315                     <configuration>
316                         <stylesheetfile>${defaultStylesheet}</stylesheetfile>
317                     </configuration>
318                     <executions>
319                         <execution>
320                             <id>aggregate</id>
321                             <goals>
322                                 <goal>aggregate</goal>
323                             </goals>
324                             <phase>site</phase>
325                         </execution>
326                         <execution>
327                             <id>attach-javadocs</id>
328                             <phase>deploy</phase>
329                             <goals>
330                                 <goal>jar</goal>
331                             </goals>
332                         </execution>
333                     </executions>
334                 </plugin>
335             </plugins>
336         </pluginManagement>
337
338     </build>
339
340     <reporting>
341         <plugins>
342             <plugin>
343                 <groupId>org.apache.maven.plugins</groupId>
344                 <artifactId>maven-javadoc-plugin</artifactId>
345                 <version>2.9.1</version>
346                 <reportSets>
347                     <reportSet>
348                         <reports>
349                             <report>javadoc</report>
350                         </reports>
351                     </reportSet>
352                 </reportSets>
353             </plugin>
354             <plugin>
355                 <groupId>org.codehaus.mojo</groupId>
356                 <artifactId>findbugs-maven-plugin</artifactId>
357                 <version>2.4.0</version>
358                 <configuration>
359                     <effort>Max</effort>
360                     <threshold>Low</threshold>
361                     <goal>site</goal>
362                 </configuration>
363             </plugin>
364             <plugin>
365                 <groupId>org.codehaus.mojo</groupId>
366                 <artifactId>jdepend-maven-plugin</artifactId>
367                 <version>2.0-beta-2</version>
368             </plugin>
369         </plugins>
370     </reporting>
371
372     <profiles>
373         <profile>
374             <id>viewbuild</id>
375             <activation>
376                 <activeByDefault>true</activeByDefault>
377             </activation>
378             <properties>
379                 <build.suffix>${project.version}</build.suffix>
380             </properties>
381         </profile>
382         <profile>
383             <id>jenkins</id>
384             <activation>
385                 <property>
386                     <name>BUILDSUFFIX</name>
387                 </property>
388             </activation>
389             <properties>
390                 <build.suffix>${BUILDSUFFIX}</build.suffix>
391             </properties>
392         </profile>
393     </profiles>
394 </project>