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