Remove references to netconf
[openflowplugin.git] / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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/xsd/maven-4.0.0.xsd">
11
12     <parent>
13         <groupId>org.opendaylight.odlparent</groupId>
14         <artifactId>odlparent</artifactId>
15         <version>1.6.0-SNAPSHOT</version>
16         <relativePath/>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <groupId>org.opendaylight.openflowplugin</groupId>
21     <artifactId>openflowplugin-parent</artifactId>
22     <version>0.2.0-SNAPSHOT</version>
23     <packaging>pom</packaging>
24
25     <scm>
26         <connection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</connection>
27         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</developerConnection>
28         <url>https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Main</url>
29         <tag>HEAD</tag>
30     </scm>
31
32     <properties>
33         <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
34         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
35         <openflowjava.version>0.7.0-SNAPSHOT</openflowjava.version>
36         <openflowplugin.version>0.2.0-SNAPSHOT</openflowplugin.version>
37         <sal.api.version>0.10.0-SNAPSHOT</sal.api.version>
38         <build.helper.version>1.8</build.helper.version>
39         <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
40         <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
41         <exi.nagasena.version>0000.0002.0038.0</exi.nagasena.version>
42         <controller.distribution.version>0.3.0-SNAPSHOT</controller.distribution.version>
43         <features.test.version>1.6.0-SNAPSHOT</features.test.version>
44
45         <!-- Sonar config -->
46         <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
47         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
48         <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
49         <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
50         <sonar.profile>Sonar way with Findbugs</sonar.profile>
51
52         <config.version>0.4.0-SNAPSHOT</config.version>
53         <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
54         <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
55
56         <features.test.version>1.6.0-SNAPSHOT</features.test.version>
57         <karaf.distro.empty.version>1.6.0-SNAPSHOT</karaf.distro.empty.version>
58         <dlux.version>0.3.0-SNAPSHOT</dlux.version>
59     </properties>
60
61     <dependencyManagement>
62         <dependencies>
63             <dependency>
64                 <groupId>org.opendaylight.openflowplugin</groupId>
65                 <artifactId>openflowplugin-artifacts</artifactId>
66                 <version>${openflowplugin.version}</version>
67                 <scope>import</scope>
68                 <type>pom</type>
69             </dependency>
70
71             <dependency>
72                 <groupId>org.opendaylight.yangtools</groupId>
73                 <artifactId>yangtools-artifacts</artifactId>
74                 <version>${yangtools.version}</version>
75                 <scope>import</scope>
76                 <type>pom</type>
77             </dependency>
78             <dependency>
79                 <groupId>org.opendaylight.controller</groupId>
80                 <artifactId>config-artifacts</artifactId>
81                 <version>${config.version}</version>
82                 <scope>import</scope>
83                 <type>pom</type>
84             </dependency>
85             <dependency>
86                 <groupId>org.opendaylight.controller</groupId>
87                 <artifactId>mdsal-artifacts</artifactId>
88                 <version>${mdsal.version}</version>
89                 <scope>import</scope>
90                 <type>pom</type>
91             </dependency>
92             <dependency>
93                 <groupId>org.opendaylight.openflowjava</groupId>
94                 <artifactId>openflowjava-artifacts</artifactId>
95                 <version>${openflowjava.version}</version>
96                 <scope>import</scope>
97                 <type>pom</type>
98             </dependency>
99             <dependency>
100                 <groupId>org.opendaylight.odlparent</groupId>
101                 <artifactId>features-test</artifactId>
102                 <version>${features.test.version}</version>
103                 <scope>test</scope>
104             </dependency>
105
106             <dependency>
107                 <groupId>org.opendaylight.controller</groupId>
108                 <artifactId>liblldp</artifactId>
109                 <version>${sal.api.version}</version>
110             </dependency>
111
112             <!-- thirdparty -->
113             <dependency>
114                 <groupId>org.openexi</groupId>
115                 <artifactId>nagasena</artifactId>
116                 <version>${exi.nagasena.version}</version>
117             </dependency>
118             <dependency>
119                 <groupId>org.openexi</groupId>
120                 <artifactId>nagasena-rta</artifactId>
121                 <version>${exi.nagasena.version}</version>
122             </dependency>
123             <dependency>
124                 <groupId>xml-apis</groupId>
125                 <artifactId>xml-apis</artifactId>
126                 <version>1.4.01</version>
127             </dependency>
128         </dependencies>
129     </dependencyManagement>
130
131     <dependencies>
132         <!-- Sonar -->
133         <dependency>
134             <groupId>org.codehaus.sonar-plugins.java</groupId>
135             <artifactId>sonar-jacoco-listeners</artifactId>
136             <version>${sonar-jacoco-listeners.version}</version>
137             <scope>test</scope>
138         </dependency>
139     </dependencies>
140
141     <build>
142         <plugins>
143             <plugin>
144                 <groupId>org.codehaus.mojo</groupId>
145                 <artifactId>build-helper-maven-plugin</artifactId>
146             </plugin>
147             <plugin>
148                 <groupId>org.jacoco</groupId>
149                 <artifactId>jacoco-maven-plugin</artifactId>
150                 <executions>
151                     <execution>
152                         <id>prepare-ut-agent</id>
153                         <phase>process-test-classes</phase>
154                         <goals>
155                             <goal>prepare-agent</goal>
156                         </goals>
157                         <configuration>
158                             <destFile>${sonar.jacoco.reportPath}</destFile>
159                             <propertyName>jacoco.agent.ut.arg</propertyName>
160                         </configuration>
161                     </execution>
162                     <execution>
163                         <id>prepare-it-agent</id>
164                         <phase>pre-integration-test</phase>
165                         <goals>
166                             <goal>prepare-agent</goal>
167                         </goals>
168                         <configuration>
169                             <destFile>${sonar.jacoco.itReportPath}</destFile>
170                             <propertyName>jacoco.agent.it.arg</propertyName>
171                         </configuration>
172                     </execution>
173                 </executions>
174
175                 <configuration>
176                     <includes>
177                         <include>org.opendaylight.openflowplugin.*</include>
178                     </includes>
179                 </configuration>
180
181             </plugin>
182         </plugins>
183
184         <pluginManagement>
185             <plugins>
186                 <plugin>
187                     <groupId>org.apache.maven.plugins</groupId>
188                     <artifactId>maven-compiler-plugin</artifactId>
189                     <configuration>
190                         <source>1.7</source>
191                         <target>1.7</target>
192                     </configuration>
193                 </plugin>
194                 <plugin>
195                     <artifactId>maven-clean-plugin</artifactId>
196                     <configuration>
197                         <filesets>
198                             <fileset>
199                                 <directory>${jmxGeneratorPath}</directory>
200                                 <includes>
201                                     <include>**</include>
202                                 </includes>
203                             </fileset>
204                             <fileset>
205                                 <directory>${salGeneratorPath}</directory>
206                                 <includes>
207                                     <include>**</include>
208                                 </includes>
209                             </fileset>
210                         </filesets>
211                     </configuration>
212                 </plugin>
213                 <plugin>
214                     <groupId>org.codehaus.mojo</groupId>
215                     <artifactId>build-helper-maven-plugin</artifactId>
216                     <version>${build.helper.version}</version>
217                     <executions>
218                         <execution>
219                             <id>add-source</id>
220                             <phase>generate-sources</phase>
221                             <goals>
222                                 <goal>add-source</goal>
223                             </goals>
224                             <configuration>
225                                 <sources>
226                                     <source>${jmxGeneratorPath}</source>
227                                     <source>${salGeneratorPath}</source>
228                                 </sources>
229                             </configuration>
230                         </execution>
231                     </executions>
232                 </plugin>
233                 <plugin>
234                     <groupId>org.opendaylight.yangtools</groupId>
235                     <artifactId>yang-maven-plugin</artifactId>
236                     <version>${yangtools.version}</version>
237                 </plugin>
238                 <plugin>
239                     <groupId>org.apache.felix</groupId>
240                     <artifactId>maven-bundle-plugin</artifactId>
241                     <version>${maven.bundle.version}</version>
242                     <extensions>true</extensions>
243                     <configuration>
244                         <instructions>
245                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
246                         </instructions>
247                         <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
248                     </configuration>
249                 </plugin>
250                 <!-- Ignore/Execute plugin execution -->
251                 <plugin>
252                     <groupId>org.eclipse.m2e</groupId>
253                     <artifactId>lifecycle-mapping</artifactId>
254                     <version>1.0.0</version>
255                     <configuration>
256                         <lifecycleMappingMetadata>
257                             <pluginExecutions>
258                                 <pluginExecution>
259                                     <pluginExecutionFilter>
260                                         <groupId>org.codehaus.mojo</groupId>
261                                         <artifactId>properties-maven-plugin</artifactId>
262                                         <versionRange>[0.0,)</versionRange>
263                                         <goals>
264                                             <goal>set-system-properties</goal>
265                                         </goals>
266                                     </pluginExecutionFilter>
267                                     <action>
268                                         <ignore/>
269                                     </action>
270                                 </pluginExecution>
271                                 <pluginExecution>
272                                     <pluginExecutionFilter>
273                                         <groupId>org.jacoco</groupId>
274                                         <artifactId>jacoco-maven-plugin</artifactId>
275                                         <versionRange>[0.0,)</versionRange>
276                                         <goals>
277                                             <goal>prepare-agent</goal>
278                                             <goal>pre-test</goal>
279                                             <goal>post-test</goal>
280                                         </goals>
281                                     </pluginExecutionFilter>
282                                     <action>
283                                         <ignore/>
284                                     </action>
285                                 </pluginExecution>
286                                 <pluginExecution>
287                                     <pluginExecutionFilter>
288                                         <groupId>org.ops4j.pax.exam</groupId>
289                                         <artifactId>maven-paxexam-plugin</artifactId>
290                                         <versionRange>[1.2.4,)</versionRange>
291                                         <goals>
292                                             <goal>generate-depends-file</goal>
293                                         </goals>
294                                     </pluginExecutionFilter>
295                                     <action>
296                                         <execute>
297                                             <runOnIncremental>false</runOnIncremental>
298                                         </execute>
299                                     </action>
300                                 </pluginExecution>
301                                 <pluginExecution>
302                                     <pluginExecutionFilter>
303                                         <groupId>org.apache.maven.plugins</groupId>
304                                         <artifactId>maven-checkstyle-plugin</artifactId>
305                                         <versionRange>[2.0,)</versionRange>
306                                         <goals>
307                                             <goal>check</goal>
308                                         </goals>
309                                     </pluginExecutionFilter>
310                                     <action>
311                                         <ignore/>
312                                     </action>
313                                 </pluginExecution>
314                                 <pluginExecution>
315                                     <pluginExecutionFilter>
316                                         <groupId>org.opendaylight.yangtools</groupId>
317                                         <artifactId>yang-maven-plugin</artifactId>
318                                         <versionRange>[0.5,)</versionRange>
319                                         <goals>
320                                             <goal>generate-sources</goal>
321                                         </goals>
322                                     </pluginExecutionFilter>
323                                     <action>
324                                         <execute/>
325                                     </action>
326                                 </pluginExecution>
327                                 <pluginExecution>
328                                     <pluginExecutionFilter>
329                                         <groupId>org.codehaus.groovy.maven</groupId>
330                                         <artifactId>gmaven-plugin</artifactId>
331                                         <versionRange>1.0</versionRange>
332                                         <goals>
333                                             <goal>execute</goal>
334                                         </goals>
335                                     </pluginExecutionFilter>
336                                     <action>
337                                         <ignore/>
338                                     </action>
339                                 </pluginExecution>
340                                 <pluginExecution>
341                                     <pluginExecutionFilter>
342                                         <groupId>org.apache.maven.plugins</groupId>
343                                         <artifactId>maven-enforcer-plugin</artifactId>
344                                         <versionRange>${enforcer.version}</versionRange>
345                                         <goals>
346                                             <goal>enforce</goal>
347                                         </goals>
348                                     </pluginExecutionFilter>
349                                     <action>
350                                         <ignore/>
351                                     </action>
352                                 </pluginExecution>
353                             </pluginExecutions>
354                         </lifecycleMappingMetadata>
355                     </configuration>
356                 </plugin>
357                 <plugin>
358                     <groupId>org.apache.maven.plugins</groupId>
359                     <artifactId>maven-failsafe-plugin</artifactId>
360                     <configuration>
361                         <!-- Specific to generate mapping between tests and covered code -->
362                         <argLine>${jacoco.agent.it.arg}</argLine>
363                         <properties>
364                             <property>
365                                 <name>listener</name>
366                                 <value>org.sonar.java.jacoco.JUnitListener</value>
367                             </property>
368                         </properties>
369                         <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
370                         <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
371                     </configuration>
372                 </plugin>
373                 <plugin>
374                     <groupId>org.apache.maven.plugins</groupId>
375                     <artifactId>maven-surefire-plugin</artifactId>
376                     <configuration>
377                         <!-- Specific to generate mapping between tests and covered code -->
378                         <argLine>${jacoco.agent.ut.arg}</argLine>
379                         <properties>
380                             <property>
381                                 <name>listener</name>
382                                 <value>org.sonar.java.jacoco.JUnitListener</value>
383                             </property>
384                         </properties>
385                     </configuration>
386                 </plugin>
387             </plugins>
388         </pluginManagement>
389     </build>
390
391     <profiles>
392         <profile>
393             <id>findbugsReport</id>
394             <reporting>
395                 <plugins>
396                     <plugin>
397                         <groupId>org.apache.maven.plugins</groupId>
398                         <artifactId>maven-project-info-reports-plugin</artifactId>
399                         <version>2.7</version>
400                         <configuration>
401                             <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
402                             <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
403                         </configuration>
404                         <reportSets>
405                             <reportSet>
406                                 <reports>
407                                     <report>index</report>
408                                     <report>project-team</report>
409                                     <report>license</report>
410                                     <report>mailing-list</report>
411                                     <report>plugin-management</report>
412                                     <report>cim</report>
413                                     <report>issue-tracking</report>
414                                     <report>scm</report>
415                                     <report>summary</report>
416                                 </reports>
417                             </reportSet>
418                         </reportSets>
419                     </plugin>
420                     <plugin>
421                         <groupId>org.codehaus.mojo</groupId>
422                         <artifactId>findbugs-maven-plugin</artifactId>
423                         <version>2.5.2</version>
424                     </plugin>
425                     <plugin>
426                         <groupId>org.apache.maven.plugins</groupId>
427                         <artifactId>maven-pmd-plugin</artifactId>
428                         <version>3.0.1</version>
429                     </plugin>
430                     <plugin>
431                         <groupId>org.apache.maven.plugins</groupId>
432                         <artifactId>maven-jxr-plugin</artifactId>
433                         <version>2.3</version>
434                     </plugin>
435                 </plugins>
436             </reporting>
437         </profile>
438     </profiles>
439 </project>
440