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>
37 <javassist.version>3.17.1-GA</javassist.version>
41 <connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
42 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</developerConnection>
43 <url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
48 <module>concepts</module>
50 <module>code-generator</module>
51 <module>model</module>
52 <module>restconf</module>
53 <module>mockito-configuration</module>
54 <!-- module>third-party</module -->
59 <id>opendaylight-mirror</id>
60 <name>opendaylight-mirror</name>
61 <url>${nexusproxy}/groups/public/</url>
63 <enabled>false</enabled>
66 <enabled>true</enabled>
67 <updatePolicy>never</updatePolicy>
74 <id>opendaylight-mirror</id>
75 <name>opendaylight-mirror</name>
76 <url>${nexusproxy}/groups/public/</url>
78 <enabled>false</enabled>
81 <enabled>true</enabled>
82 <updatePolicy>never</updatePolicy>
88 <dependencyManagement>
90 <!-- Testing Dependencies -->
92 <groupId>junit</groupId>
93 <artifactId>junit</artifactId>
94 <version>${junit.version}</version>
98 <groupId>org.mockito</groupId>
99 <artifactId>mockito-all</artifactId>
100 <version>${mockito.version}</version>
104 <groupId>org.mockito</groupId>
105 <artifactId>mockito-core</artifactId>
106 <version>${mockito.version}</version>
110 <groupId>org.slf4j</groupId>
111 <artifactId>slf4j-simple</artifactId>
112 <version>${slf4j.version}</version>
116 <!-- Supporting Libraries -->
118 <groupId>org.slf4j</groupId>
119 <artifactId>slf4j-api</artifactId>
120 <version>${slf4j.version}</version>
123 <groupId>com.google.guava</groupId>
124 <artifactId>guava</artifactId>
125 <version>${guava.version}</version>
128 <groupId>org.eclipse.xtend</groupId>
129 <artifactId>org.eclipse.xtend.lib</artifactId>
130 <version>${xtend.version}</version>
133 <groupId>org.apache.commons</groupId>
134 <artifactId>commons-lang3</artifactId>
135 <version>${commons.lang.version}</version>
138 <!-- Plugin integration -->
140 <groupId>org.sonatype.plexus</groupId>
141 <artifactId>plexus-build-api</artifactId>
142 <version>0.0.7</version>
145 <groupId>org.codehaus.plexus</groupId>
146 <artifactId>plexus-slf4j-logging</artifactId>
147 <version>1.1</version>
150 <!-- Our artifacts -->
152 <groupId>${project.groupId}</groupId>
153 <artifactId>concepts</artifactId>
154 <version>${project.version}</version>
157 </dependencyManagement>
161 <groupId>org.slf4j</groupId>
162 <artifactId>slf4j-simple</artifactId>
166 <distributionManagement>
167 <!-- OpenDayLight Released artifact -->
169 <id>opendaylight-release</id>
170 <url>${nexusproxy}/repositories/opendaylight.release/</url>
172 <!-- OpenDayLight Snapshot artifact -->
174 <id>opendaylight-snapshot</id>
175 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
176 </snapshotRepository>
178 <id>${project.artifactId}-site</id>
181 </distributionManagement>
187 <groupId>org.apache.maven.plugins</groupId>
188 <artifactId>maven-jar-plugin</artifactId>
189 <version>${maven.jar.version}</version>
192 <!-- Bundle OSGi Manifest created by maven-bundle-plugin
194 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
199 <groupId>org.apache.felix</groupId>
200 <artifactId>maven-bundle-plugin</artifactId>
201 <version>${maven.bundle.version}</version>
202 <extensions>true</extensions>
205 <id>bundle-manifest</id>
206 <phase>process-classes</phase>
208 <goal>manifest</goal>
214 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
215 <Export-Package>*</Export-Package>
220 <groupId>org.eclipse.xtend</groupId>
221 <artifactId>xtend-maven-plugin</artifactId>
222 <version>${xtend.version}</version>
229 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
235 <artifactId>maven-clean-plugin</artifactId>
236 <version>2.5</version>
240 <directory>${basedir}/src/main/xtend-gen</directory>
242 <include>**</include>
249 <groupId>org.eclipse.m2e</groupId>
250 <artifactId>lifecycle-mapping</artifactId>
251 <version>1.0.0</version>
253 <lifecycleMappingMetadata>
256 <pluginExecutionFilter>
257 <groupId>org.apache.felix</groupId>
258 <artifactId>maven-bundle-plugin</artifactId>
259 <versionRange>[1.0,)</versionRange>
261 <goal>manifest</goal>
263 </pluginExecutionFilter>
269 </lifecycleMappingMetadata>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-javadoc-plugin</artifactId>
275 <version>${maven.javadoc.version}</version>
277 <stylesheetfile>stylesheet.css</stylesheetfile>
281 <id>attach-javadocs</id>
288 <goal>aggregate</goal>
295 <groupId>org.apache.maven.plugins</groupId>
296 <artifactId>maven-release-plugin</artifactId>
297 <version>${maven.release.version}</version>
299 <!-- Since we have a maven plugin, we need to install it -->
301 <preparationGoals>clean install</preparationGoals>
302 <completionGoals>clean install</completionGoals>
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-jar-plugin</artifactId>
313 <groupId>org.apache.felix</groupId>
314 <artifactId>maven-bundle-plugin</artifactId>
317 <groupId>org.apache.maven.plugins</groupId>
318 <artifactId>maven-source-plugin</artifactId>
319 <version>${maven.source.version}</version>
322 <id>attach-sources</id>
330 <groupId>org.apache.maven.plugins</groupId>
331 <artifactId>maven-javadoc-plugin</artifactId>
339 <groupId>org.codehaus.mojo</groupId>
340 <artifactId>findbugs-maven-plugin</artifactId>
341 <version>2.5.3</version>
344 <threshold>Low</threshold>
349 <groupId>org.codehaus.mojo</groupId>
350 <artifactId>jdepend-maven-plugin</artifactId>
351 <version>2.0-beta-2</version>