Utility to test device connections
[openflowjava.git] / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3     <modelVersion>4.0.0</modelVersion>
4     <parent>
5         <groupId>org.opendaylight.odlparent</groupId>
6         <artifactId>odlparent</artifactId>
7         <version>1.6.3-SNAPSHOT</version>
8         <relativePath/>
9     </parent>
10
11     <groupId>org.opendaylight.openflowjava</groupId>
12     <artifactId>openflowjava-parent</artifactId>
13     <version>0.7.3-SNAPSHOT</version>
14     <packaging>pom</packaging>
15     <name>openflowjava</name> <!-- Used by Sonar to set project name -->
16     <description>
17         Openflow protocol library - serializes and deserializes openflow messages + handles connections with openflow devices.
18     </description>
19     <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
20
21     <licenses>
22         <license>
23             <name>The Eclipse Public License v1.0</name>
24             <url>http://www.eclipse.org/legal/epl-v10.html</url>
25             <distribution>repo</distribution>
26         </license>
27     </licenses>
28
29     <scm>
30         <connection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</connection>
31         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</developerConnection>
32         <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
33         <tag>HEAD</tag>
34     </scm>
35
36     <developers>
37         <developer>
38             <name>Michal Polkorab</name>
39             <email>michal.polkorab@pantheon.sk</email>
40             <organization>Pantheon Technologies</organization>
41             <organizationUrl>https://www.pantheon.sk/en/</organizationUrl>
42         </developer>
43         <developer>
44             <name>Michal Rehak</name>
45             <email>mirehak@cisco.com</email>
46             <organization>Cisco Systems</organization>
47             <organizationUrl>www.cisco.com</organizationUrl>
48         </developer>
49     </developers>
50
51     <properties>
52         <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
53         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
54         <jmxGeneratorPath>${project.build.directory}/yang-gen-config</jmxGeneratorPath>
55         <karaf.distro.empty.version>1.6.3-SNAPSHOT</karaf.distro.empty.version>
56         <salGeneratorPath>${project.build.directory}/yang-gen-sal</salGeneratorPath>
57
58         <config.version>0.4.3-SNAPSHOT</config.version>
59         <mdsal.version>1.3.3-SNAPSHOT</mdsal.version>
60         <yangtools.version>0.8.3-SNAPSHOT</yangtools.version>
61         <argparse4j.version>0.7.0</argparse4j.version>
62     </properties>
63
64     <dependencyManagement>
65         <dependencies>
66             <dependency>
67               <groupId>org.opendaylight.openflowjava</groupId>
68               <artifactId>openflowjava-artifacts</artifactId>
69               <version>${project.version}</version>
70               <type>pom</type>
71               <scope>import</scope>
72             </dependency>
73             <dependency>
74               <groupId>org.opendaylight.yangtools</groupId>
75               <artifactId>yangtools-artifacts</artifactId>
76               <version>${yangtools.version}</version>
77               <type>pom</type>
78               <scope>import</scope>
79             </dependency>
80             <dependency>
81               <groupId>org.opendaylight.controller</groupId>
82               <artifactId>config-artifacts</artifactId>
83               <version>${config.version}</version>
84               <type>pom</type>
85               <scope>import</scope>
86             </dependency>
87             <dependency>
88               <groupId>org.opendaylight.controller</groupId>
89               <artifactId>mdsal-artifacts</artifactId>
90               <version>${mdsal.version}</version>
91               <scope>import</scope>
92               <type>pom</type>
93             </dependency>
94             <dependency>
95                 <groupId>net.sourceforge.argparse4j</groupId>
96                 <artifactId>argparse4j</artifactId>
97                 <version>${argparse4j.version}</version>
98             </dependency>
99         </dependencies>
100     </dependencyManagement>
101
102     <build>
103         <plugins>
104             <plugin>
105                 <groupId>org.apache.maven.plugins</groupId>
106                 <artifactId>maven-compiler-plugin</artifactId>
107                 <inherited>true</inherited>
108                 <configuration>
109                     <source>1.7</source>
110                     <target>1.7</target>
111                 </configuration>
112             </plugin>
113             <plugin>
114                 <artifactId>maven-source-plugin</artifactId>
115                 <executions>
116                     <execution>
117                         <id>attach-sources</id>
118                         <phase>deploy</phase>
119                         <goals>
120                             <goal>jar-no-fork</goal>
121                         </goals>
122                     </execution>
123                 </executions>
124             </plugin>
125             <plugin>
126               <groupId>org.apache.felix</groupId>
127               <artifactId>maven-bundle-plugin</artifactId>
128               <extensions>true</extensions>
129               <configuration>
130                 <instructions>
131                   <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
132                 </instructions>
133                 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
134               </configuration>
135             </plugin>
136             <plugin>
137               <groupId>org.apache.maven.plugins</groupId>
138                   <artifactId>maven-checkstyle-plugin</artifactId>
139               <version>${checkstyle.version}</version>
140               <configuration>
141                 <failOnViolation>false</failOnViolation>
142                 <configLocation>checkstyle-logging.xml</configLocation>
143                 <consoleOutput>true</consoleOutput>
144                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
145                 <sourceDirectory>${project.basedir}</sourceDirectory>
146                 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
147                 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
148               </configuration>
149               <dependencies>
150                 <dependency>
151                 <groupId>org.opendaylight.yangtools</groupId>
152                 <artifactId>checkstyle-logging</artifactId>
153                 <version>${yangtools.version}</version>
154                 </dependency>
155               </dependencies>
156               <executions>
157                 <execution>
158                 <goals>
159                   <goal>check</goal>
160                 </goals>
161                 </execution>
162               </executions>
163             </plugin>
164             <plugin>
165                 <groupId>org.codehaus.mojo</groupId>
166                 <artifactId>build-helper-maven-plugin</artifactId>
167             </plugin>
168         </plugins>
169         <pluginManagement>
170             <plugins>
171                 <plugin>
172                     <groupId>org.opendaylight.yangtools</groupId>
173                     <artifactId>yang-maven-plugin</artifactId>
174                     <version>${yangtools.version}</version>
175                 </plugin>
176                 <plugin>
177                     <groupId>org.codehaus.mojo</groupId>
178                     <artifactId>build-helper-maven-plugin</artifactId>
179                     <version>1.8</version>
180                     <executions>
181                         <execution>
182                             <id>add-source</id>
183                             <goals>
184                                 <goal>add-source</goal>
185                             </goals>
186                             <phase>generate-sources</phase>
187                             <configuration>
188                                 <sources>
189                                     <source>src/main/yang</source>
190                                 </sources>
191                             </configuration>
192                         </execution>
193                     </executions>
194                 </plugin>
195                 <!-- Ignore/Execute plugin execution -->
196                 <plugin>
197                   <groupId>org.eclipse.m2e</groupId>
198                   <artifactId>lifecycle-mapping</artifactId>
199                   <version>1.0.0</version>
200                   <configuration>
201                     <lifecycleMappingMetadata>
202                       <pluginExecutions>
203                         <pluginExecution>
204                           <pluginExecutionFilter>
205                             <groupId>org.codehaus.mojo</groupId>
206                             <artifactId>properties-maven-plugin</artifactId>
207                             <versionRange>[0.0,)</versionRange>
208                             <goals>
209                               <goal>set-system-properties</goal>
210                             </goals>
211                           </pluginExecutionFilter>
212                           <action>
213                             <ignore/>
214                           </action>
215                         </pluginExecution>
216                         <pluginExecution>
217                           <pluginExecutionFilter>
218                             <groupId>org.jacoco</groupId>
219                             <artifactId>jacoco-maven-plugin</artifactId>
220                             <versionRange>[0.0,)</versionRange>
221                             <goals>
222                               <goal>prepare-agent</goal>
223                               <goal>pre-test</goal>
224                               <goal>post-test</goal>
225                             </goals>
226                           </pluginExecutionFilter>
227                           <action>
228                             <ignore/>
229                           </action>
230                         </pluginExecution>
231                         <pluginExecution>
232                           <pluginExecutionFilter>
233                             <groupId>org.ops4j.pax.exam</groupId>
234                             <artifactId>maven-paxexam-plugin</artifactId>
235                             <versionRange>[1.2.4,)</versionRange>
236                             <goals>
237                               <goal>generate-depends-file</goal>
238                             </goals>
239                           </pluginExecutionFilter>
240                           <action>
241                             <execute>
242                               <runOnIncremental>false</runOnIncremental>
243                             </execute>
244                           </action>
245                         </pluginExecution>
246                         <pluginExecution>
247                           <pluginExecutionFilter>
248                             <groupId>org.apache.maven.plugins</groupId>
249                             <artifactId>maven-checkstyle-plugin</artifactId>
250                             <versionRange>[2.0,)</versionRange>
251                             <goals>
252                               <goal>check</goal>
253                             </goals>
254                           </pluginExecutionFilter>
255                           <action>
256                             <ignore/>
257                           </action>
258                         </pluginExecution>
259                         <pluginExecution>
260                           <pluginExecutionFilter>
261                             <groupId>org.opendaylight.yangtools</groupId>
262                             <artifactId>yang-maven-plugin</artifactId>
263                             <versionRange>[0.5,)</versionRange>
264                             <goals>
265                               <goal>generate-sources</goal>
266                             </goals>
267                           </pluginExecutionFilter>
268                           <action>
269                             <execute/>
270                           </action>
271                         </pluginExecution>
272                         <pluginExecution>
273                           <pluginExecutionFilter>
274                             <groupId>org.codehaus.groovy.maven</groupId>
275                             <artifactId>gmaven-plugin</artifactId>
276                             <versionRange>1.0</versionRange>
277                             <goals>
278                               <goal>execute</goal>
279                             </goals>
280                           </pluginExecutionFilter>
281                           <action>
282                             <ignore/>
283                           </action>
284                         </pluginExecution>
285                         <pluginExecution>
286                           <pluginExecutionFilter>
287                             <groupId>org.apache.maven.plugins</groupId>
288                             <artifactId>maven-enforcer-plugin</artifactId>
289                             <versionRange>${enforcer.version}</versionRange>
290                             <goals>
291                               <goal>enforce</goal>
292                             </goals>
293                           </pluginExecutionFilter>
294                           <action>
295                             <ignore/>
296                           </action>
297                         </pluginExecution>
298                       </pluginExecutions>
299                     </lifecycleMappingMetadata>
300                   </configuration>
301                 </plugin>
302             </plugins>
303         </pluginManagement>
304     </build>
305     <reporting>
306         <plugins>
307             <plugin>
308                 <groupId>org.codehaus.mojo</groupId>
309                 <artifactId>findbugs-maven-plugin</artifactId>
310                 <version>2.5.2</version>
311                 <configuration>
312                     <effort>Max</effort>
313                     <threshold>Low</threshold>
314                     <goal>site</goal>
315                 </configuration>
316             </plugin>
317             <plugin>
318               <artifactId>maven-jxr-plugin</artifactId>
319               <version>2.3</version>
320               <configuration>
321                 <aggregate>true</aggregate>
322                 <linkJavadoc>true</linkJavadoc>
323               </configuration>
324             </plugin>
325
326             <plugin>
327                 <groupId>org.codehaus.mojo</groupId>
328                 <artifactId>jdepend-maven-plugin</artifactId>
329                 <version>2.0-beta-2</version>
330             </plugin>
331         </plugins>
332     </reporting>
333     <profiles>
334         <profile>
335             <id>viewbuild</id>
336             <activation>
337                 <activeByDefault>true</activeByDefault>
338             </activation>
339             <properties>
340                 <build.suffix>${project.version}</build.suffix>
341             </properties>
342         </profile>
343         <profile>
344             <id>jenkins</id>
345             <activation>
346                 <property>
347                     <name>BUILDSUFFIX</name>
348                 </property>
349             </activation>
350             <properties>
351                 <build.suffix>${BUILDSUFFIX}</build.suffix>
352             </properties>
353         </profile>
354         <profile>
355             <id>repoBuild</id>
356             <build>
357                 <plugins>
358                     <plugin>
359                         <groupId>org.apache.maven.plugins</groupId>
360                         <artifactId>maven-javadoc-plugin</artifactId>
361                         <version>2.8.1</version>
362                         <executions>
363                             <execution>
364                                 <goals>
365                                     <goal>aggregate</goal>
366                                 </goals>
367                                 <phase>site</phase>
368                             </execution>
369                             <execution>
370                                 <id>attach-javadocs</id>
371                                 <goals>
372                                     <goal>jar</goal>
373                                 </goals>
374                             </execution>
375                         </executions>
376                     </plugin>
377                     <plugin>
378                         <groupId>org.apache.maven.plugins</groupId>
379                         <artifactId>maven-source-plugin</artifactId>
380                         <executions>
381                             <execution>
382                                 <id>attach-sources</id>
383                                 <phase>package</phase>
384                                 <goals>
385                                     <goal>jar-no-fork</goal>
386                                 </goals>
387                             </execution>
388                         </executions>
389                     </plugin>
390                 </plugins>
391             </build>
392         </profile>
393     </profiles>
394 </project>