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>3.0.2</version>
17 <relativePath></relativePath>
20 <modelVersion>4.0.0</modelVersion>
21 <artifactId>mdsal-parent</artifactId>
22 <groupId>org.opendaylight.mdsal</groupId>
23 <version>2.4.0-SNAPSHOT</version>
24 <packaging>pom</packaging>
27 <yangtools.version>2.0.0</yangtools.version>
28 <salGeneratorPath>${project.build.directory}/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>3.0.2</version>
44 <groupId>org.opendaylight.mdsal</groupId>
45 <artifactId>mdsal-artifacts</artifactId>
46 <version>2.4.0-SNAPSHOT</version>
51 <groupId>org.opendaylight.yangtools</groupId>
52 <artifactId>yangtools-artifacts</artifactId>
53 <version>2.0.0</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-plugin-api</artifactId>
79 <version>3.3.3</version>
82 <groupId>org.glassfish.jersey.ext</groupId>
83 <artifactId>jersey-proxy-client</artifactId>
84 <version>2.22</version>
87 <groupId>org.glassfish.jersey.core</groupId>
88 <artifactId>jersey-client</artifactId>
89 <version>2.0</version>
92 </dependencyManagement>
96 <groupId>org.slf4j</groupId>
97 <artifactId>slf4j-simple</artifactId>
106 <groupId>org.opendaylight.yangtools</groupId>
107 <artifactId>yang-maven-plugin</artifactId>
108 <version>2.0.0</version>
112 <goal>generate-sources</goal>
115 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
119 org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
120 </codeGeneratorClass>
124 <resourceBaseDir>${project.build.directory}/generated-sources/spi</resourceBaseDir>
127 <codeGeneratorClass>org.opendaylight.mdsal.binding.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
128 <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
131 <codeGeneratorClass>org.opendaylight.mdsal.binding.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
132 <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
135 <inspectDependencies>true</inspectDependencies>
141 <groupId>org.opendaylight.mdsal</groupId>
142 <artifactId>maven-sal-api-gen-plugin</artifactId>
143 <version>0.12.0-SNAPSHOT</version>
149 <groupId>org.ops4j.pax.exam</groupId>
150 <artifactId>maven-paxexam-plugin</artifactId>
151 <version>1.2.4</version>
154 <id>generate-config</id>
156 <goal>generate-depends-file</goal>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-javadoc-plugin</artifactId>
165 <stylesheetfile>stylesheet.css</stylesheetfile>
169 <id>attach-javadocs</id>
176 <goal>aggregate</goal>
183 <groupId>org.codehaus.mojo</groupId>
184 <artifactId>build-helper-maven-plugin</artifactId>
185 <version>1.9.1</version>
188 <phase>generate-sources</phase>
190 <goal>add-source</goal>
194 <source>${project.build.directory}/generated-sources/parser</source>
195 <source>${salGeneratorPath}</source>
202 <groupId>org.apache.servicemix.tooling</groupId>
203 <artifactId>depends-maven-plugin</artifactId>
204 <version>${maven.depends.version}</version>
207 <id>generate-depends-file</id>
209 <goal>generate-depends-file</goal>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-enforcer-plugin</artifactId>
224 <id>enforce-dependencies</id>
227 <DependencyConvergence />
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-jar-plugin</artifactId>
242 <groupId>org.apache.felix</groupId>
243 <artifactId>maven-bundle-plugin</artifactId>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-javadoc-plugin</artifactId>
250 <groupId>org.codehaus.mojo</groupId>
251 <artifactId>build-helper-maven-plugin</artifactId>
257 Maven Site Configuration
259 The following configuration is necessary for maven-site-plugin to
260 correctly identify the correct deployment path for OpenDaylight Maven
263 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
265 <distributionManagement>
267 <id>opendaylight-site</id>
268 <url>${nexus.site.url}/${project.artifactId}/</url>
270 </distributionManagement>