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>third-party</module -->
67 <!-- OpenDayLight Repo Mirror -->
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>
81 <!-- OpenDayLight Snapshot artifact -->
83 <id>opendaylight-snapshot</id>
84 <name>opendaylight-snapshot</name>
85 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
87 <enabled>true</enabled>
90 <enabled>false</enabled>
96 <!-- OpenDayLight Repo Mirror -->
98 <id>opendaylight-mirror</id>
99 <name>opendaylight-mirror</name>
100 <url>${nexusproxy}/groups/public/</url>
102 <enabled>false</enabled>
105 <enabled>true</enabled>
106 <updatePolicy>never</updatePolicy>
110 <!-- OpenDayLight Snapshot artifact -->
112 <id>opendaylight-snapshot</id>
113 <name>opendaylight-snapshot</name>
114 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
116 <enabled>true</enabled>
119 <enabled>false</enabled>
124 <dependencyManagement>
126 <!-- Testing Dependencies -->
128 <groupId>junit</groupId>
129 <artifactId>junit</artifactId>
130 <version>${junit.version}</version>
134 <groupId>org.mockito</groupId>
135 <artifactId>mockito-all</artifactId>
136 <version>${mockito.version}</version>
140 <groupId>org.mockito</groupId>
141 <artifactId>mockito-core</artifactId>
142 <version>${mockito.version}</version>
146 <groupId>org.slf4j</groupId>
147 <artifactId>slf4j-simple</artifactId>
148 <version>${slf4j.version}</version>
152 <!-- Supporting Libraries -->
154 <groupId>org.slf4j</groupId>
155 <artifactId>slf4j-api</artifactId>
156 <version>${slf4j.version}</version>
159 <groupId>com.google.guava</groupId>
160 <artifactId>guava</artifactId>
161 <version>${guava.version}</version>
164 <groupId>org.eclipse.xtend</groupId>
165 <artifactId>org.eclipse.xtend.lib</artifactId>
166 <version>${xtend.version}</version>
169 <groupId>org.apache.commons</groupId>
170 <artifactId>commons-lang3</artifactId>
171 <version>${commons.lang.version}</version>
174 <!-- Plugin integration -->
176 <groupId>org.sonatype.plexus</groupId>
177 <artifactId>plexus-build-api</artifactId>
178 <version>0.0.7</version>
181 <groupId>org.codehaus.plexus</groupId>
182 <artifactId>plexus-slf4j-logging</artifactId>
183 <version>1.1</version>
186 <!-- Our artifacts -->
188 <groupId>${project.groupId}</groupId>
189 <artifactId>concepts</artifactId>
190 <version>${project.version}</version>
193 </dependencyManagement>
197 <groupId>org.slf4j</groupId>
198 <artifactId>slf4j-simple</artifactId>
202 <distributionManagement>
203 <!-- OpenDayLight Released artifact -->
205 <id>opendaylight-release</id>
206 <url>${nexusproxy}/repositories/opendaylight.release/</url>
208 <!-- OpenDayLight Snapshot artifact -->
210 <id>opendaylight-snapshot</id>
211 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
212 </snapshotRepository>
214 <id>${project.artifactId}-site</id>
217 </distributionManagement>
223 <groupId>org.apache.maven.plugins</groupId>
224 <artifactId>maven-jar-plugin</artifactId>
225 <version>${maven.jar.version}</version>
228 <!-- Bundle OSGi Manifest created by maven-bundle-plugin
230 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
235 <groupId>org.apache.felix</groupId>
236 <artifactId>maven-bundle-plugin</artifactId>
237 <version>${maven.bundle.version}</version>
238 <extensions>true</extensions>
241 <id>bundle-manifest</id>
242 <phase>process-classes</phase>
244 <goal>manifest</goal>
250 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
251 <Export-Package>*</Export-Package>
256 <groupId>org.eclipse.xtend</groupId>
257 <artifactId>xtend-maven-plugin</artifactId>
258 <version>${xtend.version}</version>
265 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
271 <artifactId>maven-clean-plugin</artifactId>
272 <version>2.5</version>
276 <directory>${basedir}/src/main/xtend-gen</directory>
278 <include>**</include>
285 <groupId>org.eclipse.m2e</groupId>
286 <artifactId>lifecycle-mapping</artifactId>
287 <version>1.0.0</version>
289 <lifecycleMappingMetadata>
292 <pluginExecutionFilter>
293 <groupId>org.apache.felix</groupId>
294 <artifactId>maven-bundle-plugin</artifactId>
295 <versionRange>[1.0,)</versionRange>
297 <goal>manifest</goal>
299 </pluginExecutionFilter>
305 </lifecycleMappingMetadata>
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-javadoc-plugin</artifactId>
311 <version>${maven.javadoc.version}</version>
313 <stylesheetfile>stylesheet.css</stylesheetfile>
317 <id>attach-javadocs</id>
324 <goal>aggregate</goal>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-release-plugin</artifactId>
333 <version>${maven.release.version}</version>
335 <!-- Since we have a maven plugin, we need to install it -->
337 <preparationGoals>clean install</preparationGoals>
338 <completionGoals>clean install</completionGoals>
345 <groupId>org.apache.maven.plugins</groupId>
346 <artifactId>maven-jar-plugin</artifactId>
349 <groupId>org.apache.felix</groupId>
350 <artifactId>maven-bundle-plugin</artifactId>
353 <groupId>org.apache.maven.plugins</groupId>
354 <artifactId>maven-source-plugin</artifactId>
355 <version>${maven.source.version}</version>
358 <id>attach-sources</id>
366 <groupId>org.apache.maven.plugins</groupId>
367 <artifactId>maven-javadoc-plugin</artifactId>
375 <groupId>org.codehaus.mojo</groupId>
376 <artifactId>findbugs-maven-plugin</artifactId>
377 <version>2.5.3</version>
380 <threshold>Low</threshold>
385 <groupId>org.codehaus.mojo</groupId>
386 <artifactId>jdepend-maven-plugin</artifactId>
387 <version>2.0-beta-2</version>