<modelVersion>4.0.0</modelVersion>
<groupId>org.opendaylight.docs</groupId>
<artifactId>root</artifactId>
- <version>0.1.0-SNAPSHOT</version>
- <name>OpenDaylight Docs</name>
+ <version>0.3.2-SNAPSHOT</version>
+ <name>docs</name> <!-- Used by Sonar to set project name -->
<packaging>pom</packaging>
<url>${sitedeploy}</url>
<scm>
- <connection>scm:git:ssh://git.opendaylight.org:29418/documentation.git</connection>
- <developerConnection>scm:git:ssh://git.opendaylight.org:29418/documentation.git</developerConnection>
- <url>https://wiki.opendaylight.org/view/CrossProject:Integration_Group</url>
+ <connection>scm:git:ssh://git.opendaylight.org:29418/docs.git</connection>
+ <developerConnection>scm:git:ssh://git.opendaylight.org:29418/docs.git</developerConnection>
+ <url>https://wiki.opendaylight.org/view/CrossProject:Documentation_Group</url>
<tag>HEAD</tag>
</scm>
<properties>
<asciidoctor.version>0.1.4</asciidoctor.version>
- <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
+ <current.branch>master</current.branch>
+ <nexusproxy>https://nexus.opendaylight.org/content</nexusproxy>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <sitedeploy>${nexusproxy}/sites/site/${project.groupId}/master/${project.artifactId}</sitedeploy>
+ <sitedeploy>${nexusproxy}/sites/site/${project.groupId}/${current.branch}/${project.artifactId}</sitedeploy>
</properties>
<modules>
<module>manuals</module>
</modules>
- <repositories>
-
- <!-- OpenDayLight Repo Mirror -->
- <repository>
- <id>opendaylight-mirror</id>
- <name>opendaylight-mirror</name>
- <url>${nexusproxy}/groups/public/</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- </repository>
- <!-- OpenDayLight Snapshot artifact -->
- <repository>
- <id>opendaylight-snapshot</id>
- <name>opendaylight-snapshot</name>
- <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>false</enabled>
- </releases>
- </repository>
- </repositories>
-
- <pluginRepositories>
- <pluginRepository>
- <id>central2</id>
- <name>central2</name>
- <url>${nexusproxy}/repositories/central2/</url>
- </pluginRepository>
- <pluginRepository>
- <id>opendaylight-snapshot</id>
- <name>central2</name>
- <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
- </pluginRepository>
- <pluginRepository>
- <id>oss-sonatype</id>
- <name>oss-sonatype</name>
- <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
<distributionManagement>
<!-- OpenDayLight Released artifact -->
<repository>
<url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
</snapshotRepository>
<site>
- <id>${project.artifactId}-site</id>
+ <id>opendaylight-site</id>
<url>dav:${sitedeploy}/</url>
</site>
</distributionManagement>
<artifactId>sdndocs-maven-plugin</artifactId>
<version>0.1.0</version>
</plugin>
- </plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.1</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-webdav-jackrabbit</artifactId>
+ <version>2.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.6.1</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
</build>
</project>