Author: hboutemy Date: Thu May 12 21:24:43 2016 New Revision: 1743571 URL: http://svn.apache.org/viewvc?rev=1743571&view=rev Log: [MPOM-120] attach site descriptor only for pom packaging
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=1743571&r1=1743570&r2=1743571&view=diff ============================================================================== --- maven/pom/trunk/asf/pom.xml (original) +++ maven/pom/trunk/asf/pom.xml Thu May 12 21:24:43 2016 @@ -302,22 +302,29 @@ under the License. </execution> </executions> </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <executions> - <execution> - <id>attach-descriptor</id> - <goals> - <goal>attach-descriptor</goal> - </goals> - </execution> - </executions> - </plugin> </plugins> </build> <profiles> + <profile> + <id>pom-packaging</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <executions> + <execution> + <id>attach-descriptor</id> + <goals> + <goal>attach-descriptor</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> <!-- START SNIPPET: release-profile --> <profile> <id>apache-release</id>