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>mockito-configuration</module>
62 <!-- module>third-party</module -->
66 <!-- OpenDayLight Repo Mirror -->
68 <id>opendaylight-mirror</id>
69 <name>opendaylight-mirror</name>
70 <url>${nexusproxy}/groups/public/</url>
72 <enabled>false</enabled>
75 <enabled>true</enabled>
76 <updatePolicy>never</updatePolicy>
80 <!-- OpenDayLight Snapshot artifact -->
82 <id>opendaylight-snapshot</id>
83 <name>opendaylight-snapshot</name>
84 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
86 <enabled>true</enabled>
89 <enabled>false</enabled>
95 <!-- OpenDayLight Repo Mirror -->
97 <id>opendaylight-mirror</id>
98 <name>opendaylight-mirror</name>
99 <url>${nexusproxy}/groups/public/</url>
101 <enabled>false</enabled>
104 <enabled>true</enabled>
105 <updatePolicy>never</updatePolicy>
109 <!-- OpenDayLight Snapshot artifact -->
111 <id>opendaylight-snapshot</id>
112 <name>opendaylight-snapshot</name>
113 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
115 <enabled>true</enabled>
118 <enabled>false</enabled>
123 <dependencyManagement>
125 <!-- Testing Dependencies -->
127 <groupId>junit</groupId>
128 <artifactId>junit</artifactId>
129 <version>${junit.version}</version>
133 <groupId>org.mockito</groupId>
134 <artifactId>mockito-all</artifactId>
135 <version>${mockito.version}</version>
139 <groupId>org.mockito</groupId>
140 <artifactId>mockito-core</artifactId>
141 <version>${mockito.version}</version>
145 <groupId>org.slf4j</groupId>
146 <artifactId>slf4j-simple</artifactId>
147 <version>${slf4j.version}</version>
151 <!-- Supporting Libraries -->
153 <groupId>org.slf4j</groupId>
154 <artifactId>slf4j-api</artifactId>
155 <version>${slf4j.version}</version>
158 <groupId>com.google.guava</groupId>
159 <artifactId>guava</artifactId>
160 <version>${guava.version}</version>
163 <groupId>org.eclipse.xtend</groupId>
164 <artifactId>org.eclipse.xtend.lib</artifactId>
165 <version>${xtend.version}</version>
168 <groupId>org.apache.commons</groupId>
169 <artifactId>commons-lang3</artifactId>
170 <version>${commons.lang.version}</version>
173 <!-- Plugin integration -->
175 <groupId>org.sonatype.plexus</groupId>
176 <artifactId>plexus-build-api</artifactId>
177 <version>0.0.7</version>
180 <groupId>org.codehaus.plexus</groupId>
181 <artifactId>plexus-slf4j-logging</artifactId>
182 <version>1.1</version>
185 <!-- Our artifacts -->
187 <groupId>${project.groupId}</groupId>
188 <artifactId>concepts</artifactId>
189 <version>${project.version}</version>
192 </dependencyManagement>
196 <groupId>org.slf4j</groupId>
197 <artifactId>slf4j-simple</artifactId>
201 <distributionManagement>
202 <!-- OpenDayLight Released artifact -->
204 <id>opendaylight-release</id>
205 <url>${nexusproxy}/repositories/opendaylight.release/</url>
207 <!-- OpenDayLight Snapshot artifact -->
209 <id>opendaylight-snapshot</id>
210 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
211 </snapshotRepository>
213 <id>${project.artifactId}-site</id>
216 </distributionManagement>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-jar-plugin</artifactId>
224 <version>${maven.jar.version}</version>
227 <!-- Bundle OSGi Manifest created by maven-bundle-plugin
229 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
234 <groupId>org.apache.felix</groupId>
235 <artifactId>maven-bundle-plugin</artifactId>
236 <version>${maven.bundle.version}</version>
237 <extensions>true</extensions>
240 <id>bundle-manifest</id>
241 <phase>process-classes</phase>
243 <goal>manifest</goal>
249 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
250 <Export-Package>*</Export-Package>
255 <groupId>org.eclipse.xtend</groupId>
256 <artifactId>xtend-maven-plugin</artifactId>
257 <version>${xtend.version}</version>
264 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
270 <artifactId>maven-clean-plugin</artifactId>
271 <version>2.5</version>
275 <directory>${basedir}/src/main/xtend-gen</directory>
277 <include>**</include>
284 <groupId>org.eclipse.m2e</groupId>
285 <artifactId>lifecycle-mapping</artifactId>
286 <version>1.0.0</version>
288 <lifecycleMappingMetadata>
291 <pluginExecutionFilter>
292 <groupId>org.apache.felix</groupId>
293 <artifactId>maven-bundle-plugin</artifactId>
294 <versionRange>[1.0,)</versionRange>
296 <goal>manifest</goal>
298 </pluginExecutionFilter>
304 </lifecycleMappingMetadata>
308 <groupId>org.apache.maven.plugins</groupId>
309 <artifactId>maven-javadoc-plugin</artifactId>
310 <version>${maven.javadoc.version}</version>
312 <stylesheetfile>stylesheet.css</stylesheetfile>
316 <id>attach-javadocs</id>
323 <goal>aggregate</goal>
330 <groupId>org.apache.maven.plugins</groupId>
331 <artifactId>maven-release-plugin</artifactId>
332 <version>${maven.release.version}</version>
334 <!-- Since we have a maven plugin, we need to install it -->
336 <preparationGoals>clean install</preparationGoals>
337 <completionGoals>clean install</completionGoals>
344 <groupId>org.apache.maven.plugins</groupId>
345 <artifactId>maven-jar-plugin</artifactId>
348 <groupId>org.apache.felix</groupId>
349 <artifactId>maven-bundle-plugin</artifactId>
352 <groupId>org.apache.maven.plugins</groupId>
353 <artifactId>maven-source-plugin</artifactId>
354 <version>${maven.source.version}</version>
357 <id>attach-sources</id>
365 <groupId>org.apache.maven.plugins</groupId>
366 <artifactId>maven-javadoc-plugin</artifactId>
374 <groupId>org.codehaus.mojo</groupId>
375 <artifactId>findbugs-maven-plugin</artifactId>
376 <version>2.5.3</version>
379 <threshold>Low</threshold>
384 <groupId>org.codehaus.mojo</groupId>
385 <artifactId>jdepend-maven-plugin</artifactId>
386 <version>2.0-beta-2</version>