1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
\r
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
\r
4 <modelVersion>4.0.0</modelVersion>
\r
5 <artifactId>${artifactId}</artifactId>
\r
6 <groupId>${groupId}</groupId>
\r
7 <version>${version}</version>
\r
8 <packaging>bundle</packaging>
\r
10 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
\r
11 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
\r
12 <yang.version>0.5.7-SNAPSHOT</yang.version>
\r
13 <maven.bundle.version>2.4.0</maven.bundle.version>
\r
19 <groupId>org.apache.felix</groupId>
\r
20 <artifactId>maven-bundle-plugin</artifactId>
\r
21 <version>${maven.bundle.version}</version>
\r
22 <extensions>true</extensions>
\r
25 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
\r
27 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
\r
31 <groupId>org.apache.maven.plugins</groupId>
\r
32 <artifactId>maven-compiler-plugin</artifactId>
\r
33 <version>2.0</version>
\r
34 <inherited>true</inherited>
\r
36 <source>1.7</source>
\r
37 <target>1.7</target>
\r
41 <groupId>org.apache.maven.plugins</groupId>
\r
42 <artifactId>maven-javadoc-plugin</artifactId>
\r
43 <version>2.8.1</version>
\r
45 <stylesheet>maven</stylesheet>
\r
50 <goal>aggregate</goal>
\r
57 <groupId>org.opendaylight.yangtools</groupId>
\r
58 <artifactId>yang-maven-plugin</artifactId>
\r
59 <version>0.5.7-SNAPSHOT</version>
\r
63 <goal>generate-sources</goal>
\r
66 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
\r
69 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
\r
70 <outputBaseDir>target/generated-sources/sal</outputBaseDir>
\r
73 <inspectDependencies>false</inspectDependencies>
\r
80 <groupId>org.opendaylight.yangtools</groupId>
\r
81 <artifactId>maven-sal-api-gen-plugin</artifactId>
\r
82 <version>0.5.7-SNAPSHOT</version>
\r
88 <groupId>org.codehaus.mojo</groupId>
\r
89 <artifactId>build-helper-maven-plugin</artifactId>
\r
90 <version>1.7</version>
\r
93 <phase>generate-sources</phase>
\r
95 <goal>add-source</goal>
\r
99 <source>target/generated-sources/sal</source>
\r
108 <!--This plugin's configuration is used to store Eclipse m2e settings
\r
109 only. It has no influence on the Maven build itself. -->
\r
111 <groupId>org.eclipse.m2e</groupId>
\r
112 <artifactId>lifecycle-mapping</artifactId>
\r
113 <version>1.0.0</version>
\r
115 <lifecycleMappingMetadata>
\r
118 <pluginExecutionFilter>
\r
119 <groupId>org.opendaylight.yangtools</groupId>
\r
120 <artifactId>yang-maven-plugin</artifactId>
\r
121 <versionRange>[0.5,)</versionRange>
\r
123 <goal>generate-sources</goal>
\r
125 </pluginExecutionFilter>
\r
130 </pluginExecutions>
\r
131 </lifecycleMappingMetadata>
\r
135 </pluginManagement>
\r
137 <pluginRepositories>
\r
140 <name>central2</name>
\r
141 <url>http://repo2.maven.org/maven2</url>
\r
143 <enabled>false</enabled>
\r
146 <enabled>true</enabled>
\r
148 </pluginRepository>
\r
150 <id>opendaylight.snapshot</id>
\r
151 <name>opendaylight.snapshot</name>
\r
152 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
\r
153 </pluginRepository>
\r
154 </pluginRepositories>
\r
157 <!-- EBR release -->
\r
158 <!-- http://repository.springsource.com/maven/bundles/release -->
\r
160 <id>ebr-bundles-release</id>
\r
161 <name>ebr-bundles-release</name>
\r
162 <url>${nexusproxy}/repositories/ebr-bundles-release/</url>
\r
164 <!-- EBR external -->
\r
165 <!-- http://repository.springsource.com/maven/bundles/external -->
\r
167 <id>ebr-bundles-external</id>
\r
168 <name>ebr-bundles-external</name>
\r
169 <url>${nexusproxy}/repositories/ebr-bundles-external/</url>
\r
173 <name>central2</name>
\r
174 <url>http://repo2.maven.org/maven2</url>
\r
176 <enabled>false</enabled>
\r
179 <enabled>true</enabled>
\r
184 <name>central</name>
\r
185 <url>http://repo1.maven.org/maven2</url>
\r
187 <enabled>false</enabled>
\r
190 <enabled>true</enabled>
\r
193 <!-- Pax mirror -->
\r
194 <!-- https://oss.sonatype.org/content/repositories/ops4j-releases -->
\r
196 <id>ops4j-releases</id>
\r
197 <name>ops4j-releases</name>
\r
198 <url>${nexusproxy}/repositories/ops4j-releases/</url>
\r
200 <!-- Third Packages hosted in local maven because not available in other
\r
203 <id>thirdparty</id>
\r
204 <name>thirdparty</name>
\r
205 <url>${nexusproxy}/repositories/thirdparty/</url>
\r
207 <!-- Jboss mirror -->
\r
208 <!-- https://repository.jboss.org/nexus/content/repositories/releases -->
\r
210 <id>jboss.releases</id>
\r
211 <name>jboss.releases</name>
\r
212 <url>${nexusproxy}/repositories/jboss.releases/</url>
\r
214 <!-- OpenDayLight Released artifact -->
\r
216 <id>opendaylight-release</id>
\r
217 <name>opendaylight-release</name>
\r
218 <url>${nexusproxy}/repositories/opendaylight.release/</url>
\r
220 <!-- OpenDayLight Snapshot artifact -->
\r
222 <id>opendaylight-snapshot</id>
\r
223 <name>opendaylight-snapshot</name>
\r
224 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
\r
228 <distributionManagement>
\r
229 <!-- OpenDayLight Released artifact -->
\r
231 <id>opendaylight-release</id>
\r
232 <url>${nexusproxy}/repositories/opendaylight.release/</url>
\r
234 <!-- OpenDayLight Snapshot artifact -->
\r
235 <snapshotRepository>
\r
236 <id>opendaylight-snapshot</id>
\r
237 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
\r
238 </snapshotRepository>
\r
239 <!-- Site deployment -->
\r
242 <url>${sitedeploy}</url>
\r
244 </distributionManagement>
\r
247 <groupId>org.opendaylight.yangtools</groupId>
\r
248 <artifactId>yang-binding</artifactId>
\r
249 <version>${yang.version}</version>
\r
252 <groupId>org.opendaylight.yangtools</groupId>
\r
253 <artifactId>yang-common</artifactId>
\r
254 <version>${yang.version}</version>
\r