1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <artifactId>${artifactId}</artifactId>
6 <groupId>${groupId}</groupId>
7 <version>${version}</version>
8 <packaging>bundle</packaging>
10 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
11 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
12 <nexus.repository.release>opendaylight.release</nexus.repository.release>
13 <nexus.repository.snapshot>opendaylight.release</nexus.repository.snapshot>
14 <yang.version>0.7.0-SNAPSHOT</yang.version>
15 <yang.codegen.version>0.7.0-SNAPSHOT</yang.codegen.version>
16 <bundle.plugin.version>2.3.7</bundle.plugin.version>
19 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
20 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
21 <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
27 <groupId>org.apache.felix</groupId>
28 <artifactId>maven-bundle-plugin</artifactId>
29 <version>${bundle.plugin.version}</version>
30 <extensions>true</extensions>
33 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
35 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
39 <groupId>org.apache.maven.plugins</groupId>
40 <artifactId>maven-compiler-plugin</artifactId>
41 <version>2.5.1</version>
42 <inherited>true</inherited>
49 <groupId>org.apache.maven.plugins</groupId>
50 <artifactId>maven-javadoc-plugin</artifactId>
51 <version>2.8.1</version>
53 <stylesheet>maven</stylesheet>
58 <goal>aggregate</goal>
65 <groupId>org.opendaylight.yangtools</groupId>
66 <artifactId>yang-maven-plugin</artifactId>
67 <version>${yang.version}</version>
71 <goal>generate-sources</goal>
74 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
77 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
78 <outputBaseDir>target/generated-sources/sal</outputBaseDir>
81 <inspectDependencies>false</inspectDependencies>
88 <groupId>org.opendaylight.yangtools</groupId>
89 <artifactId>maven-sal-api-gen-plugin</artifactId>
90 <version>${yang.codegen.version}</version>
96 <groupId>org.codehaus.mojo</groupId>
97 <artifactId>build-helper-maven-plugin</artifactId>
98 <version>1.7</version>
101 <phase>generate-sources</phase>
103 <goal>add-source</goal>
107 <source>target/generated-sources/sal</source>
116 <!--This plugin's configuration is used to store Eclipse m2e settings
117 only. It has no influence on the Maven build itself. -->
119 <groupId>org.eclipse.m2e</groupId>
120 <artifactId>lifecycle-mapping</artifactId>
121 <version>1.0.0</version>
123 <lifecycleMappingMetadata>
126 <pluginExecutionFilter>
127 <groupId>org.opendaylight.yangtools</groupId>
128 <artifactId>yang-maven-plugin</artifactId>
129 <versionRange>[0.5,)</versionRange>
131 <goal>generate-sources</goal>
133 </pluginExecutionFilter>
139 </lifecycleMappingMetadata>
146 <!-- OpenDayLight Repo Mirror -->
148 <id>opendaylight-mirror</id>
149 <name>opendaylight-mirror</name>
150 <url>${nexusproxy}/groups/public/</url>
152 <enabled>false</enabled>
155 <enabled>true</enabled>
156 <updatePolicy>never</updatePolicy>
159 <!-- OpenDayLight Snapshot artifact -->
161 <id>opendaylight-snapshot</id>
162 <name>opendaylight-snapshot</name>
163 <url>${nexusproxy}/repositories/${nexus.repository.snapshot}/</url>
165 <enabled>true</enabled>
168 <enabled>false</enabled>
171 </pluginRepositories>
174 <!-- OpenDayLight Repo Mirror -->
176 <id>opendaylight-mirror</id>
177 <name>opendaylight-mirror</name>
178 <url>${nexusproxy}/groups/public/</url>
180 <enabled>false</enabled>
183 <enabled>true</enabled>
184 <updatePolicy>never</updatePolicy>
187 <!-- OpenDayLight Snapshot artifact -->
189 <id>opendaylight-snapshot</id>
190 <name>opendaylight-snapshot</name>
191 <url>${nexusproxy}/repositories/${nexus.repository.snapshot}/</url>
193 <enabled>true</enabled>
196 <enabled>false</enabled>
201 <distributionManagement>
202 <!-- OpenDayLight Released artifact -->
204 <id>opendaylight-release</id>
205 <url>${nexusproxy}/repositories/${nexus.repository.release}/</url>
207 <!-- OpenDayLight Snapshot artifact -->
209 <id>opendaylight-snapshot</id>
210 <url>${nexusproxy}/repositories/${nexus.repository.snapshot}/</url>
211 </snapshotRepository>
212 <!-- Site deployment -->
215 <url>${sitedeploy}</url>
217 </distributionManagement>
220 <groupId>org.opendaylight.yangtools</groupId>
221 <artifactId>yang-binding</artifactId>
222 <version>${yang.codegen.version}</version>