You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2010/09/24 16:46:21 UTC

svn commit: r1000890 - /maven/plugins/trunk/maven-plugins/pom.xml

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>