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.mdsal</groupId>
38 <artifactId>mdsal-artifacts</artifactId>
39 <version>2.1.0-SNAPSHOT</version>
44 <groupId>org.opendaylight.yangtools</groupId>
45 <artifactId>yangtools-artifacts</artifactId>
46 <version>1.0.0-SNAPSHOT</version>
50 <!-- Testing Dependencies -->
52 <groupId>org.apache.maven.shared</groupId>
53 <artifactId>maven-verifier</artifactId>
54 <version>1.6</version>
58 <groupId>org.codehaus.groovy</groupId>
59 <artifactId>groovy</artifactId>
60 <version>2.4.5</version>
64 <groupId>org.codehaus.groovy</groupId>
65 <artifactId>groovy-xml</artifactId>
66 <version>2.4.5</version>
70 <groupId>org.apache.maven</groupId>
71 <artifactId>maven-core</artifactId>
72 <version>3.3.3</version>
75 <groupId>org.apache.maven</groupId>
76 <artifactId>maven-plugin-api</artifactId>
77 <version>3.3.3</version>
80 <groupId>org.eclipse.xtend</groupId>
81 <artifactId>org.eclipse.xtend.lib</artifactId>
82 <version>2.8.4</version>
85 <groupId>org.eclipse.xtend</groupId>
86 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
87 <version>2.8.4</version>
90 <groupId>org.eclipse.xtext</groupId>
91 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
92 <version>2.8.4</version>
96 <groupId>org.glassfish.jersey.ext</groupId>
97 <artifactId>jersey-proxy-client</artifactId>
98 <version>2.22</version>
101 <groupId>org.glassfish.jersey.core</groupId>
102 <artifactId>jersey-client</artifactId>
103 <version>2.0</version>
106 </dependencyManagement>
110 <groupId>org.slf4j</groupId>
111 <artifactId>slf4j-simple</artifactId>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-jar-plugin</artifactId>
122 <version>${maven.jar.version}</version>
126 Bundle OSGi Manifest created by maven-bundle-plugin
129 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
134 <groupId>org.apache.felix</groupId>
135 <artifactId>maven-bundle-plugin</artifactId>
136 <extensions>true</extensions>
139 <id>bundle-manifest</id>
140 <phase>process-classes</phase>
142 <goal>manifest</goal>
149 <groupId>org.eclipse.m2e</groupId>
150 <artifactId>lifecycle-mapping</artifactId>
151 <version>1.0.0</version>
153 <lifecycleMappingMetadata>
156 <pluginExecutionFilter>
157 <groupId>org.apache.felix</groupId>
158 <artifactId>maven-bundle-plugin</artifactId>
159 <versionRange>[1.0,)</versionRange>
161 <goal>manifest</goal>
163 </pluginExecutionFilter>
169 <pluginExecutionFilter>
170 <groupId>org.apache.maven.plugins</groupId>
171 <artifactId>maven-antrun-plugin</artifactId>
172 <versionRange>[1.0,)</versionRange>
176 </pluginExecutionFilter>
182 <pluginExecutionFilter>
183 <groupId>org.opendaylight.yangtools</groupId>
184 <artifactId>yang-maven-plugin</artifactId>
185 <versionRange>[0.5,)</versionRange>
187 <goal>generate-sources</goal>
189 </pluginExecutionFilter>
195 <pluginExecutionFilter>
196 <groupId>org.codehaus.mojo</groupId>
197 <artifactId>properties-maven-plugin</artifactId>
198 <versionRange>1.0-alpha-2</versionRange>
200 <goal>write-project-properties</goal>
202 </pluginExecutionFilter>
208 <pluginExecutionFilter>
209 <groupId>org.ops4j.pax.exam</groupId>
210 <artifactId>maven-paxexam-plugin</artifactId>
211 <versionRange>1.2.4</versionRange>
213 <goal>generate-depends-file</goal>
215 </pluginExecutionFilter>
221 <pluginExecutionFilter>
222 <groupId>org.jacoco</groupId>
223 <artifactId>jacoco-maven-plugin</artifactId>
224 <versionRange>[0.6,)</versionRange>
226 <goal>prepare-agent</goal>
228 </pluginExecutionFilter>
234 <pluginExecutionFilter>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-checkstyle-plugin</artifactId>
237 <versionRange>[2.12,)</versionRange>
241 </pluginExecutionFilter>
247 </lifecycleMappingMetadata>
251 <groupId>org.opendaylight.yangtools</groupId>
252 <artifactId>yang-maven-plugin</artifactId>
253 <version>0.9.0-SNAPSHOT</version>
257 <goal>generate-sources</goal>
260 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
264 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
265 </codeGeneratorClass>
271 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
272 <outputBaseDir>target/site/models</outputBaseDir>
275 <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
276 <outputBaseDir>target/site/models</outputBaseDir>
279 <inspectDependencies>true</inspectDependencies>
285 <groupId>org.opendaylight.mdsal</groupId>
286 <artifactId>maven-sal-api-gen-plugin</artifactId>
287 <version>0.9.0-SNAPSHOT</version>
293 <groupId>org.ops4j.pax.exam</groupId>
294 <artifactId>maven-paxexam-plugin</artifactId>
295 <version>1.2.4</version>
298 <id>generate-config</id>
300 <goal>generate-depends-file</goal>
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-javadoc-plugin</artifactId>
308 <version>${maven.javadoc.version}</version>
310 <stylesheetfile>stylesheet.css</stylesheetfile>
314 <id>attach-javadocs</id>
321 <goal>aggregate</goal>
328 <groupId>org.codehaus.mojo</groupId>
329 <artifactId>build-helper-maven-plugin</artifactId>
330 <version>1.9.1</version>
333 <phase>generate-sources</phase>
335 <goal>add-source</goal>
339 <source>target/generated-sources/parser</source>
340 <source>${salGeneratorPath}</source>
341 <source>${basedir}/src/main/xtend-gen</source>
348 <groupId>org.eclipse.xtend</groupId>
349 <artifactId>xtend-maven-plugin</artifactId>
350 <version>2.8.4</version>
357 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
363 <groupId>org.apache.servicemix.tooling</groupId>
364 <artifactId>depends-maven-plugin</artifactId>
365 <version>${maven.depends.version}</version>
368 <id>generate-depends-file</id>
370 <goal>generate-depends-file</goal>
380 <groupId>org.apache.maven.plugins</groupId>
381 <artifactId>maven-enforcer-plugin</artifactId>
385 <id>enforce-dependencies</id>
388 <DependencyConvergence />
400 <artifactId>maven-clean-plugin</artifactId>
404 <directory>${basedir}/src/main/xtend-gen</directory>
406 <include>**</include>
413 <groupId>org.apache.maven.plugins</groupId>
414 <artifactId>maven-jar-plugin</artifactId>
417 <groupId>org.apache.felix</groupId>
418 <artifactId>maven-bundle-plugin</artifactId>
421 <groupId>org.apache.maven.plugins</groupId>
422 <artifactId>maven-javadoc-plugin</artifactId>
425 <groupId>org.codehaus.mojo</groupId>
426 <artifactId>build-helper-maven-plugin</artifactId>