continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1426437 - in /continuum/trunk: continuum-docs/pom.xml pom.xml
Date Fri, 28 Dec 2012 09:11:36 GMT
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>



Mime
View raw message