Add <scm> section to all pom.xml files
[lispflowmapping.git] / commons / parent / pom.xml
index 18e5296f27ec15d18623a1572a431c59cbb9f3ee..41ee7cb0cadd51cbdb2ada47a9b5714d140f1b32 100644 (file)
@@ -3,17 +3,42 @@
        <modelVersion>4.0.0</modelVersion>
        <groupId>org.opendaylight.lispflowmapping</groupId>
        <artifactId>lispflowmapping-commons</artifactId>
-       <version>0.1.0-SNAPSHOT</version>
+       <version>1.1.0-SNAPSHOT</version>
        <description></description>
        <packaging>pom</packaging>
        <url>http://www.opendaylight.org</url>
-
        <scm>
                <connection>scm:git:https://git.opendaylight.org/gerrit/p/lispflowmapping.git</connection>
+               <developerConnection>scm:git:ssh://git.opendaylight.org:29418/lispflowmapping.git</developerConnection>
+               <url>https://wiki.opendaylight.org/view/OpenDaylight_Lisp_Flow_Mapping:Main</url>
+               <tag>HEAD</tag>
        </scm>
        <properties>
+               <lispflowmapping.version>1.1.0-SNAPSHOT</lispflowmapping.version>
+               <jacoco.version>0.5.3.201107060350</jacoco.version>
+               <enforcer.version>1.3.1</enforcer.version>
                <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+               <projectinfo>2.6</projectinfo>
+               <enunciate.version>1.26.2</enunciate.version>
+               <guava.version>14.0.1</guava.version>
+               <build.suffix>1.0.0</build.suffix>
+               <yangtools.binding.version>0.6.0-SNAPSHOT</yangtools.binding.version>
+               <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
+               <yang.version>0.5.9-SNAPSHOT</yang.version>
+               <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
+               <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
+               <sonar.branch>${user.name}-private-view</sonar.branch>
+               <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
+               <sonar.language>java</sonar.language>
+               <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
+               <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
+               <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
+               <forwardingrulesmanager.version>0.5.0-SNAPSHOT</forwardingrulesmanager.version>
+               <statisticsmanager.version>0.5.0-SNAPSHOT</statisticsmanager.version>
+               <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
+               <java.version.source>1.7</java.version.source>
+               <java.version.target>1.7</java.version.target>
        </properties>
 
        <repositories>
                        </snapshots>
                </repository>
        </repositories>
-
+       <pluginRepositories>
+               <pluginRepository>
+                       <id>opendaylight-release</id>
+                       <name>opendaylight-release</name>
+                       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
+               </pluginRepository>
+               <pluginRepository>
+                       <id>opendaylight-snapshot</id>
+                       <name>opendaylight-snapshot</name>
+                       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
+               </pluginRepository>
+       </pluginRepositories>
        <distributionManagement>
                <!-- OpenDayLight Released artifact -->
                <repository>
                        <dependency>
                                <groupId>org.opendaylight.controller</groupId>
                                <artifactId>clustering.services</artifactId>
