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