1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <artifactId>yangtools</artifactId>
6 <groupId>org.opendaylight.yangtools</groupId>
7 <version>0.6.0-SNAPSHOT</version>
8 <packaging>pom</packaging>
14 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
17 <!-- Java Versions -->
18 <maven.compiler.source>1.7</maven.compiler.source>
19 <maven.compiler.target>1.7</maven.compiler.target>
21 <!-- Build Plugin Versions -->
22 <maven.bundle.version>2.4.0</maven.bundle.version>
23 <maven.jar.version>2.4</maven.jar.version>
24 <maven.javadoc.version>2.9.1</maven.javadoc.version>
25 <maven.release.version>2.4.2</maven.release.version>
26 <maven.source.version>2.2.1</maven.source.version>
27 <maven.surefire.version>2.16</maven.surefire.version>
29 <!-- Supporting Libraries -->
30 <commons.lang.version>3.1</commons.lang.version>
31 <junit.version>4.10</junit.version>
32 <slf4j.version>1.7.2</slf4j.version>
33 <guava.version>14.0.1</guava.version>
34 <xtend.version>2.4.3</xtend.version>
35 <groovy.version>2.1.6</groovy.version>
36 <mockito.version>1.9.5</mockito.version>
40 <connection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</connection>
41 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/yangtools.git</developerConnection>
42 <url>https://wiki.opendaylight.org/view/YANG_Tools:Main</url>
47 <module>concepts</module>
49 <module>code-generator</module>
50 <module>model</module>
51 <module>restconf</module>
52 <module>mockito-configuration</module>
53 <!-- module>third-party</module -->
58 <id>opendaylight-mirror</id>
59 <name>opendaylight-mirror</name>
60 <url>${nexusproxy}/groups/public/</url>
62 <enabled>false</enabled>
65 <enabled>true</enabled>
66 <updatePolicy>never</updatePolicy>
73 <id>opendaylight-mirror</id>
74 <name>opendaylight-mirror</name>
75 <url>${nexusproxy}/groups/public/</url>
77 <enabled>false</enabled>
80 <enabled>true</enabled>
81 <updatePolicy>never</updatePolicy>
87 <dependencyManagement>
89 <!-- Testing Dependencies -->
91 <groupId>junit</groupId>
92 <artifactId>junit</artifactId>
93 <version>${junit.version}</version>
97 <groupId>org.mockito</groupId>
98 <artifactId>mockito-all</artifactId>
99 <version>${mockito.version}</version>
103 <groupId>org.mockito</groupId>
104 <artifactId>mockito-core</artifactId>
105 <version>${mockito.version}</version>
109 <groupId>org.slf4j</groupId>
110 <artifactId>slf4j-simple</artifactId>
111 <version>${slf4j.version}</version>
115 <!-- Supporting Libraries -->
117 <groupId>org.slf4j</groupId>
118 <artifactId>slf4j-api</artifactId>
119 <version>${slf4j.version}</version>
122 <groupId>com.google.guava</groupId>
123 <artifactId>guava</artifactId>
124 <version>${guava.version}</version>
127 <groupId>org.eclipse.xtend</groupId>
128 <artifactId>org.eclipse.xtend.lib</artifactId>
129 <version>${xtend.version}</version>
132 <groupId>org.apache.commons</groupId>
133 <artifactId>commons-lang3</artifactId>
134 <version>${commons.lang.version}</version>
137 <!-- Plugin integration -->
139 <groupId>org.sonatype.plexus</groupId>
140 <artifactId>plexus-build-api</artifactId>
141 <version>0.0.7</version>
144 <groupId>org.codehaus.plexus</groupId>
145 <artifactId>plexus-slf4j-logging</artifactId>
146 <version>1.1</version>
149 <!-- Our artifacts -->
151 <groupId>${project.groupId}</groupId>
152 <artifactId>concepts</artifactId>
153 <version>${project.version}</version>
156 </dependencyManagement>
160 <groupId>org.slf4j</groupId>
161 <artifactId>slf4j-simple</artifactId>
165 <distributionManagement>
166 <!-- OpenDayLight Released artifact -->
168 <id>opendaylight-release</id>
169 <url>${nexusproxy}/repositories/opendaylight.release/</url>
171 <!-- OpenDayLight Snapshot artifact -->
173 <id>opendaylight-snapshot</id>
174 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
175 </snapshotRepository>
177 <id>${project.artifactId}-site</id>
180 </distributionManagement>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-jar-plugin</artifactId>
188 <version>${maven.jar.version}</version>
191 <!-- Bundle OSGi Manifest created by maven-bundle-plugin
193 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
198 <groupId>org.apache.felix</groupId>
199 <artifactId>maven-bundle-plugin</artifactId>
200 <version>${maven.bundle.version}</version>
201 <extensions>true</extensions>
204 <id>bundle-manifest</id>
205 <phase>process-classes</phase>
207 <goal>manifest</goal>
213 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
214 <Export-Package>*</Export-Package>
219 <groupId>org.eclipse.xtend</groupId>
220 <artifactId>xtend-maven-plugin</artifactId>
221 <version>${xtend.version}</version>
228 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
234 <artifactId>maven-clean-plugin</artifactId>
235 <version>2.5</version>
239 <directory>${basedir}/src/main/xtend-gen</directory>
241 <include>**</include>
248 <groupId>org.eclipse.m2e</groupId>
249 <artifactId>lifecycle-mapping</artifactId>
250 <version>1.0.0</version>
252 <lifecycleMappingMetadata>
255 <pluginExecutionFilter>
256 <groupId>org.apache.felix</groupId>
257 <artifactId>maven-bundle-plugin</artifactId>
258 <versionRange>[1.0,)</versionRange>
260 <goal>manifest</goal>
262 </pluginExecutionFilter>
268 </lifecycleMappingMetadata>
272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-javadoc-plugin</artifactId>
274 <version>${maven.javadoc.version}</version>
276 <stylesheetfile>stylesheet.css</stylesheetfile>
280 <id>attach-javadocs</id>
287 <goal>aggregate</goal>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-release-plugin</artifactId>
296 <version>${maven.release.version}</version>
298 <!-- Since we have a maven plugin, we need to install it -->
300 <preparationGoals>clean install</preparationGoals>
301 <completionGoals>clean install</completionGoals>
308 <groupId>org.apache.maven.plugins</groupId>
309 <artifactId>maven-jar-plugin</artifactId>
312 <groupId>org.apache.felix</groupId>
313 <artifactId>maven-bundle-plugin</artifactId>
316 <groupId>org.apache.maven.plugins</groupId>
317 <artifactId>maven-source-plugin</artifactId>
318 <version>${maven.source.version}</version>
321 <id>attach-sources</id>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-javadoc-plugin</artifactId>
338 <groupId>org.codehaus.mojo</groupId>
339 <artifactId>findbugs-maven-plugin</artifactId>
340 <version>2.5.3</version>
343 <threshold>Low</threshold>
348 <groupId>org.codehaus.mojo</groupId>
349 <artifactId>jdepend-maven-plugin</artifactId>
350 <version>2.0-beta-2</version>