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.0-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.4</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>concepts</module>
59 <module>code-generator</module>
60 <module>model</module>
61 <module>restconf</module>
62 <module>mockito-configuration</module>
63 <!-- module>third-party</module -->
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>
83 <id>opendaylight-mirror</id>
84 <name>opendaylight-mirror</name>
85 <url>${nexusproxy}/groups/public/</url>
87 <enabled>false</enabled>
90 <enabled>true</enabled>
91 <updatePolicy>never</updatePolicy>
97 <dependencyManagement>
99 <!-- Testing Dependencies -->
101 <groupId>junit</groupId>
102 <artifactId>junit</artifactId>
103 <version>${junit.version}</version>
107 <groupId>org.mockito</groupId>
108 <artifactId>mockito-all</artifactId>
109 <version>${mockito.version}</version>
113 <groupId>org.mockito</groupId>
114 <artifactId>mockito-core</artifactId>
115 <version>${mockito.version}</version>
119 <groupId>org.slf4j</groupId>
120 <artifactId>slf4j-simple</artifactId>
121 <version>${slf4j.version}</version>
125 <!-- Supporting Libraries -->
127 <groupId>org.slf4j</groupId>
128 <artifactId>slf4j-api</artifactId>
129 <version>${slf4j.version}</version>
132 <groupId>com.google.guava</groupId>
133 <artifactId>guava</artifactId>
134 <version>${guava.version}</version>
137 <groupId>org.eclipse.xtend</groupId>
138 <artifactId>org.eclipse.xtend.lib</artifactId>
139 <version>${xtend.version}</version>
142 <groupId>org.apache.commons</groupId>
143 <artifactId>commons-lang3</artifactId>
144 <version>${commons.lang.version}</version>
147 <!-- Plugin integration -->
149 <groupId>org.sonatype.plexus</groupId>
150 <artifactId>plexus-build-api</artifactId>
151 <version>0.0.7</version>
154 <groupId>org.codehaus.plexus</groupId>
155 <artifactId>plexus-slf4j-logging</artifactId>
156 <version>1.1</version>
159 <!-- Our artifacts -->
161 <groupId>${project.groupId}</groupId>
162 <artifactId>concepts</artifactId>
163 <version>${project.version}</version>
166 </dependencyManagement>
170 <groupId>org.slf4j</groupId>
171 <artifactId>slf4j-simple</artifactId>
175 <distributionManagement>
176 <!-- OpenDayLight Released artifact -->
178 <id>opendaylight-release</id>
179 <url>${nexusproxy}/repositories/opendaylight.release/</url>
181 <!-- OpenDayLight Snapshot artifact -->
183 <id>opendaylight-snapshot</id>
184 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
185 </snapshotRepository>
187 <id>${project.artifactId}-site</id>
190 </distributionManagement>
196 <groupId>org.apache.maven.plugins</groupId>
197 <artifactId>maven-jar-plugin</artifactId>
198 <version>${maven.jar.version}</version>
201 <!-- Bundle OSGi Manifest created by maven-bundle-plugin
203 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
208 <groupId>org.apache.felix</groupId>
209 <artifactId>maven-bundle-plugin</artifactId>
210 <version>${maven.bundle.version}</version>
211 <extensions>true</extensions>
214 <id>bundle-manifest</id>
215 <phase>process-classes</phase>
217 <goal>manifest</goal>
223 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
224 <Export-Package>*</Export-Package>
229 <groupId>org.eclipse.xtend</groupId>
230 <artifactId>xtend-maven-plugin</artifactId>
231 <version>${xtend.version}</version>
238 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
244 <artifactId>maven-clean-plugin</artifactId>
245 <version>2.5</version>
249 <directory>${basedir}/src/main/xtend-gen</directory>
251 <include>**</include>
258 <groupId>org.eclipse.m2e</groupId>
259 <artifactId>lifecycle-mapping</artifactId>
260 <version>1.0.0</version>
262 <lifecycleMappingMetadata>
265 <pluginExecutionFilter>
266 <groupId>org.apache.felix</groupId>
267 <artifactId>maven-bundle-plugin</artifactId>
268 <versionRange>[1.0,)</versionRange>
270 <goal>manifest</goal>
272 </pluginExecutionFilter>
278 </lifecycleMappingMetadata>
282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-javadoc-plugin</artifactId>
284 <version>${maven.javadoc.version}</version>
286 <stylesheetfile>stylesheet.css</stylesheetfile>
290 <id>attach-javadocs</id>
297 <goal>aggregate</goal>
304 <groupId>org.apache.maven.plugins</groupId>
305 <artifactId>maven-release-plugin</artifactId>
306 <version>${maven.release.version}</version>
308 <!-- Since we have a maven plugin, we need to install it -->
310 <preparationGoals>clean install</preparationGoals>
311 <completionGoals>clean install</completionGoals>
318 <groupId>org.apache.maven.plugins</groupId>
319 <artifactId>maven-jar-plugin</artifactId>
322 <groupId>org.apache.felix</groupId>
323 <artifactId>maven-bundle-plugin</artifactId>
326 <groupId>org.apache.maven.plugins</groupId>
327 <artifactId>maven-source-plugin</artifactId>
328 <version>${maven.source.version}</version>
331 <id>attach-sources</id>
339 <groupId>org.apache.maven.plugins</groupId>
340 <artifactId>maven-javadoc-plugin</artifactId>
348 <groupId>org.codehaus.mojo</groupId>
349 <artifactId>findbugs-maven-plugin</artifactId>
350 <version>2.5.3</version>
353 <threshold>Low</threshold>
358 <groupId>org.codehaus.mojo</groupId>
359 <artifactId>jdepend-maven-plugin</artifactId>
360 <version>2.0-beta-2</version>