add a profile to deploy snapshot docs and use smaller images

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1338051 13f79535-47bb-0310-9956-ffa450edef68
master
Olivier Lamy 2012-05-14 08:10:28 +00:00
parent d57970a552
commit 3fbcbd8561
4 changed files with 40 additions and 3 deletions

View File

@ -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 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. plugin registry, the artifact metadata and a generic help goal.
</description> </description>
<url>${siteUrlPlugin}</url>
<prerequisites> <prerequisites>
<maven>2.0.6</maven> <maven>2.0.6</maven>
@ -54,7 +55,7 @@
<distributionManagement> <distributionManagement>
<site> <site>
<id>apache.website</id> <id>apache.website</id>
<url>scp://people.apache.org/www/maven.apache.org/plugins/maven-plugin-plugin</url> <url>${siteDeployUrlPlugin}</url>
</site> </site>
</distributionManagement> </distributionManagement>
@ -63,6 +64,8 @@
<doxia-sitetoolsVersion>1.2</doxia-sitetoolsVersion> <doxia-sitetoolsVersion>1.2</doxia-sitetoolsVersion>
<mavenVersion>2.0.6</mavenVersion> <mavenVersion>2.0.6</mavenVersion>
<it.debug>true</it.debug> <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> </properties>
<!-- Copy from project up --> <!-- Copy from project up -->
@ -378,5 +381,12 @@
</dependency> </dependency>
</dependencies> </dependencies>
</profile> </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> </profiles>
</project> </project>

View File

@ -23,6 +23,15 @@ under the License.
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> 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> <skin>
<groupId>org.apache.maven.skins</groupId> <groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId> <artifactId>maven-fluido-skin</artifactId>

13
pom.xml
View File

@ -34,7 +34,7 @@
<name>Maven Plugin Tools</name> <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> <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> <inceptionYear>2004</inceptionYear>
<contributors> <contributors>
@ -151,12 +151,14 @@
<distributionManagement> <distributionManagement>
<site> <site>
<id>apache.website</id> <id>apache.website</id>
<url>scp://people.apache.org/www/maven.apache.org/plugin-tools/</url> <url>${siteDeployUrl}</url>
</site> </site>
</distributionManagement> </distributionManagement>
<properties> <properties>
<pluginTestingHarnessVersion>1.2</pluginTestingHarnessVersion> <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> </properties>
<dependencyManagement> <dependencyManagement>
@ -401,5 +403,12 @@
</plugins> </plugins>
</reporting> </reporting>
</profile> </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> </profiles>
</project> </project>

View File

@ -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"> <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> <skin>
<groupId>org.apache.maven.skins</groupId> <groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId> <artifactId>maven-fluido-skin</artifactId>