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