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