You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2011/07/03 11:22:47 UTC
svn commit: r1142409 - /maven/pom/trunk/asf/pom.xml
Author: hboutemy
Date: Sun Jul 3 09:22:47 2011
New Revision: 1142409
URL: http://svn.apache.org/viewvc?rev=1142409&view=rev
Log:
[MPOM-23] site plugin configuration for Maven 3
o added ssh wagon dependency from maven-parent MPOM-19
o added site descriptor attachement
Modified:
maven/pom/trunk/asf/pom.xml
Modified: maven/pom/trunk/asf/pom.xml
URL: http://svn.apache.org/viewvc/maven/pom/trunk/asf/pom.xml?rev=1142409&r1=1142408&r2=1142409&view=diff
==============================================================================
--- maven/pom/trunk/asf/pom.xml (original)
+++ maven/pom/trunk/asf/pom.xml Sun Jul 3 09:22:47 2011
@@ -349,6 +349,7 @@ under the License.
</build>
</profile>
<!-- END SNIPPET: release-profile -->
+
<profile>
<id>maven-3</id>
<activation>
@@ -364,9 +365,32 @@ under the License.
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0-beta-3</version>
+ <dependencies>
+ <dependency><!-- users without native scp installed need to have the ssh wagon for site deployment at ASF -->
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-ssh</artifactId>
+ <version>1.0-beta-7</version>
+ </dependency>
+ </dependencies>
</plugin>
</plugins>
</pluginManagement>
+ <!-- we need to attach the site descriptor for this pom -->
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <inherited>false</inherited>
+ <executions>
+ <execution>
+ <id>attach-descriptor</id>
+ <goals>
+ <goal>attach-descriptor</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
</build>
</profile>
</profiles>