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">
14 <groupId>org.opendaylight.odlparent</groupId>
15 <artifactId>odlparent</artifactId>
16 <version>1.7.0-SNAPSHOT</version>
17 <relativePath></relativePath>
20 <modelVersion>4.0.0</modelVersion>
21 <artifactId>mdsal-parent</artifactId>
22 <groupId>org.opendaylight.mdsal</groupId>
23 <version>2.1.0-SNAPSHOT</version>
24 <packaging>pom</packaging>
27 <yangtools.version>1.0.0-SNAPSHOT</yangtools.version>
28 <salGeneratorPath>target/generated-sources/sal</salGeneratorPath>
30 <!-- FIXME: these will be upstreamed -->
31 <maven.depends.version>1.2</maven.depends.version>
34 <dependencyManagement>
37 <groupId>org.opendaylight.odlparent</groupId>
38 <artifactId>odlparent-artifacts</artifactId>
39 <version>1.7.0-SNAPSHOT</version>
44 <groupId>org.opendaylight.mdsal</groupId>
45 <artifactId>mdsal-artifacts</artifactId>
46 <version>2.1.0-SNAPSHOT</version>
51 <groupId>org.opendaylight.yangtools</groupId>
52 <artifactId>yangtools-artifacts</artifactId>
53 <version>1.0.0-SNAPSHOT</version>
57 <!-- Testing Dependencies -->
59 <groupId>org.apache.maven.shared</groupId>
60 <artifactId>maven-verifier</artifactId>
61 <version>1.6</version>
65 <groupId>org.codehaus.groovy</groupId>
66 <artifactId>groovy</artifactId>
67 <version>2.4.5</version>
71 <groupId>org.codehaus.groovy</groupId>
72 <artifactId>groovy-xml</artifactId>
73 <version>2.4.5</version>
77 <groupId>org.apache.maven</groupId>
78 <artifactId>maven-core</artifactId>
79 <version>3.3.3</version>
82 <groupId>org.apache.maven</groupId>
83 <artifactId>maven-plugin-api</artifactId>
84 <version>3.3.3</version>
87 <groupId>org.eclipse.xtend</groupId>
88 <artifactId>org.eclipse.xtend.lib</artifactId>
89 <version>2.9.2</version>
92 <groupId>org.eclipse.xtend</groupId>
93 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
94 <version>2.9.2</version>
97 <groupId>org.eclipse.xtext</groupId>
98 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
99 <version>2.9.2</version>
103 <groupId>org.glassfish.jersey.ext</groupId>
104 <artifactId>jersey-proxy-client</artifactId>
105 <version>2.22</version>
108 <groupId>org.glassfish.jersey.core</groupId>
109 <artifactId>jersey-client</artifactId>
110 <version>2.0</version>
113 </dependencyManagement>
117 <groupId>org.slf4j</groupId>
118 <artifactId>slf4j-simple</artifactId>
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-jar-plugin</artifactId>
129 <version>${maven.jar.version}</version>
133 Bundle OSGi Manifest created by maven-bundle-plugin
136 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
141 <groupId>org.apache.felix</groupId>
142 <artifactId>maven-bundle-plugin</artifactId>
143 <extensions>true</extensions>
146 <id>bundle-manifest</id>
147 <phase>process-classes</phase>
149 <goal>manifest</goal>
156 <groupId>org.eclipse.m2e</groupId>
157 <artifactId>lifecycle-mapping</artifactId>
158 <version>1.0.0</version>
160 <lifecycleMappingMetadata>
163 <pluginExecutionFilter>
164 <groupId>org.apache.felix</groupId>
165 <artifactId>maven-bundle-plugin</artifactId>
166 <versionRange>[1.0,)</versionRange>
168 <goal>manifest</goal>
170 </pluginExecutionFilter>
176 <pluginExecutionFilter>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-antrun-plugin</artifactId>
179 <versionRange>[1.0,)</versionRange>
183 </pluginExecutionFilter>
189 <pluginExecutionFilter>
190 <groupId>org.opendaylight.yangtools</groupId>
191 <artifactId>yang-maven-plugin</artifactId>
192 <versionRange>[0.5,)</versionRange>
194 <goal>generate-sources</goal>
196 </pluginExecutionFilter>
202 <pluginExecutionFilter>
203 <groupId>org.codehaus.mojo</groupId>
204 <artifactId>properties-maven-plugin</artifactId>
205 <versionRange>1.0-alpha-2</versionRange>
207 <goal>write-project-properties</goal>
209 </pluginExecutionFilter>
215 <pluginExecutionFilter>
216 <groupId>org.ops4j.pax.exam</groupId>
217 <artifactId>maven-paxexam-plugin</artifactId>
218 <versionRange>1.2.4</versionRange>
220 <goal>generate-depends-file</goal>
222 </pluginExecutionFilter>
228 <pluginExecutionFilter>
229 <groupId>org.jacoco</groupId>
230 <artifactId>jacoco-maven-plugin</artifactId>
231 <versionRange>[0.6,)</versionRange>
233 <goal>prepare-agent</goal>
235 </pluginExecutionFilter>
241 <pluginExecutionFilter>
242 <groupId>org.apache.maven.plugins</groupId>
243 <artifactId>maven-checkstyle-plugin</artifactId>
244 <versionRange>[2.12,)</versionRange>
248 </pluginExecutionFilter>
254 </lifecycleMappingMetadata>
258 <groupId>org.opendaylight.yangtools</groupId>
259 <artifactId>yang-maven-plugin</artifactId>
260 <version>0.9.0-SNAPSHOT</version>
264 <goal>generate-sources</goal>
267 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
271 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
272 </codeGeneratorClass>
278 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
279 <outputBaseDir>target/site/models</outputBaseDir>
282 <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
283 <outputBaseDir>target/site/models</outputBaseDir>
286 <inspectDependencies>true</inspectDependencies>
292 <groupId>org.opendaylight.mdsal</groupId>
293 <artifactId>maven-sal-api-gen-plugin</artifactId>
294 <version>0.9.0-SNAPSHOT</version>
300 <groupId>org.ops4j.pax.exam</groupId>
301 <artifactId>maven-paxexam-plugin</artifactId>
302 <version>1.2.4</version>
305 <id>generate-config</id>
307 <goal>generate-depends-file</goal>
313 <groupId>org.apache.maven.plugins</groupId>
314 <artifactId>maven-javadoc-plugin</artifactId>
315 <version>${maven.javadoc.version}</version>
317 <stylesheetfile>stylesheet.css</stylesheetfile>
321 <id>attach-javadocs</id>
328 <goal>aggregate</goal>
335 <groupId>org.codehaus.mojo</groupId>
336 <artifactId>build-helper-maven-plugin</artifactId>
337 <version>1.9.1</version>
340 <phase>generate-sources</phase>
342 <goal>add-source</goal>
346 <source>target/generated-sources/parser</source>
347 <source>${salGeneratorPath}</source>
348 <source>${basedir}/src/main/xtend-gen</source>
355 <groupId>org.eclipse.xtend</groupId>
356 <artifactId>xtend-maven-plugin</artifactId>
357 <version>2.9.2</version>
364 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
370 <groupId>org.apache.servicemix.tooling</groupId>
371 <artifactId>depends-maven-plugin</artifactId>
372 <version>${maven.depends.version}</version>
375 <id>generate-depends-file</id>
377 <goal>generate-depends-file</goal>
387 <groupId>org.apache.maven.plugins</groupId>
388 <artifactId>maven-enforcer-plugin</artifactId>
392 <id>enforce-dependencies</id>
395 <DependencyConvergence />
407 <artifactId>maven-clean-plugin</artifactId>
411 <directory>${basedir}/src/main/xtend-gen</directory>
413 <include>**</include>
420 <groupId>org.apache.maven.plugins</groupId>
421 <artifactId>maven-jar-plugin</artifactId>
424 <groupId>org.apache.felix</groupId>
425 <artifactId>maven-bundle-plugin</artifactId>
428 <groupId>org.apache.maven.plugins</groupId>
429 <artifactId>maven-javadoc-plugin</artifactId>
432 <groupId>org.codehaus.mojo</groupId>
433 <artifactId>build-helper-maven-plugin</artifactId>
439 Maven Site Configuration
441 The following configuration is necessary for maven-site-plugin to
442 correctly identify the correct deployment path for OpenDaylight Maven
445 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
447 <distributionManagement>
449 <id>opendaylight-site</id>
450 <url>${nexus.site.url}/${project.artifactId}/</url>
452 </distributionManagement>