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