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