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>
11 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
14 <!-- Java Versions -->
15 <maven.compiler.source>1.7</maven.compiler.source>
16 <maven.compiler.target>1.7</maven.compiler.target>
18 <!-- Build Plugin Versions -->
19 <maven.bundle.version>2.4.0</maven.bundle.version>
20 <maven.jar.version>2.4</maven.jar.version>
21 <maven.javadoc.version>2.9.1</maven.javadoc.version>
22 <maven.release.version>2.4.2</maven.release.version>
23 <maven.source.version>2.2.1</maven.source.version>
24 <maven.surefire.version>2.16</maven.surefire.version>
26 <!-- Supporting Libraries -->
27 <commons.lang.version>3.1</commons.lang.version>
28 <junit.version>4.10</junit.version>
29 <slf4j.version>1.7.2</slf4j.version>
30 <guava.version>14.0.1</guava.version>
31 <xtend.version>2.4.3</xtend.version>
32 <groovy.version>2.1.6</groovy.version>
33 <mockito.version>1.9.5</mockito.version>
37 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
38 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
39 <url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
43 <module>concepts</module>
45 <module>code-generator</module>
46 <module>model</module>
47 <module>restconf</module>
48 <module>mockito-configuration</module>
49 <!-- module>third-party</module -->
54 <id>opendaylight-mirror</id>
55 <name>opendaylight-mirror</name>
56 <url>${nexusproxy}/groups/public/</url>
58 <enabled>false</enabled>
61 <enabled>true</enabled>
62 <updatePolicy>never</updatePolicy>
69 <id>opendaylight-mirror</id>
70 <name>opendaylight-mirror</name>
71 <url>${nexusproxy}/groups/public/</url>
73 <enabled>false</enabled>
76 <enabled>true</enabled>
77 <updatePolicy>never</updatePolicy>
83 <dependencyManagement>
85 <!-- Testing Dependencies -->
87 <groupId>junit</groupId>
88 <artifactId>junit</artifactId>
89 <version>${junit.version}</version>
93 <groupId>org.mockito</groupId>
94 <artifactId>mockito-all</artifactId>
95 <version>${mockito.version}</version>
99 <groupId>org.mockito</groupId>
100 <artifactId>mockito-core</artifactId>
101 <version>${mockito.version}</version>
105 <!-- Supporting Libraries -->
107 <groupId>org.slf4j</groupId>
108 <artifactId>slf4j-api</artifactId>
109 <version>${slf4j.version}</version>
112 <groupId>com.google.guava</groupId>
113 <artifactId>guava</artifactId>
114 <version>${guava.version}</version>
117 <groupId>org.eclipse.xtend</groupId>
118 <artifactId>org.eclipse.xtend.lib</artifactId>
119 <version>${xtend.version}</version>
122 <groupId>org.apache.commons</groupId>
123 <artifactId>commons-lang3</artifactId>
124 <version>${commons.lang.version}</version>
127 <!-- Plugin integration -->
129 <groupId>org.sonatype.plexus</groupId>
130 <artifactId>plexus-build-api</artifactId>
131 <version>0.0.7</version>
134 <groupId>org.codehaus.plexus</groupId>
135 <artifactId>plexus-slf4j-logging</artifactId>
136 <version>1.1</version>
139 </dependencyManagement>
141 <distributionManagement>
142 <!-- OpenDayLight Released artifact -->
144 <id>opendaylight-release</id>
145 <url>${nexusproxy}/repositories/opendaylight.release/</url>
147 <!-- OpenDayLight Snapshot artifact -->
149 <id>opendaylight-snapshot</id>
150 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
151 </snapshotRepository>
153 <id>${project.artifactId}-site</id>
156 </distributionManagement>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-jar-plugin</artifactId>
164 <version>${maven.jar.version}</version>
167 <!-- Bundle OSGi Manifest created by maven-bundle-plugin
169 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
174 <groupId>org.apache.felix</groupId>
175 <artifactId>maven-bundle-plugin</artifactId>
176 <version>${maven.bundle.version}</version>
177 <extensions>true</extensions>
180 <id>bundle-manifest</id>
181 <phase>process-classes</phase>
183 <goal>manifest</goal>
189 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
190 <Export-Package>*</Export-Package>
195 <groupId>org.eclipse.xtend</groupId>
196 <artifactId>xtend-maven-plugin</artifactId>
197 <version>${xtend.version}</version>
204 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
210 <artifactId>maven-clean-plugin</artifactId>
211 <version>2.4.1</version>
215 <directory>${basedir}/src/main/xtend-gen</directory>
217 <include>**</include>
224 <groupId>org.eclipse.m2e</groupId>
225 <artifactId>lifecycle-mapping</artifactId>
226 <version>1.0.0</version>
228 <lifecycleMappingMetadata>
231 <pluginExecutionFilter>
232 <groupId>org.apache.felix</groupId>
233 <artifactId>maven-bundle-plugin</artifactId>
234 <versionRange>[1.0,)</versionRange>
236 <goal>manifest</goal>
238 </pluginExecutionFilter>
244 </lifecycleMappingMetadata>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-javadoc-plugin</artifactId>
250 <version>${maven.javadoc.version}</version>
252 <stylesheetfile>stylesheet.css</stylesheetfile>
256 <id>attach-javadocs</id>
263 <goal>aggregate</goal>
270 <groupId>org.apache.maven.plugins</groupId>
271 <artifactId>maven-release-plugin</artifactId>
272 <version>${maven.release.version}</version>
278 <groupId>org.apache.maven.plugins</groupId>
279 <artifactId>maven-jar-plugin</artifactId>
282 <groupId>org.apache.felix</groupId>
283 <artifactId>maven-bundle-plugin</artifactId>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-source-plugin</artifactId>
288 <version>${maven.source.version}</version>
291 <id>attach-sources</id>
299 <groupId>org.apache.maven.plugins</groupId>
300 <artifactId>maven-javadoc-plugin</artifactId>
308 <groupId>org.codehaus.mojo</groupId>
309 <artifactId>findbugs-maven-plugin</artifactId>
310 <version>2.4.0</version>
313 <threshold>Low</threshold>
318 <groupId>org.codehaus.mojo</groupId>
319 <artifactId>jdepend-maven-plugin</artifactId>
320 <version>2.0-beta-2</version>