Skip to content

Instantly share code, notes, and snippets.

@simonetripodi
Created January 5, 2012 22:39
Show Gist options
  • Save simonetripodi/1567727 to your computer and use it in GitHub Desktop.
Save simonetripodi/1567727 to your computer and use it in GitHub Desktop.
Skin staged sites
Index: maven-classic-skin/pom.xml
===================================================================
--- maven-classic-skin/pom.xml (revision 1227826)
+++ maven-classic-skin/pom.xml (working copy)
@@ -41,6 +41,16 @@
<profiles>
<profile>
+ <id>rc</id>
+ <distributionManagement>
+ <!-- Cannot define in parent -->
+ <site>
+ <id>apache.website</id>
+ <url>scp://people.apache.org/www/maven.apache.org/skins/${project.artifactId}-${project.version}</url>
+ </site>
+ </distributionManagement>
+ </profile>
+ <profile>
<id>run-its</id>
<build>
<plugins>
Index: maven-fluido-skin/pom.xml
===================================================================
--- maven-fluido-skin/pom.xml (revision 1227846)
+++ maven-fluido-skin/pom.xml (working copy)
@@ -132,6 +132,16 @@
<profiles>
<profile>
+ <id>rc</id>
+ <distributionManagement>
+ <!-- Cannot define in parent -->
+ <site>
+ <id>apache.website</id>
+ <url>scp://people.apache.org/www/maven.apache.org/skins/${project.artifactId}-${project.version}</url>
+ </site>
+ </distributionManagement>
+ </profile>
+ <profile>
<id>run-its</id>
<build>
<plugins>
Index: maven-application-skin/pom.xml
===================================================================
--- maven-application-skin/pom.xml (revision 1227826)
+++ maven-application-skin/pom.xml (working copy)
@@ -41,6 +41,16 @@
<profiles>
<profile>
+ <id>rc</id>
+ <distributionManagement>
+ <!-- Cannot define in parent -->
+ <site>
+ <id>apache.website</id>
+ <url>scp://people.apache.org/www/maven.apache.org/skins/${project.artifactId}-${project.version}</url>
+ </site>
+ </distributionManagement>
+ </profile>
+ <profile>
<id>run-its</id>
<build>
<plugins>
Index: maven-stylus-skin/pom.xml
===================================================================
--- maven-stylus-skin/pom.xml (revision 1227848)
+++ maven-stylus-skin/pom.xml (working copy)
@@ -46,6 +46,16 @@
<profiles>
<profile>
+ <id>rc</id>
+ <distributionManagement>
+ <!-- Cannot define in parent -->
+ <site>
+ <id>apache.website</id>
+ <url>scp://people.apache.org/www/maven.apache.org/skins/${project.artifactId}-${project.version}</url>
+ </site>
+ </distributionManagement>
+ </profile>
+ <profile>
<id>run-its</id>
<build>
<plugins>
Index: maven-default-skin/pom.xml
===================================================================
--- maven-default-skin/pom.xml (revision 1227826)
+++ maven-default-skin/pom.xml (working copy)
@@ -41,6 +41,16 @@
<profiles>
<profile>
+ <id>rc</id>
+ <distributionManagement>
+ <!-- Cannot define in parent -->
+ <site>
+ <id>apache.website</id>
+ <url>scp://people.apache.org/www/maven.apache.org/skins/${project.artifactId}-${project.version}</url>
+ </site>
+ </distributionManagement>
+ </profile>
+ <profile>
<id>run-its</id>
<build>
<plugins>
Index: pom.xml
===================================================================
--- pom.xml (revision 1227875)
+++ pom.xml (working copy)
@@ -78,6 +78,7 @@
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tagBase>https://svn.apache.org/repos/asf/maven/skins/tags</tagBase>
+ <arguments>-Prc,run-its,reporting</arguments>
</configuration>
</plugin>
</plugins>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment