You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by br...@apache.org on 2012/12/28 10:11:36 UTC
svn commit: r1426437 - in /continuum/trunk: continuum-docs/pom.xml pom.xml
Author: brett
Date: Fri Dec 28 09:11:36 2012
New Revision: 1426437
URL: http://svn.apache.org/viewvc?rev=1426437&view=rev
Log:
set publish location via plugin instead of distribution management so that the URLs are always generated correctly in both the ref and docs trees
Modified:
continuum/trunk/continuum-docs/pom.xml
continuum/trunk/pom.xml
Modified: continuum/trunk/continuum-docs/pom.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-docs/pom.xml?rev=1426437&r1=1426436&r2=1426437&view=diff
==============================================================================
--- continuum/trunk/continuum-docs/pom.xml (original)
+++ continuum/trunk/continuum-docs/pom.xml Fri Dec 28 09:11:36 2012
@@ -46,6 +46,13 @@
<template>continuum-site.vm</template>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-publish-plugin</artifactId>
+ <configuration>
+ <pubScmUrl>scm:svn:${svnUrl}</pubScmUrl>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
Modified: continuum/trunk/pom.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/pom.xml?rev=1426437&r1=1426436&r2=1426437&view=diff
==============================================================================
--- continuum/trunk/pom.xml (original)
+++ continuum/trunk/pom.xml Fri Dec 28 09:11:36 2012
@@ -60,14 +60,6 @@
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/continuum/trunk</developerConnection>
<url>http://svn.apache.org/viewvc/continuum/trunk/</url>
</scm>
-<!-- TODO: need to configure differently as it mucks up the links in continuum-docs
- <distributionManagement>
- <site>
- <id>apache</id>
- <url>scm:svn:${svnUrl}</url>
- </site>
- </distributionManagement>
--->
<reporting>
<plugins>
<plugin>
@@ -202,6 +194,15 @@
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty.version}</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-publish-plugin</artifactId>
+ <configuration>
+ <!-- Note: we use this instead of distributionManagement as that currently impacts the URLs that are
+ inherited in continuum-docs -->
+ <pubScmUrl>scm:svn:${svnUrl}</pubScmUrl>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>