maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1081942 - /maven/plugins/branches/MSITE-560/pom.xml
Date Tue, 15 Mar 2011 21:05:31 GMT
Author: hboutemy
Date: Tue Mar 15 21:05:31 2011
New Revision: 1081942

URL: http://svn.apache.org/viewvc?rev=1081942&view=rev
Log:
used provided scope for maven-compat to be compatible with Maven 2.2.0 (thanks to a nice idea
from Benjamin)

Modified:
    maven/plugins/branches/MSITE-560/pom.xml

Modified: maven/plugins/branches/MSITE-560/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/branches/MSITE-560/pom.xml?rev=1081942&r1=1081941&r2=1081942&view=diff
==============================================================================
--- maven/plugins/branches/MSITE-560/pom.xml (original)
+++ maven/plugins/branches/MSITE-560/pom.xml Tue Mar 15 21:05:31 2011
@@ -162,7 +162,7 @@ under the License.
   </contributors>
 
   <prerequisites>
-    <maven>2.2.2-RC1-SNAPSHOT</maven><!-- see MNG-5043 -->
+    <maven>2.2.0</maven>
   </prerequisites>
 
   <scm>
@@ -212,6 +212,7 @@ under the License.
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-compat</artifactId>
       <version>${mavenVersion}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>
@@ -503,6 +504,33 @@ under the License.
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-shade-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>shade</goal>
+            </goals>
+            <configuration>
+              <artifactSet>
+                <includes>
+                  <include>org.apache.maven.reporting:maven-reporting-api</include>
+                </includes>
+              </artifactSet>
+              <filters>
+                <filter>
+                  <artifact>org.apache.maven.reporting:maven-reporting-api</artifact>
+                  <includes><!-- class not included in maven-reporting-api included
in Maven 2.2 -->
+                    <include>**/MavenMultiPageReport.class</include>
+                  </includes>
+                </filter>
+              </filters>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 



Mime
View raw message