You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ma...@apache.org on 2007/11/19 20:17:05 UTC

svn commit: r596401 - /maven/components/branches/maven-2.0.x/maven-core/pom.xml

Author: mauro
Date: Mon Nov 19 11:17:05 2007
New Revision: 596401

URL: http://svn.apache.org/viewvc?rev=596401&view=rev
Log:
Updated shade plugin to use *same* configuration as 2.1 branch - bar the shaded name

Modified:
    maven/components/branches/maven-2.0.x/maven-core/pom.xml

Modified: maven/components/branches/maven-2.0.x/maven-core/pom.xml
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-core/pom.xml?rev=596401&r1=596400&r2=596401&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-core/pom.xml (original)
+++ maven/components/branches/maven-2.0.x/maven-core/pom.xml Mon Nov 19 11:17:05 2007
@@ -1,26 +1,28 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
 <!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use t
-his file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use t
+  his file except in compliance
+  with the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
 -->
 
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <parent>
     <artifactId>maven</artifactId>
     <groupId>org.apache.maven</groupId>
@@ -43,8 +45,21 @@
             </goals>
             <configuration>
               <finalName>maven-${pom.version}-uber</finalName>
+              <createDependencyReducedPom>
+                false
+              </createDependencyReducedPom>
+              <keepDependenciesWithProvidedScope>
+                true
+              </keepDependenciesWithProvidedScope>
+              <transformers>
+                <transformer
+                  implementation="org.codehaus.mojo.shade.resource.ComponentsXmlResourceTransformer" />
+              </transformers>
               <artifactSet>
                 <excludes>
+                  <exclude>
+                    org.codehaus.plexus:plexus-component-api
+                  </exclude>
                   <exclude>classworlds:classworlds</exclude>
                   <exclude>junit:junit</exclude>
                   <exclude>jmock:jmock</exclude>
@@ -55,8 +70,12 @@
                 <relocation>
                   <pattern>org.codehaus.plexus.util</pattern>
                   <excludes>
-                    <exclude>org.codehaus.plexus.util.xml.Xpp3Dom</exclude>
-                    <exclude>org.codehaus.plexus.util.xml.pull.*</exclude>
+                    <exclude>
+                      org.codehaus.plexus.util.xml.Xpp3Dom
+                    </exclude>
+                    <exclude>
+                      org.codehaus.plexus.util.xml.pull.*
+                    </exclude>
                   </excludes>
                 </relocation>
               </relocations>