<?xml version="1.0" encoding="UTF-8"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<prerequisites>
<maven>3.0</maven>
</prerequisites>
- <!-- The sitebuildsettings-pom.xml contains the specific settings
- for a site on which the build can be performed so it will
- contain for instance reference to the local Maven proxy/host
- server or the local sonar etc. -->
- <parent>
- <groupId>sitebuildsettings</groupId>
- <artifactId>sitebuildsettings</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../../../sitebuildsettings-pom.xml</relativePath>
- </parent>
<groupId>org.opendaylight.controller</groupId>
<artifactId>commons.thirdparty</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
<packaging>pom</packaging>
+ <scm>
+ <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
+ <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
+ <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
+ <tag>HEAD</tag>
+ </scm>
<properties>
+ <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
+ <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
+ <nexus.repository.release>opendaylight.release</nexus.repository.release>
+ <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
+ <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
<siteplugin>3.2</siteplugin>
<projectinfo>2.6</projectinfo>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<compiler.version>2.3.2</compiler.version>
<surefire.version>2.13</surefire.version>
+ <releaseplugin.version>2.3.2</releaseplugin.version>
+ <enforcer.version>1.3.1</enforcer.version>
+ <bundle.plugin.version>2.3.7</bundle.plugin.version>
</properties>
<pluginRepositories>
<pluginRepository>
<id>central2</id>
<name>central2</name>
- <url>${nexusproxy}/repositories/central2/</url>
+ <url>http://repo2.maven.org/maven2</url>
</pluginRepository>
</pluginRepositories>
</plugins>
<pluginManagement>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>${releaseplugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>${bundle.plugin.version}</version>
+ <extensions>true</extensions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
</build>
<repositories>
- <!-- Maven repo2 mirror -->
<repository>
<id>central2</id>
<name>central2</name>
- <url>${nexusproxy}/repositories/central2/</url>
+ <url>http://repo2.maven.org/maven2</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <updatePolicy>never</updatePolicy>
+ <enabled>true</enabled>
+ </releases>
</repository>
- <!-- Maven repo1 mirror -->
<repository>
<id>central</id>
<name>central</name>
- <url>${nexusproxy}/repositories/central/</url>
+ <url>http://repo1.maven.org/maven2</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <updatePolicy>never</updatePolicy>
+ <enabled>true</enabled>
+ </releases>
</repository>
<!-- Third Packages hosted in local maven because not available in
other places -->
<repository>
- <id>${thirdpartyID}</id>
+ <id>thirdparty</id>
<name>thirdparty</name>
<url>${nexusproxy}/repositories/thirdparty</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <updatePolicy>never</updatePolicy>
+ <enabled>true</enabled>
+ </releases>
</repository>
</repositories>
<distributionManagement>
- <!-- Third-party Released artifact -->
+ <!-- OpenDayLight Released artifact -->
<repository>
- <id>${thirdpartyID}</id>
- <url>${nexusproxy}/repositories/thirdparty</url>
+ <id>opendaylight-release</id>
+ <url>${nexusproxy}/repositories/${nexus.repository.release}/</url>
</repository>
- <!-- Third-party Snapshot artifact -->
+ <!-- OpenDayLight Snapshot artifact -->
<snapshotRepository>
- <id>${thirdpartyID}-snapshot</id>
- <url>${nexusproxy}/repositories/thirdparty-snapshot</url>
+ <id>opendaylight-snapshot</id>
+ <url>${nexusproxy}/repositories/${nexus.repository.snapshot}/</url>
</snapshotRepository>
<!-- Site deployment -->
<site>