commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1744133 - /commons/proper/weaver/trunk/modules/privilizer/weaver/pom.xml
Date Mon, 16 May 2016 20:48:19 GMT
Author: mbenson
Date: Mon May 16 20:48:18 2016
New Revision: 1744133

URL: http://svn.apache.org/viewvc?rev=1744133&view=rev
Log:
move shading to basic profile

Modified:
    commons/proper/weaver/trunk/modules/privilizer/weaver/pom.xml

Modified: commons/proper/weaver/trunk/modules/privilizer/weaver/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/modules/privilizer/weaver/pom.xml?rev=1744133&r1=1744132&r2=1744133&view=diff
==============================================================================
--- commons/proper/weaver/trunk/modules/privilizer/weaver/pom.xml (original)
+++ commons/proper/weaver/trunk/modules/privilizer/weaver/pom.xml Mon May 16 20:48:18 2016
@@ -85,6 +85,68 @@ under the License.
           <artifactId>asm-analysis</artifactId>
         </dependency>
       </dependencies>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-shade-plugin</artifactId>
+            <version>2.1</version>
+            <executions>
+              <execution>
+                <id>shade</id>
+                <goals>
+                  <goal>shade</goal>
+                </goals>
+                <configuration>
+                  <minimizeJar>true</minimizeJar>
+                  <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                  <artifactSet>
+                    <includes>
+                      <include>org.apache.commons:commons-lang3</include>
+                      <include>commons-io:commons-io</include>
+                      <include>org.ow2.asm:*</include>
+                    </includes>
+                  </artifactSet>
+                  <relocations>
+                    <relocation>
+                      <pattern>org.apache.commons.lang3.</pattern>
+                      <shadedPattern>org.apache.commons.weaver.privilizer._lang3.</shadedPattern>
+                    </relocation>
+                    <relocation>
+                      <pattern>org.apache.commons.io.</pattern>
+                      <shadedPattern>org.apache.commons.weaver.privilizer._io.</shadedPattern>
+                    </relocation>
+                    <relocation>
+                      <pattern>org.objectweb.asm.</pattern>
+                      <shadedPattern>org.apache.commons.weaver.privilizer._asm.</shadedPattern>
+                    </relocation>
+                  </relocations>
+                  <filters>
+                    <filter>
+                      <artifact>org.apache.commons:commons-lang3</artifact>
+                      <excludes>
+                        <exclude>META-INF/**</exclude>
+                      </excludes>
+                    </filter>
+                    <filter>
+                      <artifact>commons-io:commons-io</artifact>
+                      <excludes>
+                        <exclude>META-INF/**</exclude>
+                      </excludes>
+                    </filter>
+                    <filter>
+                      <artifact>org.ow2.asm:*</artifact>
+                      <excludes>
+                        <exclude>META-INF/**</exclude>
+                      </excludes>
+                    </filter>
+                  </filters>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
     </profile>
     <profile>
       <id>dev</id>
@@ -155,64 +217,6 @@ under the License.
         </configuration>
       </plugin>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-        <version>2.1</version>
-        <executions>
-          <execution>
-            <id>shade</id>
-            <goals>
-              <goal>shade</goal>
-            </goals>
-            <configuration>
-              <minimizeJar>true</minimizeJar>
-              <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
-              <artifactSet>
-                <includes>
-                  <include>org.apache.commons:commons-lang3</include>
-                  <include>commons-io:commons-io</include>
-                  <include>org.ow2.asm:*</include>
-                </includes>
-              </artifactSet>
-              <relocations>
-                <relocation>
-                  <pattern>org.apache.commons.lang3.</pattern>
-                  <shadedPattern>org.apache.commons.weaver.privilizer._lang3.</shadedPattern>
-                </relocation>
-                <relocation>
-                  <pattern>org.apache.commons.io.</pattern>
-                  <shadedPattern>org.apache.commons.weaver.privilizer._io.</shadedPattern>
-                </relocation>
-                <relocation>
-                  <pattern>org.objectweb.asm.</pattern>
-                  <shadedPattern>org.apache.commons.weaver.privilizer._asm.</shadedPattern>
-                </relocation>
-              </relocations>
-              <filters>
-                <filter>
-                  <artifact>org.apache.commons:commons-lang3</artifact>
-                  <excludes>
-                    <exclude>META-INF/**</exclude>
-                  </excludes>
-                </filter>
-                <filter>
-                  <artifact>commons-io:commons-io</artifact>
-                  <excludes>
-                    <exclude>META-INF/**</exclude>
-                  </excludes>
-                </filter>
-                <filter>
-                  <artifact>org.ow2.asm:*</artifact>
-                  <excludes>
-                    <exclude>META-INF/**</exclude>
-                  </excludes>
-                </filter>
-              </filters>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>clirr-maven-plugin</artifactId>
         <configuration>



Mime
View raw message