-                               <version>0.4.0-SNAPSHOT</version>
+                               <version>0.4.1-SNAPSHOT</version>
+                       </dependency>
+
+                       <dependency>
+                               <groupId>org.opendaylight.yangtools</groupId>
+                               <artifactId>yang-binding</artifactId>
+                               <version>${yang.binding.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.yangtools</groupId>
+                               <artifactId>yang-common</artifactId>
+                               <version>${yang.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.yangtools</groupId>
+                               <artifactId>yang-data-api</artifactId>
+                               <version>${yang.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.yangtools</groupId>
+                               <artifactId>yang-model-api</artifactId>
+                               <version>${yang.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.yangtools</groupId>
+                               <artifactId>yang-data-util</artifactId>
+                               <version>${yang.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.yangtools.model</groupId>
+                               <artifactId>ietf-inet-types</artifactId>
+                               <version>2010.09.24-SNAPSHOT</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.yangtools.model</groupId>
+                               <artifactId>ietf-yang-types</artifactId>
+                               <version>2010.09.24-SNAPSHOT</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>com.google.guava</groupId>
+                               <artifactId>guava</artifactId>
+                               <version>${guava.version}</version>
                        </dependency>
                        <dependency>
                                <groupId>org.opendaylight.controller</groupId>
                                <artifactId>sal</artifactId>
-                               <version>0.5.0-SNAPSHOT</version>
+                               <version>0.5.1-SNAPSHOT</version>
                        </dependency>
                        <dependency>
                                <groupId>junit</groupId>
                                <artifactId>org.eclipse.osgi</artifactId>
                                <version>3.8.1.v20120830-144521</version>
                        </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.controller</groupId>
+                               <artifactId>sal-binding-api</artifactId>
+                               <version>1.0-SNAPSHOT</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.controller</groupId>
+                               <artifactId>sal-common-util</artifactId>
+                               <version>1.0-SNAPSHOT</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.controller</groupId>
+                               <artifactId>config-api</artifactId>
+                               <version>0.2.3-SNAPSHOT</version>
+                       </dependency>
 
                </dependencies>
        </dependencyManagement>
 
-
+       <reporting>
+               <excludeDefaults>true</excludeDefaults>
+               <outputDirectory>${project.build.directory}/site</outputDirectory>
+               <plugins>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-project-info-reports-plugin</artifactId>
+                               <version>${projectinfo}</version>
+                               <configuration>
+                                       <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
+                                       <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+                               </configuration>
+                               <reportSets>
+                                       <reportSet>
+                                               <reports>
+                                                       <report>index</report>
+                                                       <report>project-team</report>
+                                                       <report>license</report>
+                                                       <report>mailing-list</report>
+                                                       <report>plugin-management</report>
+                                                       <report>cim</report>
+                                                       <report>issue-tracking</report>
+                                                       <report>scm</report>
+                                                       <report>summary</report>
+                                               </reports>
+                                       </reportSet>
+                               </reportSets>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-jxr-plugin</artifactId>
+                               <version>2.3</version>
+                               <configuration>
+                                       <aggregate>true</aggregate>
+                                       <linkJavadoc>true</linkJavadoc>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-javadoc-plugin</artifactId>
+                               <version>2.8.1</version>
+                               <configuration>
+                                       <doclet>org.jboss.apiviz.APIviz</doclet>
+                                       <docletArtifact>
+                                               <groupId>org.jboss.apiviz</groupId>
+                                               <artifactId>apiviz</artifactId>
+                                               <version>1.3.2.GA</version>
+                                       </docletArtifact>
+                                       <finalName>${project.artifactId}-${build.suffix}</finalName>
+                                       <useStandardDocletOptions>true</useStandardDocletOptions>
+                                       <charset>UTF-8</charset>
+                                       <encoding>UTF-8</encoding>
+                                       <docencoding>UTF-8</docencoding>
+                                       <breakiterator>true</breakiterator>
+                                       <version>true</version>
+                                       <author>true</author>
+                                       <keywords>true</keywords>
+                                       <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
+                               </configuration>
+                       </plugin>
+               </plugins>
+       </reporting>
        <build>
                <pluginManagement>
                        <plugins>
+                               <plugin>
+                                       <groupId>org.jacoco</groupId>
+                                       <artifactId>jacoco-maven-plugin</artifactId>
+                                       <version>${jacoco.version}</version>
+                               </plugin>
                                <plugin>
                                        <groupId>org.apache.felix</groupId>
                                        <artifactId>maven-bundle-plugin</artifactId>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-compiler-plugin</artifactId>
                                        <version>2.3.2</version>
+                                       <configuration>
+                                               <source>1.7</source>
+                                               <target>1.7</target>
+                                       </configuration>
                                </plugin>
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-surefire-plugin</artifactId>
                                        <version>2.14.1</version>
                                </plugin>
+                               <plugin>
+                                       <groupId>org.opendaylight.yangtools</groupId>
+                                       <artifactId>yang-maven-plugin</artifactId>
+                                       <version>${yang.version}</version>
+                                       <executions>
+                                               <execution>
+                                                       <goals>
+                                                               <goal>generate-sources</goal>
+                                                       </goals>
+                                                       <configuration>
+                                                               <yangFilesRootDir>src/main/yang</yangFilesRootDir>
+                                                               <codeGenerators>
+                                                                       <generator>
+                                                                               <codeGeneratorClass>
+                                                                                       org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
+                                                                               </codeGeneratorClass>
+                                                                               <outputBaseDir>
+                                                                                       target/generated-sources/sal
+                                                                               </outputBaseDir>
+                                                                       </generator>
+                                                               </codeGenerators>
+                                                               <inspectDependencies>true</inspectDependencies>
+                                                       </configuration>
+                                               </execution>
+                                       </executions>
+                                       <dependencies>
+                                               <dependency>
+                                                       <groupId>org.opendaylight.yangtools</groupId>
+                                                       <artifactId>maven-sal-api-gen-plugin</artifactId>
+                                                       <version>${yang.codegen.version}</version>
+                                                       <type>jar</type>
+                                               </dependency>
+                                       </dependencies>
+                               </plugin>
+                               <plugin>
+                                       <groupId>org.codehaus.mojo</groupId>
+                                       <artifactId>build-helper-maven-plugin</artifactId>
+                                       <version>1.7</version>
+                                       <executions>
+                                               <execution>
+                                                       <phase>generate-sources</phase>
+                                                       <goals>
+                                                               <goal>add-source</goal>
+                                                       </goals>
+                                                       <configuration>
+                                                               <sources>
+                                                                       <source>target/generated-sources/sal</source>
+                                                               </sources>
+                                                       </configuration>
+                                               </execution>
+                                       </executions>
+                               </plugin>
+                               <plugin>
+                                       <groupId>org.eclipse.m2e</groupId>
+                                       <artifactId>lifecycle-mapping</artifactId>
+                                       <version>1.0.0</version>
+                                       <configuration>
+                                               <lifecycleMappingMetadata>
+                                                       <pluginExecutions>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>org.codehaus.mojo</groupId>
+                                                                               <artifactId>properties-maven-plugin</artifactId>
+                                                                               <versionRange>[0.0,)</versionRange>
+                                                                               <goals>
+                                                                                       <goal>set-system-properties</goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore />
+                                                                       </action>
+                                                               </pluginExecution>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>org.codehaus.enunciate</groupId>
+                                                                               <artifactId>maven-enunciate-plugin</artifactId>
+                                                                               <versionRange>[0.0,)</versionRange>
+                                                                               <goals>
+                                                                                       <goal>docs</goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore />
+                                                                       </action>
+                                                               </pluginExecution>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>org.jacoco</groupId>
+                                                                               <artifactId>jacoco-maven-plugin</artifactId>
+                                                                               <versionRange>[0.0,)</versionRange>
+                                                                               <goals>
+                                                                                       <goal>prepare-agent</goal>
+                                                                                       <goal>pre-test</goal>
+                                                                                       <goal>post-test</goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore />
+                                                                       </action>
+                                                               </pluginExecution>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>org.ops4j.pax.exam</groupId>
+                                                                               <artifactId>maven-paxexam-plugin</artifactId>
+                                                                               <versionRange>[1.2.4,)</versionRange>
+                                                                               <goals>
+                                                                                       <goal>generate-depends-file</goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore />
+                                                                       </action>
+                                                               </pluginExecution>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>org.apache.maven.plugins</groupId>
+                                                                               <artifactId>maven-checkstyle-plugin</artifactId>
+                                                                               <versionRange>[2.0,)</versionRange>
+                                                                               <goals>
+                                                                                       <goal>check</goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore />
+                                                                       </action>
+                                                               </pluginExecution>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>org.opendaylight.yangtools</groupId>
+                                                                               <artifactId>yang-maven-plugin</artifactId>
+                                                                               <versionRange>[0.5,)</versionRange>
+                                                                               <goals>
+                                                                                       <goal>generate-sources </goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore></ignore>
+                                                                       </action>
+                                                               </pluginExecution>
+                                                       </pluginExecutions>
+                                               </lifecycleMappingMetadata>
+                                       </configuration>
+                               </plugin>
+                               <plugin>
+                                       <groupId>org.codehaus.enunciate</groupId>
+                                       <artifactId>maven-enunciate-plugin</artifactId>
+                                       <version>${enunciate.version}</version>
+                                       <configuration>
+                                               <configFile>enunciate.xml</configFile>
+                                       </configuration>
+                                       <executions>
+                                               <execution>
+                                                       <goals>
+                                                               <goal>docs</goal>
+                                                       </goals>
+                                               </execution>
+                                       </executions>
+                               </plugin>
+                               <plugin>
+                                       <groupId>org.apache.maven.plugins</groupId>
+                                       <artifactId>maven-javadoc-plugin</artifactId>
+                                       <version>2.8.1</version>
+                                       <configuration>
+                                               <doclet>org.jboss.apiviz.APIviz</doclet>
+                                               <docletArtifact>
+                                                       <groupId>org.jboss.apiviz</groupId>
+                                                       <artifactId>apiviz</artifactId>
+                                                       <version>1.3.2.GA</version>
+                                               </docletArtifact>
+                                               <finalName>${project.artifactId}-1.0.0</finalName>
+                                               <useStandardDocletOptions>true</useStandardDocletOptions>
+                                               <charset>UTF-8</charset>
+                                               <encoding>UTF-8</encoding>
+                                               <docencoding>UTF-8</docencoding>
+                                               <breakiterator>true</breakiterator>
+                                               <version>true</version>
+                                               <author>true</author>
+                                               <keywords>true</keywords>
+                                               <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
+                                               <failOnError>false</failOnError>
+                                       </configuration>
+                               </plugin>
+                               <plugin>
+                                       <groupId>org.apache.maven.plugins</groupId>
+                                       <artifactId>maven-jxr-plugin</artifactId>
+                                       <version>2.3</version>
+                                       <configuration>
+                                               <aggregate>true</aggregate>
+                                               <linkJavadoc>true</linkJavadoc>
+                                               <javadocDir>target/apidocs</javadocDir>
+                                       </configuration>
+                               </plugin>
                        </plugins>
                </pluginManagement>
        </build>