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>
6 <groupId>org.opendaylight.odlparent</groupId>
7 <artifactId>odlparent</artifactId>
8 <version>3.0.2</version>
11 <groupId>org.opendaylight.l2switch</groupId>
12 <artifactId>l2switch-parent</artifactId>
13 <version>0.7.0-SNAPSHOT</version>
14 <packaging>pom</packaging>
17 <codeGeneratorPath>src/main/yang-gen-code</codeGeneratorPath>
18 <configCodeGeneratorPath>src/main/yang-gen-config</configCodeGeneratorPath>
19 <branding.version>1.6.0-SNAPSHOT</branding.version>
20 <mdsal.version>2.4.0-SNAPSHOT</mdsal.version>
21 <mdsal.model.version>0.12.0-SNAPSHOT</mdsal.model.version>
22 <controller.mdsal.version>1.7.0-SNAPSHOT</controller.mdsal.version>
23 <jung2.version>2.0.1</jung2.version>
24 <yangtools.version>2.0.0</yangtools.version>
25 <openflow.plugin.version>0.6.0-SNAPSHOT</openflow.plugin.version>
26 <dlux.version>0.7.0-SNAPSHOT</dlux.version>
29 <dependencyManagement>
32 <groupId>org.opendaylight.yangtools</groupId>
33 <artifactId>yangtools-artifacts</artifactId>
34 <version>${yangtools.version}</version>
39 <groupId>org.opendaylight.mdsal</groupId>
40 <artifactId>mdsal-artifacts</artifactId>
41 <version>${mdsal.version}</version>
46 <groupId>org.opendaylight.mdsal.model</groupId>
47 <artifactId>mdsal-model-artifacts</artifactId>
48 <version>${mdsal.model.version}</version>
53 <groupId>org.opendaylight.controller</groupId>
54 <artifactId>mdsal-artifacts</artifactId>
55 <version>${controller.mdsal.version}</version>
60 <groupId>org.opendaylight.openflowplugin</groupId>
61 <artifactId>openflowplugin-artifacts</artifactId>
62 <version>${openflow.plugin.version}</version>
67 <groupId>org.opendaylight.l2switch</groupId>
68 <artifactId>l2switch-artifacts</artifactId>
69 <version>${project.version}</version>
75 <groupId>net.sf.jung</groupId>
76 <artifactId>jung-api</artifactId>
77 <version>2.1.1</version>
80 <groupId>net.sf.jung</groupId>
81 <artifactId>jung-algorithms</artifactId>
82 <version>2.1.1</version>
85 <groupId>net.sf.jung</groupId>
86 <artifactId>jung-graph-impl</artifactId>
87 <version>2.1.1</version>
90 </dependencyManagement>
92 <distributionManagement>
93 <!-- OpenDayLight Released artifact -->
95 <id>opendaylight-release</id>
96 <url>${nexusproxy}/repositories/opendaylight.release/</url>
98 <!-- OpenDayLight Snapshot artifact -->
100 <id>opendaylight-snapshot</id>
101 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
102 </snapshotRepository>
104 <id>${project.artifactId}-site</id>
107 </distributionManagement>
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-compiler-plugin</artifactId>
115 <version>${maven.compile.plugin.version}</version>
117 <source>${java.version.source}</source>
118 <target>${java.version.target}</target>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-checkstyle-plugin</artifactId>
126 <failOnViolation>true</failOnViolation>
127 <configLocation>checkstyle-logging.xml</configLocation>
128 <consoleOutput>true</consoleOutput>
129 <includeTestSourceDirectory>true</includeTestSourceDirectory>
130 <sourceDirectory>${project.basedir}</sourceDirectory>
131 <includes>**\/*.java,**\/*.yang,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
132 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/xtend-gen\/,**\/${codeGeneratorPath}\/,**\/${configCodeGeneratorPath}\/,</excludes>
136 <groupId>org.opendaylight.yangtools</groupId>
137 <artifactId>checkstyle-logging</artifactId>
138 <version>${yangtools.version}</version>
147 <phase>process-sources</phase>
152 <!-- tells eclipse to import these folders into the package explorer as "source" folders
153 which allows eclipse to resolve the classes correctly during an eclipse build -->
155 <groupId>org.codehaus.mojo</groupId>
156 <artifactId>build-helper-maven-plugin</artifactId>
157 <version>1.8</version>
162 <goal>add-source</goal>
164 <phase>generate-sources</phase>
167 <source>src/main/yang</source>
168 <source>${codeGeneratorPath}</source>
169 <source>${configCodeGeneratorPath}</source>
175 <!-- cleans up auto generated code -->
177 <artifactId>maven-clean-plugin</artifactId>
181 <directory>${codeGeneratorPath}</directory>
182 <directory>${configCodeGeneratorPath}</directory>
184 <include>**</include>
191 <!-- Ignore/Execute plugin execution -->
193 <groupId>org.eclipse.m2e</groupId>
194 <artifactId>lifecycle-mapping</artifactId>
195 <version>1.0.0</version>
197 <lifecycleMappingMetadata>
200 <pluginExecutionFilter>
201 <groupId>org.codehaus.mojo</groupId>
202 <artifactId>properties-maven-plugin</artifactId>
203 <versionRange>[0.0,)</versionRange>
205 <goal>set-system-properties</goal>
207 </pluginExecutionFilter>
213 <pluginExecutionFilter>
214 <groupId>org.jacoco</groupId>
215 <artifactId>jacoco-maven-plugin</artifactId>
216 <versionRange>[0.0,)</versionRange>
218 <goal>prepare-agent</goal>
219 <goal>pre-test</goal>
220 <goal>post-test</goal>
222 </pluginExecutionFilter>
228 <pluginExecutionFilter>
229 <groupId>org.ops4j.pax.exam</groupId>
230 <artifactId>maven-paxexam-plugin</artifactId>
231 <versionRange>[1.2.4,)</versionRange>
233 <goal>generate-depends-file</goal>
235 </pluginExecutionFilter>
238 <runOnIncremental>false</runOnIncremental>
243 <pluginExecutionFilter>
244 <groupId>org.apache.maven.plugins</groupId>
245 <artifactId>maven-checkstyle-plugin</artifactId>
246 <versionRange>[2.0,)</versionRange>
250 </pluginExecutionFilter>
256 <pluginExecutionFilter>
257 <groupId>org.opendaylight.yangtools</groupId>
258 <artifactId>yang-maven-plugin</artifactId>
259 <versionRange>[0.5,)</versionRange>
261 <goal>generate-sources</goal>
263 </pluginExecutionFilter>
269 <pluginExecutionFilter>
270 <groupId>org.codehaus.groovy.maven</groupId>
271 <artifactId>gmaven-plugin</artifactId>
272 <versionRange>1.0</versionRange>
276 </pluginExecutionFilter>
282 <pluginExecutionFilter>
283 <groupId>org.apache.maven.plugins</groupId>
284 <artifactId>maven-enforcer-plugin</artifactId>
285 <versionRange>${enforcer.version}</versionRange>
289 </pluginExecutionFilter>
295 </lifecycleMappingMetadata>
302 <groupId>org.codehaus.mojo</groupId>
303 <artifactId>build-helper-maven-plugin</artifactId>
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-checkstyle-plugin</artifactId>