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.1.1-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 <!-- Supporting Libraries -->
110 <groupId>org.slf4j</groupId>
111 <artifactId>slf4j-api</artifactId>
112 <version>${slf4j.version}</version>
115 <groupId>com.google.guava</groupId>
116 <artifactId>guava</artifactId>
117 <version>${guava.version}</version>
120 <groupId>org.eclipse.xtend</groupId>
121 <artifactId>org.eclipse.xtend.lib</artifactId>
122 <version>${xtend.version}</version>
125 <groupId>org.apache.commons</groupId>
126 <artifactId>commons-lang3</artifactId>
127 <version>${commons.lang.version}</version>
130 <!-- Plugin integration -->
132 <groupId>org.sonatype.plexus</groupId>
133 <artifactId>plexus-build-api</artifactId>
134 <version>0.0.7</version>
137 <groupId>org.codehaus.plexus</groupId>
138 <artifactId>plexus-slf4j-logging</artifactId>
139 <version>1.1</version>
142 </dependencyManagement>
144 <distributionManagement>
145 <!-- OpenDayLight Released artifact -->
147 <id>opendaylight-release</id>
148 <url>${nexusproxy}/repositories/opendaylight.release/</url>
150 <!-- OpenDayLight Snapshot artifact -->
152 <id>opendaylight-snapshot</id>
153 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
154 </snapshotRepository>
156 <id>${project.artifactId}-site</id>
159 </distributionManagement>
165 <groupId>org.apache.maven.plugins</groupId>
166 <artifactId>maven-jar-plugin</artifactId>
167 <version>${maven.jar.version}</version>
170 <!-- Bundle OSGi Manifest created by maven-bundle-plugin
172 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
177 <groupId>org.apache.felix</groupId>
178 <artifactId>maven-bundle-plugin</artifactId>
179 <version>${maven.bundle.version}</version>
180 <extensions>true</extensions>
183 <id>bundle-manifest</id>
184 <phase>process-classes</phase>
186 <goal>manifest</goal>
192 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
193 <Export-Package>*</Export-Package>
198 <groupId>org.eclipse.xtend</groupId>
199 <artifactId>xtend-maven-plugin</artifactId>
200 <version>${xtend.version}</version>
207 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
213 <artifactId>maven-clean-plugin</artifactId>
214 <version>2.4.1</version>
218 <directory>${basedir}/src/main/xtend-gen</directory>
220 <include>**</include>
227 <groupId>org.eclipse.m2e</groupId>
228 <artifactId>lifecycle-mapping</artifactId>
229 <version>1.0.0</version>
231 <lifecycleMappingMetadata>
234 <pluginExecutionFilter>
235 <groupId>org.apache.felix</groupId>
236 <artifactId>maven-bundle-plugin</artifactId>
237 <versionRange>[1.0,)</versionRange>
239 <goal>manifest</goal>
241 </pluginExecutionFilter>
247 </lifecycleMappingMetadata>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-javadoc-plugin</artifactId>
253 <version>${maven.javadoc.version}</version>
255 <stylesheetfile>stylesheet.css</stylesheetfile>
259 <id>attach-javadocs</id>
266 <goal>aggregate</goal>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-release-plugin</artifactId>
275 <version>${maven.release.version}</version>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-jar-plugin</artifactId>
285 <groupId>org.apache.felix</groupId>
286 <artifactId>maven-bundle-plugin</artifactId>
289 <groupId>org.apache.maven.plugins</groupId>
290 <artifactId>maven-source-plugin</artifactId>
291 <version>${maven.source.version}</version>
294 <id>attach-sources</id>
302 <groupId>org.apache.maven.plugins</groupId>
303 <artifactId>maven-javadoc-plugin</artifactId>
311 <groupId>org.codehaus.mojo</groupId>
312 <artifactId>findbugs-maven-plugin</artifactId>
313 <version>2.4.0</version>
316 <threshold>Low</threshold>
321 <groupId>org.codehaus.mojo</groupId>
322 <artifactId>jdepend-maven-plugin</artifactId>
323 <version>2.0-beta-2</version>