1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12 <modelVersion>4.0.0</modelVersion>
13 <artifactId>yangtools</artifactId>
14 <groupId>org.opendaylight.yangtools</groupId>
15 <version>0.6.2-SNAPSHOT</version>
16 <packaging>pom</packaging>
22 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
25 <!-- Java Versions -->
26 <maven.compiler.source>1.7</maven.compiler.source>
27 <maven.compiler.target>1.7</maven.compiler.target>
29 <!-- Build Plugin Versions -->
30 <maven.bundle.version>2.4.0</maven.bundle.version>
31 <maven.jar.version>2.4</maven.jar.version>
32 <maven.javadoc.version>2.9.1</maven.javadoc.version>
33 <maven.release.version>2.4.2</maven.release.version>
34 <maven.source.version>2.2.1</maven.source.version>
35 <maven.surefire.version>2.16</maven.surefire.version>
37 <!-- Supporting Libraries -->
38 <commons.lang.version>3.1</commons.lang.version>
39 <junit.version>4.10</junit.version>
40 <slf4j.version>1.7.2</slf4j.version>
41 <guava.version>14.0.1</guava.version>
42 <xtend.version>2.4.3</xtend.version>
43 <groovy.version>2.1.6</groovy.version>
44 <mockito.version>1.9.5</mockito.version>
45 <javassist.version>3.17.1-GA</javassist.version>
49 <connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
50 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</developerConnection>
51 <url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
56 <module>concepts</module>
58 <module>code-generator</module>
59 <module>model</module>
60 <module>restconf</module>
61 <module>integration-test</module>
62 <module>mockito-configuration</module>
63 <module>websocket</module>
64 <!-- module>third-party</module -->
68 <!-- OpenDayLight Repo Mirror -->
70 <id>opendaylight-mirror</id>
71 <name>opendaylight-mirror</name>
72 <url>${nexusproxy}/groups/public/</url>
74 <enabled>false</enabled>
77 <enabled>true</enabled>
78 <updatePolicy>never</updatePolicy>
82 <!-- OpenDayLight Snapshot artifact -->
84 <id>opendaylight-snapshot</id>
85 <name>opendaylight-snapshot</name>
86 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
88 <enabled>true</enabled>
91 <enabled>false</enabled>
97 <!-- OpenDayLight Repo Mirror -->
99 <id>opendaylight-mirror</id>
100 <name>opendaylight-mirror</name>
101 <url>${nexusproxy}/groups/public/</url>
103 <enabled>false</enabled>
106 <enabled>true</enabled>
107 <updatePolicy>never</updatePolicy>
111 <!-- OpenDayLight Snapshot artifact -->
113 <id>opendaylight-snapshot</id>
114 <name>opendaylight-snapshot</name>
115 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
117 <enabled>true</enabled>
120 <enabled>false</enabled>
125 <dependencyManagement>
127 <!-- Testing Dependencies -->
129 <groupId>junit</groupId>
130 <artifactId>junit</artifactId>
131 <version>${junit.version}</version>
135 <groupId>org.mockito</groupId>
136 <artifactId>mockito-all</artifactId>
137 <version>${mockito.version}</version>
141 <groupId>org.mockito</groupId>
142 <artifactId>mockito-core</artifactId>
143 <version>${mockito.version}</version>
147 <groupId>org.slf4j</groupId>
148 <artifactId>slf4j-simple</artifactId>
149 <version>${slf4j.version}</version>
153 <!-- Supporting Libraries -->
155 <groupId>org.slf4j</groupId>
156 <artifactId>slf4j-api</artifactId>
157 <version>${slf4j.version}</version>
160 <groupId>com.google.guava</groupId>
161 <artifactId>guava</artifactId>
162 <version>${guava.version}</version>
165 <groupId>org.eclipse.xtend</groupId>
166 <artifactId>org.eclipse.xtend.lib</artifactId>
167 <version>${xtend.version}</version>
170 <groupId>org.apache.commons</groupId>
171 <artifactId>commons-lang3</artifactId>
172 <version>${commons.lang.version}</version>
175 <!-- Plugin integration -->
177 <groupId>org.sonatype.plexus</groupId>
178 <artifactId>plexus-build-api</artifactId>
179 <version>0.0.7</version>
182 <groupId>org.codehaus.plexus</groupId>
183 <artifactId>plexus-slf4j-logging</artifactId>
184 <version>1.1</version>
187 <!-- Our artifacts -->
189 <groupId>${project.groupId}</groupId>
190 <artifactId>concepts</artifactId>
191 <version>${project.version}</version>
194 </dependencyManagement>
198 <groupId>org.slf4j</groupId>
199 <artifactId>slf4j-simple</artifactId>
203 <distributionManagement>
204 <!-- OpenDayLight Released artifact -->
206 <id>opendaylight-release</id>
207 <url>${nexusproxy}/repositories/opendaylight.release/</url>
209 <!-- OpenDayLight Snapshot artifact -->
211 <id>opendaylight-snapshot</id>
212 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
213 </snapshotRepository>
215 <id>${project.artifactId}-site</id>
218 </distributionManagement>
224 <groupId>org.apache.maven.plugins</groupId>
225 <artifactId>maven-jar-plugin</artifactId>
226 <version>${maven.jar.version}</version>
229 <!-- Bundle OSGi Manifest created by maven-bundle-plugin
231 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
236 <groupId>org.apache.felix</groupId>
237 <artifactId>maven-bundle-plugin</artifactId>
238 <version>${maven.bundle.version}</version>
239 <extensions>true</extensions>
242 <id>bundle-manifest</id>
243 <phase>process-classes</phase>
245 <goal>manifest</goal>
251 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
252 <Export-Package>*</Export-Package>
257 <groupId>org.eclipse.xtend</groupId>
258 <artifactId>xtend-maven-plugin</artifactId>
259 <version>${xtend.version}</version>
266 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
272 <artifactId>maven-clean-plugin</artifactId>
273 <version>2.5</version>
277 <directory>${basedir}/src/main/xtend-gen</directory>
279 <include>**</include>
286 <groupId>org.eclipse.m2e</groupId>
287 <artifactId>lifecycle-mapping</artifactId>
288 <version>1.0.0</version>
290 <lifecycleMappingMetadata>
293 <pluginExecutionFilter>
294 <groupId>org.apache.felix</groupId>
295 <artifactId>maven-bundle-plugin</artifactId>
296 <versionRange>[1.0,)</versionRange>
298 <goal>manifest</goal>
300 </pluginExecutionFilter>
306 </lifecycleMappingMetadata>
310 <groupId>org.apache.maven.plugins</groupId>
311 <artifactId>maven-javadoc-plugin</artifactId>
312 <version>${maven.javadoc.version}</version>
314 <stylesheetfile>stylesheet.css</stylesheetfile>
318 <id>attach-javadocs</id>
325 <goal>aggregate</goal>
332 <groupId>org.apache.maven.plugins</groupId>
333 <artifactId>maven-release-plugin</artifactId>
334 <version>${maven.release.version}</version>
336 <!-- Since we have a maven plugin, we need to install it -->
338 <preparationGoals>clean install</preparationGoals>
339 <completionGoals>clean install</completionGoals>
346 <groupId>org.apache.maven.plugins</groupId>
347 <artifactId>maven-jar-plugin</artifactId>
350 <groupId>org.apache.felix</groupId>
351 <artifactId>maven-bundle-plugin</artifactId>
354 <groupId>org.apache.maven.plugins</groupId>
355 <artifactId>maven-source-plugin</artifactId>
356 <version>${maven.source.version}</version>
359 <id>attach-sources</id>
367 <groupId>org.apache.maven.plugins</groupId>
368 <artifactId>maven-javadoc-plugin</artifactId>
376 <groupId>org.codehaus.mojo</groupId>
377 <artifactId>findbugs-maven-plugin</artifactId>
378 <version>2.5.3</version>
381 <threshold>Low</threshold>
386 <groupId>org.codehaus.mojo</groupId>
387 <artifactId>jdepend-maven-plugin</artifactId>
388 <version>2.0-beta-2</version>