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>
47 <ctrie.version>0.2.0</ctrie.version>
51 <connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
52 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</developerConnection>
53 <url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
58 <module>code-generator</module>
59 <module>common</module>
60 <module>integration-test</module>
61 <module>model</module>
62 <module>restconf</module>
63 <module>websocket</module>
65 <!-- module>third-party</module -->
69 <!-- OpenDayLight Repo Mirror -->
71 <id>opendaylight-mirror</id>
72 <name>opendaylight-mirror</name>
73 <url>${nexusproxy}/groups/public/</url>
75 <enabled>false</enabled>
78 <enabled>true</enabled>
79 <updatePolicy>never</updatePolicy>
83 <!-- OpenDayLight Snapshot artifact -->
85 <id>opendaylight-snapshot</id>
86 <name>opendaylight-snapshot</name>
87 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
89 <enabled>true</enabled>
92 <enabled>false</enabled>
98 <!-- OpenDayLight Repo Mirror -->
100 <id>opendaylight-mirror</id>
101 <name>opendaylight-mirror</name>
102 <url>${nexusproxy}/groups/public/</url>
104 <enabled>false</enabled>
107 <enabled>true</enabled>
108 <updatePolicy>never</updatePolicy>
112 <!-- OpenDayLight Snapshot artifact -->
114 <id>opendaylight-snapshot</id>
115 <name>opendaylight-snapshot</name>
116 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
118 <enabled>true</enabled>
121 <enabled>false</enabled>
126 <dependencyManagement>
128 <!-- Testing Dependencies -->
130 <groupId>junit</groupId>
131 <artifactId>junit</artifactId>
132 <version>${junit.version}</version>
136 <groupId>org.mockito</groupId>
137 <artifactId>mockito-all</artifactId>
138 <version>${mockito.version}</version>
142 <groupId>org.mockito</groupId>
143 <artifactId>mockito-core</artifactId>
144 <version>${mockito.version}</version>
148 <groupId>org.slf4j</groupId>
149 <artifactId>slf4j-simple</artifactId>
150 <version>${slf4j.version}</version>
154 <!-- Supporting Libraries -->
156 <groupId>org.slf4j</groupId>
157 <artifactId>slf4j-api</artifactId>
158 <version>${slf4j.version}</version>
161 <groupId>com.google.guava</groupId>
162 <artifactId>guava</artifactId>
163 <version>${guava.version}</version>
166 <groupId>org.eclipse.xtend</groupId>
167 <artifactId>org.eclipse.xtend.lib</artifactId>
168 <version>${xtend.version}</version>
171 <groupId>org.apache.commons</groupId>
172 <artifactId>commons-lang3</artifactId>
173 <version>${commons.lang.version}</version>
176 <groupId>com.google.code.findbugs</groupId>
177 <artifactId>jsr305</artifactId>
178 <version>2.0.3</version>
181 <groupId>com.github.romix</groupId>
182 <artifactId>java-concurrent-hash-trie-map</artifactId>
183 <version>${ctrie.version}</version>
186 <!-- Plugin integration -->
188 <groupId>org.sonatype.plexus</groupId>
189 <artifactId>plexus-build-api</artifactId>
190 <version>0.0.7</version>
193 <groupId>org.codehaus.plexus</groupId>
194 <artifactId>plexus-slf4j-logging</artifactId>
195 <version>1.1</version>
198 <groupId>commons-io</groupId>
199 <artifactId>commons-io</artifactId>
200 <version>2.4</version>
204 <!-- Our artifacts -->
206 <groupId>${project.groupId}</groupId>
207 <artifactId>concepts</artifactId>
208 <version>${project.version}</version>
211 <groupId>${project.groupId}</groupId>
212 <artifactId>object-cache-api</artifactId>
213 <version>${project.version}</version>
216 <groupId>${project.groupId}</groupId>
217 <artifactId>object-cache-guava</artifactId>
218 <version>${project.version}</version>
221 <groupId>${project.groupId}</groupId>
222 <artifactId>object-cache-noop</artifactId>
223 <version>${project.version}</version>
226 <groupId>${project.groupId}</groupId>
227 <artifactId>util</artifactId>
228 <version>${project.version}</version>
231 </dependencyManagement>
235 <groupId>org.slf4j</groupId>
236 <artifactId>slf4j-simple</artifactId>
240 <distributionManagement>
241 <!-- OpenDayLight Released artifact -->
243 <id>opendaylight-release</id>
244 <url>${nexusproxy}/repositories/opendaylight.release/</url>
246 <!-- OpenDayLight Snapshot artifact -->
248 <id>opendaylight-snapshot</id>
249 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
250 </snapshotRepository>
252 <id>${project.artifactId}-site</id>
255 </distributionManagement>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-jar-plugin</artifactId>
263 <version>${maven.jar.version}</version>
266 <!-- Bundle OSGi Manifest created by maven-bundle-plugin
268 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
273 <groupId>org.apache.felix</groupId>
274 <artifactId>maven-bundle-plugin</artifactId>
275 <version>${maven.bundle.version}</version>
276 <extensions>true</extensions>
279 <id>bundle-manifest</id>
280 <phase>process-classes</phase>
282 <goal>manifest</goal>
288 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
290 <Export-Package>*</Export-Package>
296 <groupId>org.eclipse.xtend</groupId>
297 <artifactId>xtend-maven-plugin</artifactId>
298 <version>${xtend.version}</version>
305 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
311 <artifactId>maven-clean-plugin</artifactId>
312 <version>2.5</version>
316 <directory>${basedir}/src/main/xtend-gen</directory>
318 <include>**</include>
325 <groupId>org.eclipse.m2e</groupId>
326 <artifactId>lifecycle-mapping</artifactId>
327 <version>1.0.0</version>
329 <lifecycleMappingMetadata>
332 <pluginExecutionFilter>
333 <groupId>org.apache.felix</groupId>
334 <artifactId>maven-bundle-plugin</artifactId>
335 <versionRange>[1.0,)</versionRange>
337 <goal>manifest</goal>
339 </pluginExecutionFilter>
345 </lifecycleMappingMetadata>
349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-javadoc-plugin</artifactId>
351 <version>${maven.javadoc.version}</version>
353 <stylesheetfile>stylesheet.css</stylesheetfile>
357 <id>attach-javadocs</id>
364 <goal>aggregate</goal>
371 <groupId>org.apache.maven.plugins</groupId>
372 <artifactId>maven-release-plugin</artifactId>
373 <version>${maven.release.version}</version>
375 <!-- Since we have a maven plugin, we need to install it -->
377 <preparationGoals>clean install</preparationGoals>
378 <completionGoals>clean install</completionGoals>
385 <groupId>org.apache.maven.plugins</groupId>
386 <artifactId>maven-jar-plugin</artifactId>
389 <groupId>org.apache.felix</groupId>
390 <artifactId>maven-bundle-plugin</artifactId>
393 <groupId>org.apache.maven.plugins</groupId>
394 <artifactId>maven-source-plugin</artifactId>
395 <version>${maven.source.version}</version>
398 <id>attach-sources</id>
406 <groupId>org.apache.maven.plugins</groupId>
407 <artifactId>maven-javadoc-plugin</artifactId>
415 <groupId>org.codehaus.mojo</groupId>
416 <artifactId>findbugs-maven-plugin</artifactId>
417 <version>2.5.3</version>
420 <threshold>Low</threshold>
425 <groupId>org.codehaus.mojo</groupId>
426 <artifactId>jdepend-maven-plugin</artifactId>
427 <version>2.0-beta-2</version>