You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2012/05/14 10:10:29 UTC
svn commit: r1338051 - in /maven/plugin-tools/trunk:
maven-plugin-plugin/pom.xml maven-plugin-plugin/src/site/site.xml pom.xml
src/site/site.xml
Author: olamy
Date: Mon May 14 08:10:28 2012
New Revision: 1338051
URL: http://svn.apache.org/viewvc?rev=1338051&view=rev
Log:
add a profile to deploy snapshot docs and use smaller images
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/pom.xml
maven/plugin-tools/trunk/maven-plugin-plugin/src/site/site.xml
maven/plugin-tools/trunk/pom.xml
maven/plugin-tools/trunk/src/site/site.xml
Modified: maven/plugin-tools/trunk/maven-plugin-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/pom.xml?rev=1338051&r1=1338050&r2=1338051&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-plugin/pom.xml (original)
+++ maven/plugin-tools/trunk/maven-plugin-plugin/pom.xml Mon May 14 08:10:28 2012
@@ -37,6 +37,7 @@
to include in the JAR. It is also used to generate Xdoc files for the Mojos as well as for updating the
plugin registry, the artifact metadata and a generic help goal.
</description>
+ <url>${siteUrlPlugin}</url>
<prerequisites>
<maven>2.0.6</maven>
@@ -54,7 +55,7 @@
<distributionManagement>
<site>
<id>apache.website</id>
- <url>scp://people.apache.org/www/maven.apache.org/plugins/maven-plugin-plugin</url>
+ <url>${siteDeployUrlPlugin}</url>
</site>
</distributionManagement>
@@ -63,6 +64,8 @@
<doxia-sitetoolsVersion>1.2</doxia-sitetoolsVersion>
<mavenVersion>2.0.6</mavenVersion>
<it.debug>true</it.debug>
+ <siteDeployUrlPlugin>scp://people.apache.org/www/maven.apache.org/plugins/maven-plugin-plugin/</siteDeployUrlPlugin>
+ <siteUrlPlugin>http://maven.apache.org/plugins/maven-plugin-plugin/</siteUrlPlugin>
</properties>
<!-- Copy from project up -->
@@ -378,5 +381,12 @@
</dependency>
</dependencies>
</profile>
+ <profile>
+ <id>snapshot-doc</id>
+ <properties>
+ <siteDeployUrlPlugin>scp://people.apache.org/www/maven.apache.org/plugins/maven-plugin-plugin-${project.version}/</siteDeployUrlPlugin>
+ <siteUrlPlugin>http://maven.apache.org/plugins/maven-plugin-plugin-${project.version}/</siteUrlPlugin>
+ </properties>
+ </profile>
</profiles>
</project>
Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/site/site.xml?rev=1338051&r1=1338050&r2=1338051&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-plugin/src/site/site.xml (original)
+++ maven/plugin-tools/trunk/maven-plugin-plugin/src/site/site.xml Mon May 14 08:10:28 2012
@@ -23,6 +23,15 @@ under the License.
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
+ <bannerLeft>
+ <name>${project.name}</name>
+ <src>http://maven.apache.org/images/apache-maven-project.png</src>
+ <href>http://maven.apache.org/</href>
+ </bannerLeft>
+ <bannerRight>
+ <src>http://maven.apache.org/images/maventxt_logo_200.gif</src>
+ </bannerRight>
+
<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
Modified: maven/plugin-tools/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/pom.xml?rev=1338051&r1=1338050&r2=1338051&view=diff
==============================================================================
--- maven/plugin-tools/trunk/pom.xml (original)
+++ maven/plugin-tools/trunk/pom.xml Mon May 14 08:10:28 2012
@@ -34,7 +34,7 @@
<name>Maven Plugin Tools</name>
<description>The Maven Plugin Tools contains the necessary tools to be able to produce Maven Plugins in a variety of languages.</description>
- <url>http://maven.apache.org/plugin-tools/</url>
+ <url>${siteUrl}</url>
<inceptionYear>2004</inceptionYear>
<contributors>
@@ -151,12 +151,14 @@
<distributionManagement>
<site>
<id>apache.website</id>
- <url>scp://people.apache.org/www/maven.apache.org/plugin-tools/</url>
+ <url>${siteDeployUrl}</url>
</site>
</distributionManagement>
<properties>
<pluginTestingHarnessVersion>1.2</pluginTestingHarnessVersion>
+ <siteDeployUrl>scp://people.apache.org/www/maven.apache.org/plugin-tools/</siteDeployUrl>
+ <siteUrl>http://maven.apache.org/plugin-tools/</siteUrl>
</properties>
<dependencyManagement>
@@ -401,5 +403,12 @@
</plugins>
</reporting>
</profile>
+ <profile>
+ <id>snapshot-doc</id>
+ <properties>
+ <siteDeployUrl>scp://people.apache.org/www/maven.apache.org/plugin-tools-${project.version}/</siteDeployUrl>
+ <siteUrl>http://maven.apache.org/plugin-tools-${project.version}/</siteUrl>
+ </properties>
+ </profile>
</profiles>
</project>
Modified: maven/plugin-tools/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/src/site/site.xml?rev=1338051&r1=1338050&r2=1338051&view=diff
==============================================================================
--- maven/plugin-tools/trunk/src/site/site.xml (original)
+++ maven/plugin-tools/trunk/src/site/site.xml Mon May 14 08:10:28 2012
@@ -21,6 +21,15 @@ under the License.
<project xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
+ <bannerLeft>
+ <name>${project.name}</name>
+ <src>http://maven.apache.org/images/apache-maven-project.png</src>
+ <href>http://maven.apache.org/</href>
+ </bannerLeft>
+ <bannerRight>
+ <src>http://maven.apache.org/images/maventxt_logo_200.gif</src>
+ </bannerRight>
+
<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>