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