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 <artifactId>yangtools</artifactId>
6 <groupId>org.opendaylight.yangtools</groupId>
7 <version>0.6.0-SNAPSHOT</version>
8 <packaging>pom</packaging>
14 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
17 <!-- Java Versions -->
18 <maven.compiler.source>1.7</maven.compiler.source>
19 <maven.compiler.target>1.7</maven.compiler.target>
21 <!-- Build Plugin Versions -->
22 <maven.bundle.version>2.4.0</maven.bundle.version>
23 <maven.jar.version>2.4</maven.jar.version>
24 <maven.javadoc.version>2.9.1</maven.javadoc.version>
25 <maven.release.version>2.4.2</maven.release.version>
26 <maven.source.version>2.2.1</maven.source.version>
27 <maven.surefire.version>2.16</maven.surefire.version>
29 <!-- Supporting Libraries -->
30 <commons.lang.version>3.1</commons.lang.version>
31 <junit.version>4.10</junit.version>
32 <slf4j.version>1.7.2</slf4j.version>
33 <guava.version>14.0.1</guava.version>
34 <xtend.version>2.4.3</xtend.version>
35 <groovy.version>2.1.6</groovy.version>
36 <mockito.version>1.9.5</mockito.version>
40 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
41 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
42 <url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
46 <module>concepts</module>
48 <module>code-generator</module>
49 <module>model</module>
50 <module>restconf</module>
51 <module>mockito-configuration</module>
52 <!-- module>third-party</module -->
57 <id>opendaylight-mirror</id>
58 <name>opendaylight-mirror</name>
59 <url>${nexusproxy}/groups/public/</url>
61 <enabled>false</enabled>
64 <enabled>true</enabled>
65 <updatePolicy>never</updatePolicy>
72 <id>opendaylight-mirror</id>
73 <name>opendaylight-mirror</name>
74 <url>${nexusproxy}/groups/public/</url>
76 <enabled>false</enabled>
79 <enabled>true</enabled>
80 <updatePolicy>never</updatePolicy>
86 <dependencyManagement>
88 <!-- Testing Dependencies -->
90 <groupId>junit</groupId>
91 <artifactId>junit</artifactId>
92 <version>${junit.version}</version>
96 <groupId>org.mockito</groupId>
97 <artifactId>mockito-all</artifactId>
98 <version>${mockito.version}</version>
102 <groupId>org.mockito</groupId>
103 <artifactId>mockito-core</artifactId>
104 <version>${mockito.version}</version>
108 <groupId>org.slf4j</groupId>
109 <artifactId>slf4j-simple</artifactId>
110 <version>${slf4j.version}</version>
114 <!-- Supporting Libraries -->
116 <groupId>org.slf4j</groupId>
117 <artifactId>slf4j-api</artifactId>
118 <version>${slf4j.version}</version>
121 <groupId>com.google.guava</groupId>
122 <artifactId>guava</artifactId>
123 <version>${guava.version}</version>
126 <groupId>org.eclipse.xtend</groupId>
127 <artifactId>org.eclipse.xtend.lib</artifactId>
128 <version>${xtend.version}</version>
131 <groupId>org.apache.commons</groupId>
132 <artifactId>commons-lang3</artifactId>
133 <version>${commons.lang.version}</version>
136 <!-- Plugin integration -->
138 <groupId>org.sonatype.plexus</groupId>
139 <artifactId>plexus-build-api</artifactId>
140 <version>0.0.7</version>
143 <groupId>org.codehaus.plexus</groupId>
144 <artifactId>plexus-slf4j-logging</artifactId>
145 <version>1.1</version>
148 <!-- Our artifacts -->
150 <groupId>${project.groupId}</groupId>
151 <artifactId>concepts</artifactId>
152 <version>${project.version}</version>
155 </dependencyManagement>
159 <groupId>org.slf4j</groupId>
160 <artifactId>slf4j-simple</artifactId>
164 <distributionManagement>
165 <!-- OpenDayLight Released artifact -->
167 <id>opendaylight-mirror</id>
168 <name>opendaylight-mirror</name>
169 <url>${nexusproxy}/groups/public/</url>
172 <id>${project.artifactId}-site</id>
175 </distributionManagement>
181 <groupId>org.apache.maven.plugins</groupId>
182 <artifactId>maven-jar-plugin</artifactId>
183 <version>${maven.jar.version}</version>
186 <!-- Bundle OSGi Manifest created by maven-bundle-plugin
188 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
193 <groupId>org.apache.felix</groupId>
194 <artifactId>maven-bundle-plugin</artifactId>
195 <version>${maven.bundle.version}</version>
196 <extensions>true</extensions>
199 <id>bundle-manifest</id>
200 <phase>process-classes</phase>
202 <goal>manifest</goal>
208 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
209 <Export-Package>*</Export-Package>
214 <groupId>org.eclipse.xtend</groupId>
215 <artifactId>xtend-maven-plugin</artifactId>
216 <version>${xtend.version}</version>
223 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
229 <artifactId>maven-clean-plugin</artifactId>
230 <version>2.5</version>
234 <directory>${basedir}/src/main/xtend-gen</directory>
236 <include>**</include>
243 <groupId>org.eclipse.m2e</groupId>
244 <artifactId>lifecycle-mapping</artifactId>
245 <version>1.0.0</version>
247 <lifecycleMappingMetadata>
250 <pluginExecutionFilter>
251 <groupId>org.apache.felix</groupId>
252 <artifactId>maven-bundle-plugin</artifactId>
253 <versionRange>[1.0,)</versionRange>
255 <goal>manifest</goal>
257 </pluginExecutionFilter>
263 </lifecycleMappingMetadata>
267 <groupId>org.apache.maven.plugins</groupId>
268 <artifactId>maven-javadoc-plugin</artifactId>
269 <version>${maven.javadoc.version}</version>
271 <stylesheetfile>stylesheet.css</stylesheetfile>
275 <id>attach-javadocs</id>
282 <goal>aggregate</goal>
289 <groupId>org.apache.maven.plugins</groupId>
290 <artifactId>maven-release-plugin</artifactId>
291 <version>${maven.release.version}</version>
293 <!-- Since we have a maven plugin, we need to install it -->
295 <preparationGoals>clean install</preparationGoals>
296 <completionGoals>clean install</completionGoals>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-jar-plugin</artifactId>
307 <groupId>org.apache.felix</groupId>
308 <artifactId>maven-bundle-plugin</artifactId>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-source-plugin</artifactId>
313 <version>${maven.source.version}</version>
316 <id>attach-sources</id>
324 <groupId>org.apache.maven.plugins</groupId>
325 <artifactId>maven-javadoc-plugin</artifactId>
333 <groupId>org.codehaus.mojo</groupId>
334 <artifactId>findbugs-maven-plugin</artifactId>
335 <version>2.5.3</version>
338 <threshold>Low</threshold>
343 <groupId>org.codehaus.mojo</groupId>
344 <artifactId>jdepend-maven-plugin</artifactId>
345 <version>2.0-beta-2</version>