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"
11 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13 <modelVersion>4.0.0</modelVersion>
14 <artifactId>yangtools</artifactId>
15 <groupId>org.opendaylight.yangtools</groupId>
16 <version>0.6.2-SNAPSHOT</version>
17 <packaging>pom</packaging>
23 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
24 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
26 <!-- Java Versions -->
27 <maven.compiler.source>1.7</maven.compiler.source>
28 <maven.compiler.target>1.7</maven.compiler.target>
30 <!-- Build Plugin Versions -->
31 <maven.bundle.version>2.4.0</maven.bundle.version>
32 <maven.jar.version>2.3.2</maven.jar.version>
33 <maven.javadoc.version>2.9.1</maven.javadoc.version>
34 <maven.release.version>2.4.2</maven.release.version>
35 <maven.source.version>2.2.1</maven.source.version>
36 <maven.surefire.version>2.16</maven.surefire.version>
38 <!-- Supporting Libraries -->
39 <commons.lang.version>3.1</commons.lang.version>
40 <junit.version>4.10</junit.version>
41 <slf4j.version>1.7.2</slf4j.version>
42 <guava.version>14.0.1</guava.version>
43 <xtend.version>2.4.3</xtend.version>
44 <groovy.version>2.1.6</groovy.version>
45 <mockito.version>1.9.5</mockito.version>
46 <javassist.version>3.17.1-GA</javassist.version>
50 <connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
51 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</developerConnection>
52 <url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
57 <module>code-generator</module>
58 <module>common</module>
59 <module>integration-test</module>
60 <module>model</module>
61 <module>restconf</module>
62 <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 <groupId>com.google.code.findbugs</groupId>
176 <artifactId>jsr305</artifactId>
177 <version>2.0.3</version>
180 <!-- Plugin integration -->
182 <groupId>org.sonatype.plexus</groupId>
183 <artifactId>plexus-build-api</artifactId>
184 <version>0.0.7</version>
187 <groupId>org.codehaus.plexus</groupId>
188 <artifactId>plexus-slf4j-logging</artifactId>
189 <version>1.1</version>
192 <groupId>commons-io</groupId>
193 <artifactId>commons-io</artifactId>
194 <version>2.4</version>
198 <!-- Our artifacts -->
200 <groupId>${project.groupId}</groupId>
201 <artifactId>concepts</artifactId>
202 <version>${project.version}</version>
205 <groupId>${project.groupId}</groupId>
206 <artifactId>object-cache-api</artifactId>
207 <version>${project.version}</version>
210 <groupId>${project.groupId}</groupId>
211 <artifactId>object-cache-guava</artifactId>
212 <version>${project.version}</version>
215 <groupId>${project.groupId}</groupId>
216 <artifactId>object-cache-noop</artifactId>
217 <version>${project.version}</version>
220 </dependencyManagement>
224 <groupId>org.slf4j</groupId>
225 <artifactId>slf4j-simple</artifactId>
229 <distributionManagement>
230 <!-- OpenDayLight Released artifact -->
232 <id>opendaylight-release</id>
233 <url>${nexusproxy}/repositories/opendaylight.release/</url>
235 <!-- OpenDayLight Snapshot artifact -->
237 <id>opendaylight-snapshot</id>
238 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
239 </snapshotRepository>
241 <id>${project.artifactId}-site</id>
244 </distributionManagement>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-jar-plugin</artifactId>
252 <version>${maven.jar.version}</version>
255 <!-- Bundle OSGi Manifest created by maven-bundle-plugin
257 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
262 <groupId>org.apache.felix</groupId>
263 <artifactId>maven-bundle-plugin</artifactId>
264 <version>${maven.bundle.version}</version>
265 <extensions>true</extensions>
268 <id>bundle-manifest</id>
269 <phase>process-classes</phase>
271 <goal>manifest</goal>
277 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
279 <Export-Package>*</Export-Package>
285 <groupId>org.eclipse.xtend</groupId>
286 <artifactId>xtend-maven-plugin</artifactId>
287 <version>${xtend.version}</version>
294 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
300 <artifactId>maven-clean-plugin</artifactId>
301 <version>2.5</version>
305 <directory>${basedir}/src/main/xtend-gen</directory>
307 <include>**</include>
314 <groupId>org.eclipse.m2e</groupId>
315 <artifactId>lifecycle-mapping</artifactId>
316 <version>1.0.0</version>
318 <lifecycleMappingMetadata>
321 <pluginExecutionFilter>
322 <groupId>org.apache.felix</groupId>
323 <artifactId>maven-bundle-plugin</artifactId>
324 <versionRange>[1.0,)</versionRange>
326 <goal>manifest</goal>
328 </pluginExecutionFilter>
334 </lifecycleMappingMetadata>
338 <groupId>org.apache.maven.plugins</groupId>
339 <artifactId>maven-javadoc-plugin</artifactId>
340 <version>${maven.javadoc.version}</version>
342 <stylesheetfile>stylesheet.css</stylesheetfile>
346 <id>attach-javadocs</id>
353 <goal>aggregate</goal>
360 <groupId>org.apache.maven.plugins</groupId>
361 <artifactId>maven-release-plugin</artifactId>
362 <version>${maven.release.version}</version>
364 <!-- Since we have a maven plugin, we need to install it -->
366 <preparationGoals>clean install</preparationGoals>
367 <completionGoals>clean install</completionGoals>
374 <groupId>org.apache.maven.plugins</groupId>
375 <artifactId>maven-jar-plugin</artifactId>
378 <groupId>org.apache.felix</groupId>
379 <artifactId>maven-bundle-plugin</artifactId>
382 <groupId>org.apache.maven.plugins</groupId>
383 <artifactId>maven-source-plugin</artifactId>
384 <version>${maven.source.version}</version>
387 <id>attach-sources</id>
395 <groupId>org.apache.maven.plugins</groupId>
396 <artifactId>maven-javadoc-plugin</artifactId>
404 <groupId>org.codehaus.mojo</groupId>
405 <artifactId>findbugs-maven-plugin</artifactId>
406 <version>2.5.3</version>
409 <threshold>Low</threshold>
414 <groupId>org.codehaus.mojo</groupId>
415 <artifactId>jdepend-maven-plugin</artifactId>
416 <version>2.0-beta-2</version>