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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13 <groupId>org.opendaylight.odlparent</groupId>
14 <artifactId>odlparent</artifactId>
15 <version>2.0.7</version>
19 <modelVersion>4.0.0</modelVersion>
20 <artifactId>mdsal-parent</artifactId>
21 <groupId>org.opendaylight.mdsal</groupId>
22 <version>2.3.3</version>
23 <packaging>pom</packaging>
26 <yangtools.version>1.2.3</yangtools.version>
27 <salGeneratorPath>${project.build.directory}/generated-sources/sal</salGeneratorPath>
29 <!-- FIXME: these will be upstreamed -->
30 <maven.depends.version>1.2</maven.depends.version>
33 <dependencyManagement>
36 <groupId>org.opendaylight.odlparent</groupId>
37 <artifactId>odlparent-artifacts</artifactId>
38 <version>2.0.7</version>
43 <groupId>org.opendaylight.mdsal</groupId>
44 <artifactId>mdsal-artifacts</artifactId>
45 <version>2.3.3</version>
50 <groupId>org.opendaylight.yangtools</groupId>
51 <artifactId>yangtools-artifacts</artifactId>
52 <version>1.2.3</version>
56 <!-- Testing Dependencies -->
58 <groupId>org.apache.maven.shared</groupId>
59 <artifactId>maven-verifier</artifactId>
60 <version>1.6</version>
64 <groupId>org.codehaus.groovy</groupId>
65 <artifactId>groovy</artifactId>
66 <version>2.4.5</version>
70 <groupId>org.codehaus.groovy</groupId>
71 <artifactId>groovy-xml</artifactId>
72 <version>2.4.5</version>
76 <groupId>org.apache.maven</groupId>
77 <artifactId>maven-plugin-api</artifactId>
78 <version>3.3.3</version>
81 <groupId>org.glassfish.jersey.ext</groupId>
82 <artifactId>jersey-proxy-client</artifactId>
83 <version>2.22</version>
86 <groupId>org.glassfish.jersey.core</groupId>
87 <artifactId>jersey-client</artifactId>
88 <version>2.0</version>
91 </dependencyManagement>
95 <groupId>org.slf4j</groupId>
96 <artifactId>slf4j-simple</artifactId>
105 <groupId>org.opendaylight.yangtools</groupId>
106 <artifactId>yang-maven-plugin</artifactId>
107 <version>0.11.3</version>
111 <goal>generate-sources</goal>
114 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
118 org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
119 </codeGeneratorClass>
123 <resourceBaseDir>${project.build.directory}/generated-sources/spi</resourceBaseDir>
126 <codeGeneratorClass>org.opendaylight.mdsal.binding.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
127 <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
130 <codeGeneratorClass>org.opendaylight.mdsal.binding.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
131 <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
134 <inspectDependencies>true</inspectDependencies>
140 <groupId>org.opendaylight.mdsal</groupId>
141 <artifactId>maven-sal-api-gen-plugin</artifactId>
142 <version>0.11.3</version>
148 <groupId>org.ops4j.pax.exam</groupId>
149 <artifactId>maven-paxexam-plugin</artifactId>
150 <version>1.2.4</version>
153 <id>generate-config</id>
155 <goal>generate-depends-file</goal>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-javadoc-plugin</artifactId>
164 <stylesheetfile>stylesheet.css</stylesheetfile>
168 <id>attach-javadocs</id>
175 <goal>aggregate</goal>
182 <groupId>org.codehaus.mojo</groupId>
183 <artifactId>build-helper-maven-plugin</artifactId>
184 <version>1.9.1</version>
187 <phase>generate-sources</phase>
189 <goal>add-source</goal>
193 <source>${project.build.directory}/generated-sources/parser</source>
194 <source>${salGeneratorPath}</source>
201 <groupId>org.apache.servicemix.tooling</groupId>
202 <artifactId>depends-maven-plugin</artifactId>
203 <version>${maven.depends.version}</version>
206 <id>generate-depends-file</id>
208 <goal>generate-depends-file</goal>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-enforcer-plugin</artifactId>
223 <id>enforce-dependencies</id>
226 <DependencyConvergence />
237 <groupId>org.apache.maven.plugins</groupId>
238 <artifactId>maven-jar-plugin</artifactId>
241 <groupId>org.apache.felix</groupId>
242 <artifactId>maven-bundle-plugin</artifactId>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-javadoc-plugin</artifactId>
249 <groupId>org.codehaus.mojo</groupId>
250 <artifactId>build-helper-maven-plugin</artifactId>
256 Maven Site Configuration
258 The following configuration is necessary for maven-site-plugin to
259 correctly identify the correct deployment path for OpenDaylight Maven
262 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
264 <distributionManagement>
266 <id>opendaylight-site</id>
267 <url>${nexus.site.url}/${project.artifactId}/</url>
269 </distributionManagement>