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