Merge branch 'release-1.0.X' into develop
[lispflowmapping.git] / commons / parent / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3         <modelVersion>4.0.0</modelVersion>
4         <groupId>org.opendaylight.lispflowmapping</groupId>
5         <artifactId>lispflowmapping-commons</artifactId>
6         <version>1.1.0-SNAPSHOT</version>
7         <description></description>
8         <packaging>pom</packaging>
9         <url>http://www.opendaylight.org</url>
10         <scm>
11                 <connection>scm:git:https://git.opendaylight.org/gerrit/p/lispflowmapping.git</connection>
12                 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/lispflowmapping.git</developerConnection>
13                 <url>https://wiki.opendaylight.org/view/OpenDaylight_Lisp_Flow_Mapping:Main</url>
14                 <tag>HEAD</tag>
15         </scm>
16         <properties>
17                 <lispflowmapping.version>1.1.0-SNAPSHOT</lispflowmapping.version>
18                 <jacoco.version>0.5.3.201107060350</jacoco.version>
19                 <enforcer.version>1.3.1</enforcer.version>
20                 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
21                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22                 <projectinfo>2.6</projectinfo>
23                 <enunciate.version>1.26.2</enunciate.version>
24                 <guava.version>14.0.1</guava.version>
25                 <build.suffix>1.0.0</build.suffix>
26                 <yangtools.binding.version>0.6.0-SNAPSHOT</yangtools.binding.version>
27                 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
28                 <yang.version>0.6.0-SNAPSHOT</yang.version>
29                 <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
30                 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
31                 <sonar.branch>${user.name}-private-view</sonar.branch>
32                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
33                 <sonar.language>java</sonar.language>
34                 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
35                 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
36                 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
37                 <forwardingrulesmanager.version>0.5.0-SNAPSHOT</forwardingrulesmanager.version>
38                 <statisticsmanager.version>0.5.0-SNAPSHOT</statisticsmanager.version>
39                 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
40                 <java.version.source>1.7</java.version.source>
41                 <java.version.target>1.7</java.version.target>
42                 <releaseplugin.version>2.3.2</releaseplugin.version>
43         </properties>
44         
45         <repositories>
46
47     <!-- OpenDayLight Repo Mirror -->
48     <repository>
49       <id>opendaylight-mirror</id>
50       <name>opendaylight-mirror</name>
51       <url>${nexusproxy}/groups/public/</url>
52       <snapshots>
53           <enabled>false</enabled>
54       </snapshots>
55       <releases>
56           <enabled>true</enabled>
57           <updatePolicy>never</updatePolicy>
58       </releases>
59     </repository>
60     <!-- OpenDayLight Snapshot artifact -->
61     <repository>
62       <id>opendaylight-snapshot</id>
63       <name>opendaylight-snapshot</name>
64       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
65       <snapshots>
66           <enabled>true</enabled>
67       </snapshots>
68       <releases>
69           <enabled>false</enabled>
70       </releases>
71     </repository>
72     
73     <repository>
74                         <id>maven-restlet</id>
75                         <name>Public online Restlet repository</name>
76                         <url>http://maven.restlet.org</url>
77                         <snapshots>
78                                 <enabled>true</enabled>
79                                 <updatePolicy>never</updatePolicy>
80                         </snapshots>
81                 </repository>
82   </repositories>
83   
84     <pluginRepositories>
85     <!-- OpenDayLight Repo Mirror -->
86     <pluginRepository>
87       <id>opendaylight-mirror</id>
88       <name>opendaylight-mirror</name>
89       <url>${nexusproxy}/groups/public/</url>
90       <snapshots>
91           <enabled>false</enabled>
92       </snapshots>
93       <releases>
94           <enabled>true</enabled>
95           <updatePolicy>never</updatePolicy>
96       </releases>
97     </pluginRepository>
98     <!-- OpenDayLight Snapshot artifact -->
99     <pluginRepository>
100       <id>opendaylight-snapshot</id>
101       <name>opendaylight-snapshot</name>
102       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
103       <snapshots>
104           <enabled>true</enabled>
105       </snapshots>
106       <releases>
107           <enabled>false</enabled>
108       </releases>
109     </pluginRepository>
110   </pluginRepositories>
111
112         <distributionManagement>
113                 <!-- OpenDayLight Released artifact -->
114                 <repository>
115                         <id>opendaylight-release</id>
116                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
117                 </repository>
118                 <!-- OpenDayLight Snapshot artifact -->
119                 <snapshotRepository>
120                         <id>opendaylight-snapshot</id>
121                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
122                 </snapshotRepository>
123                 <!-- Site deployment -->
124         </distributionManagement>
125
126         <dependencyManagement>
127                 <dependencies>
128                         <dependency>
129                                 <groupId>org.opendaylight.controller</groupId>
130                                 <artifactId>clustering.services</artifactId>
131                                 <version>0.5.0-SNAPSHOT</version>
132                         </dependency>
133
134                         <dependency>
135                                 <groupId>org.opendaylight.yangtools</groupId>
136                                 <artifactId>yang-binding</artifactId>
137                                 <version>${yang.binding.version}</version>
138                         </dependency>
139                         <dependency>
140                                 <groupId>org.opendaylight.yangtools</groupId>
141                                 <artifactId>yang-common</artifactId>
142                                 <version>${yang.version}</version>
143                         </dependency>
144                         <dependency>
145                                 <groupId>org.opendaylight.yangtools</groupId>
146                                 <artifactId>yang-data-api</artifactId>
147                                 <version>${yang.version}</version>
148                         </dependency>
149                         <dependency>
150                                 <groupId>org.opendaylight.yangtools</groupId>
151                                 <artifactId>yang-model-api</artifactId>
152                                 <version>${yang.version}</version>
153                         </dependency>
154                         <dependency>
155                                 <groupId>org.opendaylight.yangtools</groupId>
156                                 <artifactId>yang-data-util</artifactId>
157                                 <version>${yang.version}</version>
158                         </dependency>
159                         <dependency>
160                                 <groupId>org.opendaylight.yangtools.model</groupId>
161                                 <artifactId>ietf-inet-types</artifactId>
162                                 <version>2010.09.24.2-SNAPSHOT</version>
163                         </dependency>
164                         <dependency>
165                                 <groupId>org.opendaylight.yangtools.model</groupId>
166                                 <artifactId>ietf-yang-types</artifactId>
167                                 <version>2010.09.24.2-SNAPSHOT</version>
168                         </dependency>
169                         <dependency>
170                                 <groupId>com.google.guava</groupId>
171                                 <artifactId>guava</artifactId>
172                                 <version>${guava.version}</version>
173                         </dependency>
174                         <dependency>
175                                 <groupId>org.opendaylight.controller</groupId>
176                                 <artifactId>sal</artifactId>
177                                 <version>0.7.0-SNAPSHOT</version>
178                         </dependency>
179                         <dependency>
180                                 <groupId>junit</groupId>
181                                 <artifactId>junit</artifactId>
182                                 <version>4.8.1</version>
183                         </dependency>
184                         <dependency>
185                                 <groupId>org.hamcrest</groupId>
186                                 <artifactId>hamcrest-core</artifactId>
187                                 <version>1.3</version>
188                         </dependency>
189                         <dependency>
190                                 <groupId>org.jmock</groupId>
191                                 <artifactId>jmock-junit4</artifactId>
192                                 <version>2.6.0</version>
193                         </dependency>
194                         <dependency>
195                                 <groupId>org.jmock</groupId>
196                                 <artifactId>jmock-legacy</artifactId>
197                                 <version>2.6.0</version>
198                         </dependency>
199                         <dependency>
200                                 <groupId>junit-addons</groupId>
201                                 <artifactId>junit-addons</artifactId>
202                                 <version>1.4</version>
203                         </dependency>
204                         <dependency>
205                                 <groupId>equinoxSDK381</groupId>
206                                 <artifactId>org.eclipse.osgi</artifactId>
207                                 <version>3.8.1.v20120830-144521</version>
208                         </dependency>
209                         <dependency>
210                                 <groupId>org.opendaylight.controller</groupId>
211                                 <artifactId>sal-binding-api</artifactId>
212                                 <version>1.0-SNAPSHOT</version>
213                         </dependency>
214                         <dependency>
215                                 <groupId>org.opendaylight.controller</groupId>
216                                 <artifactId>sal-common-util</artifactId>
217                                 <version>1.0-SNAPSHOT</version>
218                         </dependency>
219                         <dependency>
220                                 <groupId>org.opendaylight.controller</groupId>
221                                 <artifactId>config-api</artifactId>
222                                 <version>0.2.3-SNAPSHOT</version>
223                         </dependency>
224
225                 </dependencies>
226         </dependencyManagement>
227
228         <reporting>
229                 <excludeDefaults>true</excludeDefaults>
230                 <outputDirectory>${project.build.directory}/site</outputDirectory>
231                 <plugins>
232                         <plugin>
233                                 <groupId>org.apache.maven.plugins</groupId>
234                                 <artifactId>maven-project-info-reports-plugin</artifactId>
235                                 <version>${projectinfo}</version>
236                                 <configuration>
237                                         <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
238                                         <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
239                                 </configuration>
240                                 <reportSets>
241                                         <reportSet>
242                                                 <reports>
243                                                         <report>index</report>
244                                                         <report>project-team</report>
245                                                         <report>license</report>
246                                                         <report>mailing-list</report>
247                                                         <report>plugin-management</report>
248                                                         <report>cim</report>
249                                                         <report>issue-tracking</report>
250                                                         <report>scm</report>
251                                                         <report>summary</report>
252                                                 </reports>
253                                         </reportSet>
254                                 </reportSets>
255                         </plugin>
256                         <plugin>
257                                 <groupId>org.apache.maven.plugins</groupId>
258                                 <artifactId>maven-jxr-plugin</artifactId>
259                                 <version>2.3</version>
260                                 <configuration>
261                                         <aggregate>true</aggregate>
262                                         <linkJavadoc>true</linkJavadoc>
263                                 </configuration>
264                         </plugin>
265                         <plugin>
266                                 <groupId>org.apache.maven.plugins</groupId>
267                                 <artifactId>maven-javadoc-plugin</artifactId>
268                                 <version>2.8.1</version>
269                                 <configuration>
270                                         <doclet>org.jboss.apiviz.APIviz</doclet>
271                                         <docletArtifact>
272                                                 <groupId>org.jboss.apiviz</groupId>
273                                                 <artifactId>apiviz</artifactId>
274                                                 <version>1.3.2.GA</version>
275                                         </docletArtifact>
276                                         <finalName>${project.artifactId}-${build.suffix}</finalName>
277                                         <useStandardDocletOptions>true</useStandardDocletOptions>
278                                         <charset>UTF-8</charset>
279                                         <encoding>UTF-8</encoding>
280                                         <docencoding>UTF-8</docencoding>
281                                         <breakiterator>true</breakiterator>
282                                         <version>true</version>
283                                         <author>true</author>
284                                         <keywords>true</keywords>
285                                         <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
286                                 </configuration>
287                         </plugin>
288                 </plugins>
289         </reporting>
290         <build>
291                 <pluginManagement>
292                         <plugins>
293                         <plugin>
294           <groupId>org.apache.maven.plugins</groupId>
295           <artifactId>maven-release-plugin</artifactId>
296           <version>${releaseplugin.version}</version>
297         </plugin>
298                                 <plugin>
299                                         <groupId>org.jacoco</groupId>
300                                         <artifactId>jacoco-maven-plugin</artifactId>
301                                         <version>${jacoco.version}</version>
302                                 </plugin>
303                                 <plugin>
304                                         <groupId>org.apache.felix</groupId>
305                                         <artifactId>maven-bundle-plugin</artifactId>
306                                         <version>2.3.6</version>
307                                         <extensions>true</extensions>
308                                         <configuration>
309                                                 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
310                                         </configuration>
311                                 </plugin>
312                                 <plugin>
313                                         <groupId>org.apache.maven.plugins</groupId>
314                                         <artifactId>maven-assembly-plugin</artifactId>
315                                         <version>2.4</version>
316                                 </plugin>
317                                 <plugin>
318                                         <groupId>org.apache.maven.plugins</groupId>
319                                         <artifactId>maven-compiler-plugin</artifactId>
320                                         <version>2.3.2</version>
321                                         <configuration>
322                                                 <source>1.7</source>
323                                                 <target>1.7</target>
324                                         </configuration>
325                                 </plugin>
326                                 <plugin>
327                                         <groupId>org.apache.maven.plugins</groupId>
328                                         <artifactId>maven-dependency-plugin</artifactId>
329                                         <version>2.8</version>
330                                 </plugin>
331                                 <plugin>
332                                         <groupId>org.apache.maven.plugins</groupId>
333                                         <artifactId>maven-surefire-plugin</artifactId>
334                                         <version>2.14.1</version>
335                                 </plugin>
336                                 <plugin>
337                                         <groupId>org.opendaylight.yangtools</groupId>
338                                         <artifactId>yang-maven-plugin</artifactId>
339                                         <version>${yang.version}</version>
340                                         <executions>
341                                                 <execution>
342                                                         <goals>
343                                                                 <goal>generate-sources</goal>
344                                                         </goals>
345                                                         <configuration>
346                                                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
347                                                                 <codeGenerators>
348                                                                         <generator>
349                                                                                 <codeGeneratorClass>
350                                                                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
351                                                                                 </codeGeneratorClass>
352                                                                                 <outputBaseDir>
353                                                                                         target/generated-sources/sal
354                                                                                 </outputBaseDir>
355                                                                         </generator>
356                                                                 </codeGenerators>
357                                                                 <inspectDependencies>true</inspectDependencies>
358                                                         </configuration>
359                                                 </execution>
360                                         </executions>
361                                         <dependencies>
362                                                 <dependency>
363                                                         <groupId>org.opendaylight.yangtools</groupId>
364                                                         <artifactId>maven-sal-api-gen-plugin</artifactId>
365                                                         <version>${yang.codegen.version}</version>
366                                                         <type>jar</type>
367                                                 </dependency>
368                                         </dependencies>
369                                 </plugin>
370                                 <plugin>
371                                         <groupId>org.codehaus.mojo</groupId>
372                                         <artifactId>build-helper-maven-plugin</artifactId>
373                                         <version>1.7</version>
374                                         <executions>
375                                                 <execution>
376                                                         <phase>generate-sources</phase>
377                                                         <goals>
378                                                                 <goal>add-source</goal>
379                                                         </goals>
380                                                         <configuration>
381                                                                 <sources>
382                                                                         <source>target/generated-sources/sal</source>
383                                                                 </sources>
384                                                         </configuration>
385                                                 </execution>
386                                         </executions>
387                                 </plugin>
388                                 <plugin>
389                                         <groupId>org.eclipse.m2e</groupId>
390                                         <artifactId>lifecycle-mapping</artifactId>
391                                         <version>1.0.0</version>
392                                         <configuration>
393                                                 <lifecycleMappingMetadata>
394                                                         <pluginExecutions>
395                                                                 <pluginExecution>
396                                                                         <pluginExecutionFilter>
397                                                                                 <groupId>org.codehaus.mojo</groupId>
398                                                                                 <artifactId>properties-maven-plugin</artifactId>
399                                                                                 <versionRange>[0.0,)</versionRange>
400                                                                                 <goals>
401                                                                                         <goal>set-system-properties</goal>
402                                                                                 </goals>
403                                                                         </pluginExecutionFilter>
404                                                                         <action>
405                                                                                 <ignore />
406                                                                         </action>
407                                                                 </pluginExecution>
408                                                                 <pluginExecution>
409                                                                         <pluginExecutionFilter>
410                                                                                 <groupId>org.codehaus.enunciate</groupId>
411                                                                                 <artifactId>maven-enunciate-plugin</artifactId>
412                                                                                 <versionRange>[0.0,)</versionRange>
413                                                                                 <goals>
414                                                                                         <goal>docs</goal>
415                                                                                 </goals>
416                                                                         </pluginExecutionFilter>
417                                                                         <action>
418                                                                                 <ignore />
419                                                                         </action>
420                                                                 </pluginExecution>
421                                                                 <pluginExecution>
422                                                                         <pluginExecutionFilter>
423                                                                                 <groupId>org.jacoco</groupId>
424                                                                                 <artifactId>jacoco-maven-plugin</artifactId>
425                                                                                 <versionRange>[0.0,)</versionRange>
426                                                                                 <goals>
427                                                                                         <goal>prepare-agent</goal>
428                                                                                         <goal>pre-test</goal>
429                                                                                         <goal>post-test</goal>
430                                                                                 </goals>
431                                                                         </pluginExecutionFilter>
432                                                                         <action>
433                                                                                 <ignore />
434                                                                         </action>
435                                                                 </pluginExecution>
436                                                                 <pluginExecution>
437                                                                         <pluginExecutionFilter>
438                                                                                 <groupId>org.ops4j.pax.exam</groupId>
439                                                                                 <artifactId>maven-paxexam-plugin</artifactId>
440                                                                                 <versionRange>[1.2.4,)</versionRange>
441                                                                                 <goals>
442                                                                                         <goal>generate-depends-file</goal>
443                                                                                 </goals>
444                                                                         </pluginExecutionFilter>
445                                                                         <action>
446                                                                                 <ignore />
447                                                                         </action>
448                                                                 </pluginExecution>
449                                                                 <pluginExecution>
450                                                                         <pluginExecutionFilter>
451                                                                                 <groupId>org.apache.maven.plugins</groupId>
452                                                                                 <artifactId>maven-checkstyle-plugin</artifactId>
453                                                                                 <versionRange>[2.0,)</versionRange>
454                                                                                 <goals>
455                                                                                         <goal>check</goal>
456                                                                                 </goals>
457                                                                         </pluginExecutionFilter>
458                                                                         <action>
459                                                                                 <ignore />
460                                                                         </action>
461                                                                 </pluginExecution>
462                                                                 <pluginExecution>
463                                                                         <pluginExecutionFilter>
464                                                                                 <groupId>org.opendaylight.yangtools</groupId>
465                                                                                 <artifactId>yang-maven-plugin</artifactId>
466                                                                                 <versionRange>[0.5,)</versionRange>
467                                                                                 <goals>
468                                                                                         <goal>generate-sources </goal>
469                                                                                 </goals>
470                                                                         </pluginExecutionFilter>
471                                                                         <action>
472                                                                                 <ignore></ignore>
473                                                                         </action>
474                                                                 </pluginExecution>
475                                                         </pluginExecutions>
476                                                 </lifecycleMappingMetadata>
477                                         </configuration>
478                                 </plugin>
479                                 <plugin>
480                                         <groupId>org.codehaus.enunciate</groupId>
481                                         <artifactId>maven-enunciate-plugin</artifactId>
482                                         <version>${enunciate.version}</version>
483                                         <configuration>
484                                                 <configFile>enunciate.xml</configFile>
485                                         </configuration>
486                                         <executions>
487                                                 <execution>
488                                                         <goals>
489                                                                 <goal>docs</goal>
490                                                         </goals>
491                                                 </execution>
492                                         </executions>
493                                 </plugin>
494                                 <plugin>
495                                         <groupId>org.apache.maven.plugins</groupId>
496                                         <artifactId>maven-javadoc-plugin</artifactId>
497                                         <version>2.8.1</version>
498                                         <configuration>
499                                                 <doclet>org.jboss.apiviz.APIviz</doclet>
500                                                 <docletArtifact>
501                                                         <groupId>org.jboss.apiviz</groupId>
502                                                         <artifactId>apiviz</artifactId>
503                                                         <version>1.3.2.GA</version>
504                                                 </docletArtifact>
505                                                 <finalName>${project.artifactId}-1.0.0</finalName>
506                                                 <useStandardDocletOptions>true</useStandardDocletOptions>
507                                                 <charset>UTF-8</charset>
508                                                 <encoding>UTF-8</encoding>
509                                                 <docencoding>UTF-8</docencoding>
510                                                 <breakiterator>true</breakiterator>
511                                                 <version>true</version>
512                                                 <author>true</author>
513                                                 <keywords>true</keywords>
514                                                 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
515                                                 <failOnError>false</failOnError>
516                                         </configuration>
517                                 </plugin>
518                                 <plugin>
519                                         <groupId>org.apache.maven.plugins</groupId>
520                                         <artifactId>maven-jxr-plugin</artifactId>
521                                         <version>2.3</version>
522                                         <configuration>
523                                                 <aggregate>true</aggregate>
524                                                 <linkJavadoc>true</linkJavadoc>
525                                                 <javadocDir>target/apidocs</javadocDir>
526                                         </configuration>
527                                 </plugin>
528                         </plugins>
529                 </pluginManagement>
530         </build>
531
532 </project>