Merge remote branch 'origin/release-1.0.X' into mer
[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                 <slf4j.version>1.7.2</slf4j.version>
44         </properties>
45         
46         <repositories>
47
48     <!-- OpenDayLight Repo Mirror -->
49     <repository>
50       <id>opendaylight-mirror</id>
51       <name>opendaylight-mirror</name>
52       <url>${nexusproxy}/groups/public/</url>
53       <snapshots>
54           <enabled>false</enabled>
55       </snapshots>
56       <releases>
57           <enabled>true</enabled>
58           <updatePolicy>never</updatePolicy>
59       </releases>
60     </repository>
61     <!-- OpenDayLight Snapshot artifact -->
62     <repository>
63       <id>opendaylight-snapshot</id>
64       <name>opendaylight-snapshot</name>
65       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
66       <snapshots>
67           <enabled>true</enabled>
68       </snapshots>
69       <releases>
70           <enabled>false</enabled>
71       </releases>
72     </repository>
73     
74     <repository>
75                         <id>maven-restlet</id>
76                         <name>Public online Restlet repository</name>
77                         <url>http://maven.restlet.org</url>
78                         <snapshots>
79                                 <enabled>true</enabled>
80                                 <updatePolicy>never</updatePolicy>
81                         </snapshots>
82                 </repository>
83   </repositories>
84   
85     <pluginRepositories>
86     <!-- OpenDayLight Repo Mirror -->
87     <pluginRepository>
88       <id>opendaylight-mirror</id>
89       <name>opendaylight-mirror</name>
90       <url>${nexusproxy}/groups/public/</url>
91       <snapshots>
92           <enabled>false</enabled>
93       </snapshots>
94       <releases>
95           <enabled>true</enabled>
96           <updatePolicy>never</updatePolicy>
97       </releases>
98     </pluginRepository>
99     <!-- OpenDayLight Snapshot artifact -->
100     <pluginRepository>
101       <id>opendaylight-snapshot</id>
102       <name>opendaylight-snapshot</name>
103       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
104       <snapshots>
105           <enabled>true</enabled>
106       </snapshots>
107       <releases>
108           <enabled>false</enabled>
109       </releases>
110     </pluginRepository>
111   </pluginRepositories>
112
113         <distributionManagement>
114                 <!-- OpenDayLight Released artifact -->
115                 <repository>
116                         <id>opendaylight-release</id>
117                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
118                 </repository>
119                 <!-- OpenDayLight Snapshot artifact -->
120                 <snapshotRepository>
121                         <id>opendaylight-snapshot</id>
122                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
123                 </snapshotRepository>
124                 <!-- Site deployment -->
125         </distributionManagement>
126
127         <dependencyManagement>
128                 <dependencies>
129                         <dependency>
130                                 <groupId>org.opendaylight.controller</groupId>
131                                 <artifactId>clustering.services</artifactId>
132                                 <version>0.5.0-SNAPSHOT</version>
133                         </dependency>
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             <dependency>
225               <groupId>org.opendaylight.lispflowmapping</groupId>
226               <artifactId>mappingservice.yangmodel</artifactId>
227               <version>${lispflowmapping.version}</version>
228             </dependency>
229             <dependency>
230               <groupId>org.opendaylight.lispflowmapping</groupId>
231               <artifactId>mappingservice.api</artifactId>
232               <version>${lispflowmapping.version}</version>
233             </dependency>
234             <dependency>
235               <groupId>org.opendaylight.lispflowmapping</groupId>
236               <artifactId>mappingservice.implementation</artifactId>
237               <version>${lispflowmapping.version}</version>
238             </dependency>
239                 <dependency>
240                         <groupId>org.opendaylight.lispflowmapping</groupId>
241                         <artifactId>common.unittest.tools</artifactId>
242                         <version>${lispflowmapping.version}</version>
243                         <scope>test</scope>
244                 </dependency>
245                 </dependencies>
246         </dependencyManagement>
247
248         <reporting>
249                 <excludeDefaults>true</excludeDefaults>
250                 <outputDirectory>${project.build.directory}/site</outputDirectory>
251                 <plugins>
252                         <plugin>
253                                 <groupId>org.apache.maven.plugins</groupId>
254                                 <artifactId>maven-project-info-reports-plugin</artifactId>
255                                 <version>${projectinfo}</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.apache.maven.plugins</groupId>
278                                 <artifactId>maven-jxr-plugin</artifactId>
279                                 <version>2.3</version>
280                                 <configuration>
281                                         <aggregate>true</aggregate>
282                                         <linkJavadoc>true</linkJavadoc>
283                                 </configuration>
284                         </plugin>
285                         <plugin>
286                                 <groupId>org.apache.maven.plugins</groupId>
287                                 <artifactId>maven-javadoc-plugin</artifactId>
288                                 <version>2.8.1</version>
289                                 <configuration>
290                                         <doclet>org.jboss.apiviz.APIviz</doclet>
291                                         <docletArtifact>
292                                                 <groupId>org.jboss.apiviz</groupId>
293                                                 <artifactId>apiviz</artifactId>
294                                                 <version>1.3.2.GA</version>
295                                         </docletArtifact>
296                                         <finalName>${project.artifactId}-${build.suffix}</finalName>
297                                         <useStandardDocletOptions>true</useStandardDocletOptions>
298                                         <charset>UTF-8</charset>
299                                         <encoding>UTF-8</encoding>
300                                         <docencoding>UTF-8</docencoding>
301                                         <breakiterator>true</breakiterator>
302                                         <version>true</version>
303                                         <author>true</author>
304                                         <keywords>true</keywords>
305                                         <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
306                                 </configuration>
307                         </plugin>
308                 </plugins>
309         </reporting>
310         <build>
311                 <pluginManagement>
312                         <plugins>
313                         <plugin>
314           <groupId>org.apache.maven.plugins</groupId>
315           <artifactId>maven-release-plugin</artifactId>
316           <version>${releaseplugin.version}</version>
317         </plugin>
318                                 <plugin>
319                                         <groupId>org.jacoco</groupId>
320                                         <artifactId>jacoco-maven-plugin</artifactId>
321                                         <version>${jacoco.version}</version>
322                                 </plugin>
323                                 <plugin>
324                                         <groupId>org.apache.felix</groupId>
325                                         <artifactId>maven-bundle-plugin</artifactId>
326                                         <version>2.3.6</version>
327                                         <extensions>true</extensions>
328                                         <configuration>
329                                                 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
330                                         </configuration>
331                                 </plugin>
332                                 <plugin>
333                                         <groupId>org.apache.maven.plugins</groupId>
334                                         <artifactId>maven-assembly-plugin</artifactId>
335                                         <version>2.4</version>
336                                 </plugin>
337                                 <plugin>
338                                         <groupId>org.apache.maven.plugins</groupId>
339                                         <artifactId>maven-compiler-plugin</artifactId>
340                                         <version>2.3.2</version>
341                                         <configuration>
342                                                 <source>1.7</source>
343                                                 <target>1.7</target>
344                                         </configuration>
345                                 </plugin>
346                                 <plugin>
347                                         <groupId>org.apache.maven.plugins</groupId>
348                                         <artifactId>maven-dependency-plugin</artifactId>
349                                         <version>2.8</version>
350                                 </plugin>
351                                 <plugin>
352                                         <groupId>org.apache.maven.plugins</groupId>
353                                         <artifactId>maven-surefire-plugin</artifactId>
354                                         <version>2.14.1</version>
355                                 </plugin>
356                                 <plugin>
357                                         <groupId>org.opendaylight.yangtools</groupId>
358                                         <artifactId>yang-maven-plugin</artifactId>
359                                         <version>${yang.version}</version>
360                                         <executions>
361                                                 <execution>
362                                                         <goals>
363                                                                 <goal>generate-sources</goal>
364                                                         </goals>
365                                                         <configuration>
366                                                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
367                                                                 <codeGenerators>
368                                                                         <generator>
369                                                                                 <codeGeneratorClass>
370                                                                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
371                                                                                 </codeGeneratorClass>
372                                                                                 <outputBaseDir>
373                                                                                         target/generated-sources/sal
374                                                                                 </outputBaseDir>
375                                                                         </generator>
376                                                                 </codeGenerators>
377                                                                 <inspectDependencies>true</inspectDependencies>
378                                                         </configuration>
379                                                 </execution>
380                                         </executions>
381                                         <dependencies>
382                                                 <dependency>
383                                                         <groupId>org.opendaylight.yangtools</groupId>
384                                                         <artifactId>maven-sal-api-gen-plugin</artifactId>
385                                                         <version>${yang.codegen.version}</version>
386                                                         <type>jar</type>
387                                                 </dependency>
388                                         </dependencies>
389                                 </plugin>
390                                 <plugin>
391                                         <groupId>org.codehaus.mojo</groupId>
392                                         <artifactId>build-helper-maven-plugin</artifactId>
393                                         <version>1.7</version>
394                                         <executions>
395                                                 <execution>
396                                                         <phase>generate-sources</phase>
397                                                         <goals>
398                                                                 <goal>add-source</goal>
399                                                         </goals>
400                                                         <configuration>
401                                                                 <sources>
402                                                                         <source>target/generated-sources/sal</source>
403                                                                 </sources>
404                                                         </configuration>
405                                                 </execution>
406                                         </executions>
407                                 </plugin>
408                                 <plugin>
409                                         <groupId>org.eclipse.m2e</groupId>
410                                         <artifactId>lifecycle-mapping</artifactId>
411                                         <version>1.0.0</version>
412                                         <configuration>
413                                                 <lifecycleMappingMetadata>
414                                                         <pluginExecutions>
415                                                                 <pluginExecution>
416                                                                         <pluginExecutionFilter>
417                                                                                 <groupId>org.codehaus.mojo</groupId>
418                                                                                 <artifactId>properties-maven-plugin</artifactId>
419                                                                                 <versionRange>[0.0,)</versionRange>
420                                                                                 <goals>
421                                                                                         <goal>set-system-properties</goal>
422                                                                                 </goals>
423                                                                         </pluginExecutionFilter>
424                                                                         <action>
425                                                                                 <ignore />
426                                                                         </action>
427                                                                 </pluginExecution>
428                                                                 <pluginExecution>
429                                                                         <pluginExecutionFilter>
430                                                                                 <groupId>org.codehaus.enunciate</groupId>
431                                                                                 <artifactId>maven-enunciate-plugin</artifactId>
432                                                                                 <versionRange>[0.0,)</versionRange>
433                                                                                 <goals>
434                                                                                         <goal>docs</goal>
435                                                                                 </goals>
436                                                                         </pluginExecutionFilter>
437                                                                         <action>
438                                                                                 <ignore />
439                                                                         </action>
440                                                                 </pluginExecution>
441                                                                 <pluginExecution>
442                                                                         <pluginExecutionFilter>
443                                                                                 <groupId>org.jacoco</groupId>
444                                                                                 <artifactId>jacoco-maven-plugin</artifactId>
445                                                                                 <versionRange>[0.0,)</versionRange>
446                                                                                 <goals>
447                                                                                         <goal>prepare-agent</goal>
448                                                                                         <goal>pre-test</goal>
449                                                                                         <goal>post-test</goal>
450                                                                                 </goals>
451                                                                         </pluginExecutionFilter>
452                                                                         <action>
453                                                                                 <ignore />
454                                                                         </action>
455                                                                 </pluginExecution>
456                                                                 <pluginExecution>
457                                                                         <pluginExecutionFilter>
458                                                                                 <groupId>org.ops4j.pax.exam</groupId>
459                                                                                 <artifactId>maven-paxexam-plugin</artifactId>
460                                                                                 <versionRange>[1.2.4,)</versionRange>
461                                                                                 <goals>
462                                                                                         <goal>generate-depends-file</goal>
463                                                                                 </goals>
464                                                                         </pluginExecutionFilter>
465                                                                         <action>
466                                                                                 <ignore />
467                                                                         </action>
468                                                                 </pluginExecution>
469                                                                 <pluginExecution>
470                                                                         <pluginExecutionFilter>
471                                                                                 <groupId>org.apache.maven.plugins</groupId>
472                                                                                 <artifactId>maven-checkstyle-plugin</artifactId>
473                                                                                 <versionRange>[2.0,)</versionRange>
474                                                                                 <goals>
475                                                                                         <goal>check</goal>
476                                                                                 </goals>
477                                                                         </pluginExecutionFilter>
478                                                                         <action>
479                                                                                 <ignore />
480                                                                         </action>
481                                                                 </pluginExecution>
482                                                                 <pluginExecution>
483                                                                         <pluginExecutionFilter>
484                                                                                 <groupId>org.opendaylight.yangtools</groupId>
485                                                                                 <artifactId>yang-maven-plugin</artifactId>
486                                                                                 <versionRange>[0.5,)</versionRange>
487                                                                                 <goals>
488                                                                                         <goal>generate-sources </goal>
489                                                                                 </goals>
490                                                                         </pluginExecutionFilter>
491                                                                         <action>
492                                                                                 <ignore></ignore>
493                                                                         </action>
494                                                                 </pluginExecution>
495                                                         </pluginExecutions>
496                                                 </lifecycleMappingMetadata>
497                                         </configuration>
498                                 </plugin>
499                                 <plugin>
500                                         <groupId>org.codehaus.enunciate</groupId>
501                                         <artifactId>maven-enunciate-plugin</artifactId>
502                                         <version>${enunciate.version}</version>
503                                         <configuration>
504                                                 <configFile>enunciate.xml</configFile>
505                                         </configuration>
506                                         <executions>
507                                                 <execution>
508                                                         <goals>
509                                                                 <goal>docs</goal>
510                                                         </goals>
511                                                 </execution>
512                                         </executions>
513                                 </plugin>
514                                 <plugin>
515                                         <groupId>org.apache.maven.plugins</groupId>
516                                         <artifactId>maven-javadoc-plugin</artifactId>
517                                         <version>2.8.1</version>
518                                         <configuration>
519                                                 <doclet>org.jboss.apiviz.APIviz</doclet>
520                                                 <docletArtifact>
521                                                         <groupId>org.jboss.apiviz</groupId>
522                                                         <artifactId>apiviz</artifactId>
523                                                         <version>1.3.2.GA</version>
524                                                 </docletArtifact>
525                                                 <finalName>${project.artifactId}-1.0.0</finalName>
526                                                 <useStandardDocletOptions>true</useStandardDocletOptions>
527                                                 <charset>UTF-8</charset>
528                                                 <encoding>UTF-8</encoding>
529                                                 <docencoding>UTF-8</docencoding>
530                                                 <breakiterator>true</breakiterator>
531                                                 <version>true</version>
532                                                 <author>true</author>
533                                                 <keywords>true</keywords>
534                                                 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
535                                                 <failOnError>false</failOnError>
536                                         </configuration>
537                                 </plugin>
538                                 <plugin>
539                                         <groupId>org.apache.maven.plugins</groupId>
540                                         <artifactId>maven-jxr-plugin</artifactId>
541                                         <version>2.3</version>
542                                         <configuration>
543                                                 <aggregate>true</aggregate>
544                                                 <linkJavadoc>true</linkJavadoc>
545                                                 <javadocDir>target/apidocs</javadocDir>
546                                         </configuration>
547                                 </plugin>
548                         </plugins>
549                 </pluginManagement>
550         </build>
551
552 </project>