maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1000890 - /maven/plugins/trunk/maven-plugins/pom.xml
Date Fri, 24 Sep 2010 14:46:21 GMT
Author: olamy
Date: Fri Sep 24 14:46:20 2010
New Revision: 1000890

URL: http://svn.apache.org/viewvc?rev=1000890&view=rev
Log:
attach-descriptor goal for site descriptor with maven 3 build. 

Modified:
    maven/plugins/trunk/maven-plugins/pom.xml

Modified: maven/plugins/trunk/maven-plugins/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-plugins/pom.xml?rev=1000890&r1=1000889&r2=1000890&view=diff
==============================================================================
--- maven/plugins/trunk/maven-plugins/pom.xml (original)
+++ maven/plugins/trunk/maven-plugins/pom.xml Fri Sep 24 14:46:20 2010
@@ -273,6 +273,23 @@ under the License.
             </plugin>          
           </plugins>
         </pluginManagement>
+        <plugins>
+          <!-- if releasing current pom with maven 3 site descriptor must be attached
-->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-site-plugin</artifactId>
+            <version>${sitePluginVersion}</version>
+            <inherited>false</inherited>
+            <executions>
+              <execution>
+                <id>attach-descriptor</id>
+                <goals>
+                  <goal>attach-descriptor</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>        
       </build>
                   
     </profile>     



Mime
View raw message