Merge "Remove Optional.ofNullable() antipatterns"
[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.mdsal</groupId>
14         <artifactId>binding-parent</artifactId>
15         <version>4.0.0</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.9.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         <exi.nagasena.version>0000.0002.0053.0</exi.nagasena.version>
34         <infrautils.version>1.6.0-SNAPSHOT</infrautils.version>
35         <serviceutils.version>0.4.0-SNAPSHOT</serviceutils.version>
36     </properties>
37
38     <dependencyManagement>
39         <dependencies>
40             <dependency>
41                 <groupId>org.opendaylight.openflowplugin</groupId>
42                 <artifactId>openflowplugin-artifacts</artifactId>
43                 <version>${project.version}</version>
44                 <scope>import</scope>
45                 <type>pom</type>
46             </dependency>
47             <dependency>
48                 <groupId>org.opendaylight.controller</groupId>
49                 <artifactId>mdsal-artifacts</artifactId>
50                 <version>1.10.0-SNAPSHOT</version>
51                 <type>pom</type>
52                 <scope>import</scope>
53             </dependency>
54             <!-- thirdparty -->
55             <dependency>
56                 <groupId>openexi</groupId>
57                 <artifactId>nagasena</artifactId>
58                 <version>${exi.nagasena.version}</version>
59             </dependency>
60             <dependency>
61                 <groupId>openexi</groupId>
62                 <artifactId>nagasena-rta</artifactId>
63                 <version>${exi.nagasena.version}</version>
64             </dependency>
65             <dependency>
66                 <groupId>net.sourceforge.argparse4j</groupId>
67                 <artifactId>argparse4j</artifactId>
68                 <version>0.7.0</version>
69             </dependency>
70             <dependency>
71                 <groupId>pl.pragmatists</groupId>
72                 <artifactId>JUnitParams</artifactId>
73                 <version>1.0.3</version>
74             </dependency>
75         </dependencies>
76     </dependencyManagement>
77
78     <build>
79         <plugins>
80             <plugin>
81                 <groupId>org.apache.maven.plugins</groupId>
82                 <artifactId>maven-checkstyle-plugin</artifactId>
83                 <configuration>
84                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
85                 </configuration>
86             </plugin>
87             <plugin>
88                 <groupId>com.github.spotbugs</groupId>
89                 <artifactId>spotbugs-maven-plugin</artifactId>
90                 <configuration>
91                     <failOnError>true</failOnError>
92                 </configuration>
93             </plugin>
94             <plugin>
95                 <groupId>org.codehaus.mojo</groupId>
96                 <artifactId>build-helper-maven-plugin</artifactId>
97             </plugin>
98         </plugins>
99         <pluginManagement>
100             <plugins>
101                 <plugin>
102                     <groupId>org.apache.felix</groupId>
103                     <artifactId>maven-bundle-plugin</artifactId>
104                     <extensions>true</extensions>
105                     <configuration>
106                         <instructions>
107                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
108                         </instructions>
109                         <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
110                     </configuration>
111                 </plugin>
112                 <!-- Ignore/Execute plugin execution -->
113                 <plugin>
114                     <groupId>org.eclipse.m2e</groupId>
115                     <artifactId>lifecycle-mapping</artifactId>
116                     <version>1.0.0</version>
117                     <configuration>
118                         <lifecycleMappingMetadata>
119                             <pluginExecutions>
120                                 <pluginExecution>
121                                     <pluginExecutionFilter>
122                                         <groupId>org.codehaus.mojo</groupId>
123                                         <artifactId>properties-maven-plugin</artifactId>
124                                         <versionRange>[0.0,)</versionRange>
125                                         <goals>
126                                             <goal>set-system-properties</goal>
127                                         </goals>
128                                     </pluginExecutionFilter>
129                                     <action>
130                                         <ignore/>
131                                     </action>
132                                 </pluginExecution>
133                                 <pluginExecution>
134                                     <pluginExecutionFilter>
135                                         <groupId>org.jacoco</groupId>
136                                         <artifactId>jacoco-maven-plugin</artifactId>
137                                         <versionRange>[0.0,)</versionRange>
138                                         <goals>
139                                             <goal>prepare-agent</goal>
140                                             <goal>pre-test</goal>
141                                             <goal>post-test</goal>
142                                         </goals>
143                                     </pluginExecutionFilter>
144                                     <action>
145                                         <ignore/>
146                                     </action>
147                                 </pluginExecution>
148                                 <pluginExecution>
149                                     <pluginExecutionFilter>
150                                         <groupId>org.ops4j.pax.exam</groupId>
151                                         <artifactId>maven-paxexam-plugin</artifactId>
152                                         <versionRange>[1.2.4,)</versionRange>
153                                         <goals>
154                                             <goal>generate-depends-file</goal>
155                                         </goals>
156                                     </pluginExecutionFilter>
157                                     <action>
158                                         <execute>
159                                             <runOnIncremental>false</runOnIncremental>
160                                         </execute>
161                                     </action>
162                                 </pluginExecution>
163                                 <pluginExecution>
164                                     <pluginExecutionFilter>
165                                         <groupId>org.codehaus.groovy.maven</groupId>
166                                         <artifactId>gmaven-plugin</artifactId>
167                                         <versionRange>1.0</versionRange>
168                                         <goals>
169                                             <goal>execute</goal>
170                                         </goals>
171                                     </pluginExecutionFilter>
172                                     <action>
173                                         <ignore/>
174                                     </action>
175                                 </pluginExecution>
176                                 <pluginExecution>
177                                     <pluginExecutionFilter>
178                                         <groupId>org.apache.maven.plugins</groupId>
179                                         <artifactId>maven-enforcer-plugin</artifactId>
180                                         <versionRange>${enforcer.version}</versionRange>
181                                         <goals>
182                                             <goal>enforce</goal>
183                                         </goals>
184                                     </pluginExecutionFilter>
185                                     <action>
186                                         <ignore/>
187                                     </action>
188                                 </pluginExecution>
189                             </pluginExecutions>
190                         </lifecycleMappingMetadata>
191                     </configuration>
192                 </plugin>
193             </plugins>
194         </pluginManagement>
195     </build>
196
197     <profiles>
198         <profile>
199             <id>findbugsReport</id>
200             <reporting>
201                 <plugins>
202                     <plugin>
203                         <groupId>org.apache.maven.plugins</groupId>
204                         <artifactId>maven-project-info-reports-plugin</artifactId>
205                         <version>2.7</version>
206                         <configuration>
207                             <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
208                             <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
209                         </configuration>
210                         <reportSets>
211                             <reportSet>
212                                 <reports>
213                                     <report>index</report>
214                                     <report>project-team</report>
215                                     <report>license</report>
216                                     <report>mailing-list</report>
217                                     <report>plugin-management</report>
218                                     <report>cim</report>
219                                     <report>issue-tracking</report>
220                                     <report>scm</report>
221                                     <report>summary</report>
222                                 </reports>
223                             </reportSet>
224                         </reportSets>
225                     </plugin>
226                     <plugin>
227                         <groupId>org.codehaus.mojo</groupId>
228                         <artifactId>findbugs-maven-plugin</artifactId>
229                         <version>2.5.2</version>
230                     </plugin>
231                     <plugin>
232                         <groupId>org.apache.maven.plugins</groupId>
233                         <artifactId>maven-pmd-plugin</artifactId>
234                         <version>3.0.5</version>
235                     </plugin>
236                     <plugin>
237                         <groupId>org.apache.maven.plugins</groupId>
238                         <artifactId>maven-jxr-plugin</artifactId>
239                         <version>2.3</version>
240                     </plugin>
241                 </plugins>
242             </reporting>
243         </profile>
244     </profiles>
245 </project>