Merge "Remove M2E lifecycle-mapping <execute/> for yang-maven-plugin"
[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.7.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.3.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         <openflowjava.version>0.8.0-SNAPSHOT</openflowjava.version>
35         <openflowplugin.version>0.3.0-SNAPSHOT</openflowplugin.version>
36         <sal.api.version>0.11.0-SNAPSHOT</sal.api.version>
37         <jmxGeneratorPath>target/generated-sources/config</jmxGeneratorPath>
38         <salGeneratorPath>target/generated-sources/sal</salGeneratorPath>
39         <exi.nagasena.version>0000.0002.0053.0</exi.nagasena.version>
40         <controller.distribution.version>0.4.0-SNAPSHOT</controller.distribution.version>
41
42         <config.version>0.5.0-SNAPSHOT</config.version>
43         <mdsal.version>1.4.0-SNAPSHOT</mdsal.version>
44         <mdsal.model.version>0.9.0-SNAPSHOT</mdsal.model.version>
45         <yangtools.version>1.0.0-SNAPSHOT</yangtools.version>
46     </properties>
47
48     <dependencyManagement>
49         <dependencies>
50             <dependency>
51                 <groupId>org.opendaylight.openflowplugin</groupId>
52                 <artifactId>openflowplugin-artifacts</artifactId>
53                 <version>${openflowplugin.version}</version>
54                 <scope>import</scope>
55                 <type>pom</type>
56             </dependency>
57
58             <dependency>
59                 <groupId>org.opendaylight.yangtools</groupId>
60                 <artifactId>yangtools-artifacts</artifactId>
61                 <version>${yangtools.version}</version>
62                 <scope>import</scope>
63                 <type>pom</type>
64             </dependency>
65             <dependency>
66                 <groupId>org.opendaylight.mdsal</groupId>
67                 <artifactId>mdsal-artifacts</artifactId>
68                 <version>2.1.0-SNAPSHOT</version>
69                 <scope>import</scope>
70                 <type>pom</type>
71             </dependency>
72             <dependency>
73                 <groupId>org.opendaylight.mdsal.model</groupId>
74                 <artifactId>mdsal-model-artifacts</artifactId>
75                 <version>${mdsal.model.version}</version>
76                 <scope>import</scope>
77                 <type>pom</type>
78             </dependency>
79             <dependency>
80                 <groupId>org.opendaylight.controller</groupId>
81                 <artifactId>config-artifacts</artifactId>
82                 <version>${config.version}</version>
83                 <scope>import</scope>
84                 <type>pom</type>
85             </dependency>
86             <dependency>
87                 <groupId>org.opendaylight.controller</groupId>
88                 <artifactId>mdsal-artifacts</artifactId>
89                 <version>${mdsal.version}</version>
90                 <scope>import</scope>
91                 <type>pom</type>
92             </dependency>
93             <dependency>
94                 <groupId>org.opendaylight.openflowjava</groupId>
95                 <artifactId>openflowjava-artifacts</artifactId>
96                 <version>${openflowjava.version}</version>
97                 <scope>import</scope>
98                 <type>pom</type>
99             </dependency>
100
101             <dependency>
102                 <groupId>org.opendaylight.controller</groupId>
103                 <artifactId>liblldp</artifactId>
104                 <version>${sal.api.version}</version>
105             </dependency>
106
107             <!-- thirdparty -->
108             <dependency>
109                 <groupId>openexi</groupId>
110                 <artifactId>nagasena</artifactId>
111                 <version>${exi.nagasena.version}</version>
112             </dependency>
113             <dependency>
114                 <groupId>openexi</groupId>
115                 <artifactId>nagasena-rta</artifactId>
116                 <version>${exi.nagasena.version}</version>
117             </dependency>
118         </dependencies>
119     </dependencyManagement>
120
121     <build>
122         <plugins>
123             <plugin>
124                 <groupId>org.codehaus.mojo</groupId>
125                 <artifactId>build-helper-maven-plugin</artifactId>
126             </plugin>
127         </plugins>
128
129         <pluginManagement>
130             <plugins>
131                 <plugin>
132                     <artifactId>maven-clean-plugin</artifactId>
133                     <configuration>
134                         <filesets>
135                             <fileset>
136                                 <directory>${jmxGeneratorPath}</directory>
137                                 <includes>
138                                     <include>**</include>
139                                 </includes>
140                             </fileset>
141                             <fileset>
142                                 <directory>${salGeneratorPath}</directory>
143                                 <includes>
144                                     <include>**</include>
145                                 </includes>
146                             </fileset>
147                         </filesets>
148                     </configuration>
149                 </plugin>
150                 <plugin>
151                     <groupId>org.codehaus.mojo</groupId>
152                     <artifactId>build-helper-maven-plugin</artifactId>
153                     <executions>
154                         <execution>
155                             <id>add-source</id>
156                             <phase>generate-sources</phase>
157                             <goals>
158                                 <goal>add-source</goal>
159                             </goals>
160                             <configuration>
161                                 <sources>
162                                     <source>${jmxGeneratorPath}</source>
163                                     <source>${salGeneratorPath}</source>
164                                 </sources>
165                             </configuration>
166                         </execution>
167                     </executions>
168                 </plugin>
169                 <plugin>
170                     <groupId>org.opendaylight.yangtools</groupId>
171                     <artifactId>yang-maven-plugin</artifactId>
172                     <version>${yangtools.version}</version>
173                 </plugin>
174                 <plugin>
175                     <groupId>org.apache.felix</groupId>
176                     <artifactId>maven-bundle-plugin</artifactId>
177                     <version>${maven.bundle.version}</version>
178                     <extensions>true</extensions>
179                     <configuration>
180                         <instructions>
181                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
182                         </instructions>
183                         <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
184                     </configuration>
185                 </plugin>
186                 <!-- Ignore/Execute plugin execution -->
187                 <plugin>
188                     <groupId>org.eclipse.m2e</groupId>
189                     <artifactId>lifecycle-mapping</artifactId>
190                     <version>1.0.0</version>
191                     <configuration>
192                         <lifecycleMappingMetadata>
193                             <pluginExecutions>
194                                 <pluginExecution>
195                                     <pluginExecutionFilter>
196                                         <groupId>org.codehaus.mojo</groupId>
197                                         <artifactId>properties-maven-plugin</artifactId>
198                                         <versionRange>[0.0,)</versionRange>
199                                         <goals>
200                                             <goal>set-system-properties</goal>
201                                         </goals>
202                                     </pluginExecutionFilter>
203                                     <action>
204                                         <ignore/>
205                                     </action>
206                                 </pluginExecution>
207                                 <pluginExecution>
208                                     <pluginExecutionFilter>
209                                         <groupId>org.jacoco</groupId>
210                                         <artifactId>jacoco-maven-plugin</artifactId>
211                                         <versionRange>[0.0,)</versionRange>
212                                         <goals>
213                                             <goal>prepare-agent</goal>
214                                             <goal>pre-test</goal>
215                                             <goal>post-test</goal>
216                                         </goals>
217                                     </pluginExecutionFilter>
218                                     <action>
219                                         <ignore/>
220                                     </action>
221                                 </pluginExecution>
222                                 <pluginExecution>
223                                     <pluginExecutionFilter>
224                                         <groupId>org.ops4j.pax.exam</groupId>
225                                         <artifactId>maven-paxexam-plugin</artifactId>
226                                         <versionRange>[1.2.4,)</versionRange>
227                                         <goals>
228                                             <goal>generate-depends-file</goal>
229                                         </goals>
230                                     </pluginExecutionFilter>
231                                     <action>
232                                         <execute>
233                                             <runOnIncremental>false</runOnIncremental>
234                                         </execute>
235                                     </action>
236                                 </pluginExecution>
237                                 <pluginExecution>
238                                     <pluginExecutionFilter>
239                                         <groupId>org.apache.maven.plugins</groupId>
240                                         <artifactId>maven-checkstyle-plugin</artifactId>
241                                         <versionRange>[2.0,)</versionRange>
242                                         <goals>
243                                             <goal>check</goal>
244                                         </goals>
245                                     </pluginExecutionFilter>
246                                     <action>
247                                         <ignore/>
248                                     </action>
249                                 </pluginExecution>
250                                 <pluginExecution>
251                                     <pluginExecutionFilter>
252                                         <groupId>org.codehaus.groovy.maven</groupId>
253                                         <artifactId>gmaven-plugin</artifactId>
254                                         <versionRange>1.0</versionRange>
255                                         <goals>
256                                             <goal>execute</goal>
257                                         </goals>
258                                     </pluginExecutionFilter>
259                                     <action>
260                                         <ignore/>
261                                     </action>
262                                 </pluginExecution>
263                                 <pluginExecution>
264                                     <pluginExecutionFilter>
265                                         <groupId>org.apache.maven.plugins</groupId>
266                                         <artifactId>maven-enforcer-plugin</artifactId>
267                                         <versionRange>${enforcer.version}</versionRange>
268                                         <goals>
269                                             <goal>enforce</goal>
270                                         </goals>
271                                     </pluginExecutionFilter>
272                                     <action>
273                                         <ignore/>
274                                     </action>
275                                 </pluginExecution>
276                             </pluginExecutions>
277                         </lifecycleMappingMetadata>
278                     </configuration>
279                 </plugin>
280             </plugins>
281         </pluginManagement>
282     </build>
283
284     <profiles>
285         <profile>
286             <id>findbugsReport</id>
287             <reporting>
288                 <plugins>
289                     <plugin>
290                         <groupId>org.apache.maven.plugins</groupId>
291                         <artifactId>maven-project-info-reports-plugin</artifactId>
292                         <version>2.7</version>
293                         <configuration>
294                             <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
295                             <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
296                         </configuration>
297                         <reportSets>
298                             <reportSet>
299                                 <reports>
300                                     <report>index</report>
301                                     <report>project-team</report>
302                                     <report>license</report>
303                                     <report>mailing-list</report>
304                                     <report>plugin-management</report>
305                                     <report>cim</report>
306                                     <report>issue-tracking</report>
307                                     <report>scm</report>
308                                     <report>summary</report>
309                                 </reports>
310                             </reportSet>
311                         </reportSets>
312                     </plugin>
313                     <plugin>
314                         <groupId>org.codehaus.mojo</groupId>
315                         <artifactId>findbugs-maven-plugin</artifactId>
316                         <version>2.5.2</version>
317                     </plugin>
318                     <plugin>
319                         <groupId>org.apache.maven.plugins</groupId>
320                         <artifactId>maven-pmd-plugin</artifactId>
321                         <version>3.0.1</version>
322                     </plugin>
323                     <plugin>
324                         <groupId>org.apache.maven.plugins</groupId>
325                         <artifactId>maven-jxr-plugin</artifactId>
326                         <version>2.3</version>
327                     </plugin>
328                 </plugins>
329             </reporting>
330         </profile>
331     </profiles>
332 </project>