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.8.0-Beryllium</yang.version>
15 <yang.codegen.version>0.8.0-Beryllium</yang.codegen.version>
16 <bundle.plugin.version>2.3.7</bundle.plugin.version>
19 <connection>scm:git:http://git.opendaylight.org/gerrit/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 <distributionManagement>
147 <!-- OpenDayLight Released artifact -->
149 <id>opendaylight-release</id>
150 <url>${nexusproxy}/repositories/${nexus.repository.release}/</url>
152 <!-- OpenDayLight Snapshot artifact -->
154 <id>opendaylight-snapshot</id>
155 <url>${nexusproxy}/repositories/${nexus.repository.snapshot}/</url>
156 </snapshotRepository>
157 <!-- Site deployment -->
160 <url>${sitedeploy}</url>
162 </distributionManagement>
165 <groupId>org.opendaylight.yangtools</groupId>
166 <artifactId>yang-binding</artifactId>
167 <version>${yang.codegen.version}</version>