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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <packaging>pom</packaging>
5 <groupId>org.opendaylight.packetcable</groupId>
6 <artifactId>packetcable-parent</artifactId>
7 <version>1.0.0-SNAPSHOT</version>
10 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
11 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
12 <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
13 <bundle.plugin.version>2.3.7</bundle.plugin.version>
14 <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
15 <java.version.source>1.7</java.version.source>
16 <java.version.target>1.7</java.version.target>
17 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
18 <mdsal.version>1.1-SNAPSHOT</mdsal.version>
19 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
20 <ietf-inet-types.version>2010.09.24.4-SNAPSHOT</ietf-inet-types.version>
21 <ietf-yang-types.version>2010.09.24.4-SNAPSHOT</ietf-yang-types.version>
22 <spring.version>3.1.3.RELEASE</spring.version>
23 <jackson.version>1.9.10</jackson.version>
24 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
25 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
26 <config.version>0.2.5-SNAPSHOT</config.version>
27 <controller.model.version>1.1-SNAPSHOT</controller.model.version>
31 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
32 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
33 <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
38 <!-- OpenDayLight Repo Mirror -->
40 <id>opendaylight-mirror</id>
41 <name>opendaylight-mirror</name>
42 <url>${nexusproxy}/groups/public/</url>
44 <enabled>false</enabled>
47 <enabled>true</enabled>
48 <updatePolicy>never</updatePolicy>
51 <!-- OpenDayLight Snapshot artifact -->
53 <id>opendaylight-snapshot</id>
54 <name>opendaylight-snapshot</name>
55 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
57 <enabled>true</enabled>
60 <enabled>false</enabled>
66 <!-- OpenDayLight Repo Mirror -->
68 <id>opendaylight-mirror</id>
69 <name>opendaylight-mirror</name>
70 <url>${nexusproxy}/groups/public/</url>
72 <enabled>false</enabled>
75 <enabled>true</enabled>
76 <updatePolicy>never</updatePolicy>
79 <!-- OpenDayLight Snapshot artifact -->
81 <id>opendaylight-snapshot</id>
82 <name>opendaylight-snapshot</name>
83 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
85 <enabled>true</enabled>
88 <enabled>false</enabled>
93 <distributionManagement>
94 <!-- OpenDayLight Released artifact -->
96 <id>opendaylight-release</id>
97 <url>${nexusproxy}/repositories/opendaylight.release/</url>
99 <!-- OpenDayLight Snapshot artifact -->
101 <id>opendaylight-snapshot</id>
102 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
103 </snapshotRepository>
104 <!-- Site deployment -->
107 <url>${sitedeploy}</url>
109 </distributionManagement>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-compiler-plugin</artifactId>
118 <version>${maven.compile.plugin.version}</version>
120 <source>${java.version.source}</source>
121 <target>${java.version.target}</target>
124 <!-- tells eclipse to import these folders into the package explorer as "source" folders
125 which allows eclipse to resolve the classes correctly during an eclipse build -->
127 <groupId>org.codehaus.mojo</groupId>
128 <artifactId>build-helper-maven-plugin</artifactId>
129 <version>1.8</version>
134 <goal>add-source</goal>
136 <phase>generate-sources</phase>
139 <source>src/main/yang</source>
140 <source>${jmxGeneratorPath}</source>
141 <source>${salGeneratorPath}</source>
147 <!-- cleans up auto generated code -->
149 <artifactId>maven-clean-plugin</artifactId>
153 <directory>${jmxGeneratorPath}</directory>
155 <include>**</include>
159 <directory>${salGeneratorPath}</directory>
161 <include>**</include>
168 <!-- Ignore/Execute plugin execution -->
170 <groupId>org.eclipse.m2e</groupId>
171 <artifactId>lifecycle-mapping</artifactId>
172 <version>1.0.0</version>
174 <lifecycleMappingMetadata>
177 <pluginExecutionFilter>
178 <groupId>org.codehaus.mojo</groupId>
179 <artifactId>properties-maven-plugin</artifactId>
180 <versionRange>[0.0,)</versionRange>
182 <goal>set-system-properties</goal>
184 </pluginExecutionFilter>
190 <pluginExecutionFilter>
191 <groupId>org.codehaus.enunciate</groupId>
192 <artifactId>maven-enunciate-plugin</artifactId>
193 <versionRange>[0.0,)</versionRange>
197 </pluginExecutionFilter>
203 <pluginExecutionFilter>
204 <groupId>org.jacoco</groupId>
205 <artifactId>jacoco-maven-plugin</artifactId>
206 <versionRange>[0.0,)</versionRange>
208 <goal>prepare-agent</goal>
209 <goal>pre-test</goal>
210 <goal>post-test</goal>
212 </pluginExecutionFilter>
218 <pluginExecutionFilter>
219 <groupId>org.ops4j.pax.exam</groupId>
220 <artifactId>maven-paxexam-plugin</artifactId>
221 <versionRange>[1.2.4,)</versionRange>
223 <goal>generate-depends-file</goal>
225 </pluginExecutionFilter>
228 <runOnIncremental>false</runOnIncremental>
233 <pluginExecutionFilter>
234 <groupId>org.apache.maven.plugins</groupId>
235 <artifactId>maven-checkstyle-plugin</artifactId>
236 <versionRange>[2.0,)</versionRange>
240 </pluginExecutionFilter>
246 <pluginExecutionFilter>
247 <groupId>org.opendaylight.yangtools</groupId>
248 <artifactId>yang-maven-plugin</artifactId>
249 <versionRange>[0.5,)</versionRange>
251 <goal>generate-sources</goal>
253 </pluginExecutionFilter>
259 <pluginExecutionFilter>
260 <groupId>org.codehaus.groovy.maven</groupId>
261 <artifactId>gmaven-plugin</artifactId>
262 <versionRange>1.0</versionRange>
266 </pluginExecutionFilter>
272 <pluginExecutionFilter>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-enforcer-plugin</artifactId>
275 <versionRange>${enforcer.version}</versionRange>
279 </pluginExecutionFilter>
285 </lifecycleMappingMetadata>
292 <groupId>org.codehaus.mojo</groupId>
293 <artifactId>build-helper-maven-plugin</artifactId>
298 <module>packetcable-model</module>
299 <module>protocol_plugins.packetcable</module>