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