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">
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>
15 <module>concepts-lang</module>
19 <yangtools.version>0.5.5-SNAPSHOT</yangtools.version>
20 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
21 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
22 <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
23 <siteplugin>3.2</siteplugin>
24 <defaultStylesheet>${project.basedir}/src/site/resources/stylesheet.css</defaultStylesheet>
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 <exam.version>3.0.0</exam.version>
30 <url.version>1.5.0</url.version>
31 <enunciate.version>1.26.2</enunciate.version>
32 <sonar.branch>${user.name}-private-view</sonar.branch>
33 <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
34 <logback.version>1.0.9</logback.version>
35 <slf4j.version>1.7.2</slf4j.version>
42 <url>${nexusproxy}/repositories/central2/</url>
45 <id>opendaylight.snapshot</id>
46 <name>opendaylight.snapshot</name>
47 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
54 <!-- http://repository.springsource.com/maven/bundles/release -->
56 <id>ebr-bundles-release</id>
57 <name>ebr-bundles-release</name>
58 <url>${nexusproxy}/repositories/ebr-bundles-release/</url>
61 <!-- http://repository.springsource.com/maven/bundles/external -->
63 <id>ebr-bundles-external</id>
64 <name>ebr-bundles-external</name>
65 <url>${nexusproxy}/repositories/ebr-bundles-external/</url>
67 <!-- Maven repo2 mirror -->
68 <!-- http://repo2.maven.org/maven2 -->
72 <url>${nexusproxy}/repositories/central2/</url>
74 <!-- Maven repo1 mirror -->
75 <!-- http://repo1.maven.org/maven2 -->
79 <url>${nexusproxy}/repositories/central/</url>
82 <!-- https://oss.sonatype.org/content/repositories/ops4j-releases -->
84 <id>ops4j-releases</id>
85 <name>ops4j-releases</name>
86 <url>${nexusproxy}/repositories/ops4j-releases/</url>
88 <!-- Third Packages hosted in local maven because not available in
92 <name>thirdparty</name>
93 <url>${nexusproxy}/repositories/thirdparty/</url>
96 <!-- https://repository.jboss.org/nexus/content/repositories/releases -->
98 <id>jboss.releases</id>
99 <name>jboss.releases</name>
100 <url>${nexusproxy}/repositories/jboss.releases/</url>
102 <!-- OpenDayLight Released artifact -->
104 <id>opendaylight-release</id>
105 <name>opendaylight-release</name>
106 <url>${nexusproxy}/repositories/opendaylight.release/</url>
108 <!-- OpenDayLight Snapshot artifact -->
110 <id>opendaylight-snapshot</id>
111 <name>opendaylight-snapshot</name>
112 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
116 <distributionManagement>
117 <!-- OpenDayLight Released artifact -->
119 <id>opendaylight-release</id>
120 <url>${nexusproxy}/repositories/opendaylight.release/</url>
122 <!-- OpenDayLight Snapshot artifact -->
124 <id>opendaylight-snapshot</id>
125 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
126 </snapshotRepository>
128 <id>${project.artifactId}-site</id>
131 </distributionManagement>
133 <dependencyManagement>
136 <groupId>junit</groupId>
137 <artifactId>junit</artifactId>
138 <version>4.10</version>
140 <optional>true</optional>
143 <groupId>org.slf4j</groupId>
144 <artifactId>slf4j-api</artifactId>
145 <version>1.7.2</version>
148 </dependencyManagement>
153 <groupId>org.apache.maven.plugins</groupId>
154 <artifactId>maven-compiler-plugin</artifactId>
155 <version>${compiler.version}</version>
156 <inherited>true</inherited>
163 <artifactId>maven-source-plugin</artifactId>
166 <id>attach-sources</id>
167 <phase>deploy</phase>
169 <goal>jar-no-fork</goal>
175 <!-- explicitly define maven-deploy-plugin after other to
177 <artifactId>maven-deploy-plugin</artifactId>
181 <phase>deploy</phase>
190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-javadoc-plugin</artifactId>
193 <stylesheetfile>${defaultStylesheet}</stylesheetfile>
194 <excludePackageNames>
195 *.opendaylight.controller.antlrv4.code.gen
196 </excludePackageNames>
202 <goal>aggregate</goal>
207 <id>attach-javadocs</id>
208 <phase>deploy</phase>
217 <groupId>org.apache.maven.plugins</groupId>
218 <artifactId>maven-site-plugin</artifactId>
219 <inherited>false</inherited>
222 <groupId>org.apache.maven.doxia</groupId>
223 <artifactId>doxia-module-markdown</artifactId>
224 <version>1.3</version>
228 <siteDirectory>${project.basedir}/src/site</siteDirectory>
229 <inputEncoding>UTF-8</inputEncoding>
230 <outputEncoding>UTF-8</outputEncoding>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-source-plugin</artifactId>
240 <version>2.2.1</version>
243 <groupId>org.apache.maven.plugins</groupId>
244 <artifactId>maven-deploy-plugin</artifactId>
245 <version>2.7</version>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-surefire-plugin</artifactId>
250 <version>2.15</version>
253 <groupId>org.apache.maven.plugins</groupId>
254 <artifactId>maven-site-plugin</artifactId>
257 <groupId>org.apache.maven.doxia</groupId>
258 <artifactId>doxia-module-markdown</artifactId>
259 <version>1.3</version>
263 <siteDirectory>${project.parent.basedir}/src/site</siteDirectory>
264 <inputEncoding>UTF-8</inputEncoding>
265 <outputEncoding>UTF-8</outputEncoding>
269 <groupId>org.apache.maven.plugins</groupId>
270 <artifactId>maven-javadoc-plugin</artifactId>
271 <version>2.9.1</version>
273 <stylesheetfile>${defaultStylesheet}</stylesheetfile>
279 <goal>aggregate</goal>
284 <id>attach-javadocs</id>
285 <phase>deploy</phase>
300 <groupId>org.apache.maven.plugins</groupId>
301 <artifactId>maven-javadoc-plugin</artifactId>
302 <version>2.9.1</version>
306 <report>javadoc</report>
312 <groupId>org.codehaus.mojo</groupId>
313 <artifactId>findbugs-maven-plugin</artifactId>
314 <version>2.4.0</version>
317 <threshold>Low</threshold>
322 <groupId>org.codehaus.mojo</groupId>
323 <artifactId>jdepend-maven-plugin</artifactId>
324 <version>2.0-beta-2</version>
333 <activeByDefault>true</activeByDefault>
336 <build.suffix>${project.version}</build.suffix>
343 <name>BUILDSUFFIX</name>
347 <build.suffix>${BUILDSUFFIX}</build.suffix>