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