You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ah...@apache.org on 2006/02/12 14:48:07 UTC
svn commit: r377177 - in /maven/maven-1/plugins/trunk:
plugins-parent/maven.xml plugins-site/maven.xml
Author: aheritier
Date: Sun Feb 12 05:48:06 2006
New Revision: 377177
URL: http://svn.apache.org/viewcvs?rev=377177&view=rev
Log:
Fix main site creation
Modified:
maven/maven-1/plugins/trunk/plugins-parent/maven.xml
maven/maven-1/plugins/trunk/plugins-site/maven.xml
Modified: maven/maven-1/plugins/trunk/plugins-parent/maven.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/plugins-parent/maven.xml?rev=377177&r1=377176&r2=377177&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/plugins-parent/maven.xml (original)
+++ maven/maven-1/plugins/trunk/plugins-parent/maven.xml Sun Feb 12 05:48:06 2006
@@ -1,6 +1,6 @@
<!--
/*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,20 +42,10 @@
<j:set var="executionDir" value="${basedir}" />
</j:if>
<maven:maven
- descriptor="${executionDir}/../project.xml"
+ descriptor="${executionDir}/../plugins-site/project.xml"
goals="confirm-and-deploy-site"
ignoreFailures="false"
/>
</postGoal>
-
- <goal name="confirm-and-deploy-site">
- <j:if test="${(skipQuestion == null) or not (skipQuestion == 'true')}">
- <i:ask question="Would you like to regenerate and deploy the main plugins site (y/n)?" answer="ok" default="y"/>
- <j:if test="${ok == 'y'}">
- <attainGoal name="multiproject:site"/>
- <attainGoal name="site:sshdeploy"/>
- </j:if>
- </j:if>
- </goal>
</project>
Modified: maven/maven-1/plugins/trunk/plugins-site/maven.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/plugins-site/maven.xml?rev=377177&r1=377176&r2=377177&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/plugins-site/maven.xml (original)
+++ maven/maven-1/plugins/trunk/plugins-site/maven.xml Sun Feb 12 05:48:06 2006
@@ -27,6 +27,15 @@
<attainGoal name="multiproject:site"/>
<attainGoal name="site:deploy"/>
</goal>
+ <goal name="confirm-and-deploy-site">
+ <j:if test="${(skipQuestion == null) or not (skipQuestion == 'true')}">
+ <i:ask question="Would you like to regenerate and deploy the main plugins site (y/n)?" answer="ok" default="y"/>
+ <j:if test="${ok == 'y'}">
+ <attainGoal name="multiproject:site"/>
+ <attainGoal name="site:sshdeploy"/>
+ </j:if>
+ </j:if>
+ </goal>
<postGoal name="site">
<ant:move file="${maven.docs.dest}/projects-overview.html" tofile="${maven.docs.dest}/index.html"/>
</postGoal>