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.glassfish.jersey.ext</groupId>
88 <artifactId>jersey-proxy-client</artifactId>
89 <version>2.22</version>
92 <groupId>org.glassfish.jersey.core</groupId>
93 <artifactId>jersey-client</artifactId>
94 <version>2.0</version>
97 </dependencyManagement>
101 <groupId>org.slf4j</groupId>
102 <artifactId>slf4j-simple</artifactId>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-jar-plugin</artifactId>
113 <version>${maven.jar.version}</version>
117 Bundle OSGi Manifest created by maven-bundle-plugin
120 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
125 <groupId>org.apache.felix</groupId>
126 <artifactId>maven-bundle-plugin</artifactId>
127 <extensions>true</extensions>
130 <id>bundle-manifest</id>
131 <phase>process-classes</phase>
133 <goal>manifest</goal>
140 <groupId>org.eclipse.m2e</groupId>
141 <artifactId>lifecycle-mapping</artifactId>
142 <version>1.0.0</version>
144 <lifecycleMappingMetadata>
147 <pluginExecutionFilter>
148 <groupId>org.apache.felix</groupId>
149 <artifactId>maven-bundle-plugin</artifactId>
150 <versionRange>[1.0,)</versionRange>
152 <goal>manifest</goal>
154 </pluginExecutionFilter>
160 <pluginExecutionFilter>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-antrun-plugin</artifactId>
163 <versionRange>[1.0,)</versionRange>
167 </pluginExecutionFilter>
173 <pluginExecutionFilter>
174 <groupId>org.opendaylight.yangtools</groupId>
175 <artifactId>yang-maven-plugin</artifactId>
176 <versionRange>[0.5,)</versionRange>
178 <goal>generate-sources</goal>
180 </pluginExecutionFilter>
186 <pluginExecutionFilter>
187 <groupId>org.codehaus.mojo</groupId>
188 <artifactId>properties-maven-plugin</artifactId>
189 <versionRange>1.0-alpha-2</versionRange>
191 <goal>write-project-properties</goal>
193 </pluginExecutionFilter>
199 <pluginExecutionFilter>
200 <groupId>org.ops4j.pax.exam</groupId>
201 <artifactId>maven-paxexam-plugin</artifactId>
202 <versionRange>1.2.4</versionRange>
204 <goal>generate-depends-file</goal>
206 </pluginExecutionFilter>
212 <pluginExecutionFilter>
213 <groupId>org.jacoco</groupId>
214 <artifactId>jacoco-maven-plugin</artifactId>
215 <versionRange>[0.6,)</versionRange>
217 <goal>prepare-agent</goal>
219 </pluginExecutionFilter>
225 </lifecycleMappingMetadata>
229 <groupId>org.opendaylight.yangtools</groupId>
230 <artifactId>yang-maven-plugin</artifactId>
231 <version>0.9.0-SNAPSHOT</version>
235 <goal>generate-sources</goal>
238 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
242 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
243 </codeGeneratorClass>
249 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
250 <outputBaseDir>target/site/models</outputBaseDir>
253 <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
254 <outputBaseDir>target/site/models</outputBaseDir>
257 <inspectDependencies>true</inspectDependencies>
263 <groupId>org.opendaylight.mdsal</groupId>
264 <artifactId>maven-sal-api-gen-plugin</artifactId>
265 <version>0.9.0-SNAPSHOT</version>
271 <groupId>org.ops4j.pax.exam</groupId>
272 <artifactId>maven-paxexam-plugin</artifactId>
273 <version>1.2.4</version>
276 <id>generate-config</id>
278 <goal>generate-depends-file</goal>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-javadoc-plugin</artifactId>
286 <version>${maven.javadoc.version}</version>
288 <stylesheetfile>stylesheet.css</stylesheetfile>
292 <id>attach-javadocs</id>
299 <goal>aggregate</goal>
306 <groupId>org.codehaus.mojo</groupId>
307 <artifactId>build-helper-maven-plugin</artifactId>
308 <version>1.9.1</version>
311 <phase>generate-sources</phase>
313 <goal>add-source</goal>
317 <source>target/generated-sources/parser</source>
318 <source>${salGeneratorPath}</source>
325 <groupId>org.apache.servicemix.tooling</groupId>
326 <artifactId>depends-maven-plugin</artifactId>
327 <version>${maven.depends.version}</version>
330 <id>generate-depends-file</id>
332 <goal>generate-depends-file</goal>
342 <groupId>org.apache.maven.plugins</groupId>
343 <artifactId>maven-enforcer-plugin</artifactId>
347 <id>enforce-dependencies</id>
350 <DependencyConvergence />
361 <groupId>org.apache.maven.plugins</groupId>
362 <artifactId>maven-jar-plugin</artifactId>
365 <groupId>org.apache.felix</groupId>
366 <artifactId>maven-bundle-plugin</artifactId>
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-javadoc-plugin</artifactId>
373 <groupId>org.codehaus.mojo</groupId>
374 <artifactId>build-helper-maven-plugin</artifactId>
380 Maven Site Configuration
382 The following configuration is necessary for maven-site-plugin to
383 correctly identify the correct deployment path for OpenDaylight Maven
386 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
388 <distributionManagement>
390 <id>opendaylight-site</id>
391 <url>${nexus.site.url}/${project.artifactId}/</url>
393 </distributionManagement>