commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcucchi...@apache.org
Subject svn commit: r1133086 - /incubator/ognl/trunk/pom.xml
Date Tue, 07 Jun 2011 16:34:20 GMT
Author: mcucchiara
Date: Tue Jun  7 16:34:20 2011
New Revision: 1133086

URL: http://svn.apache.org/viewvc?rev=1133086&view=rev
Log:
OGNL-16 - Introduced the shade plugin in order to relocate the o.a.commons package

Modified:
    incubator/ognl/trunk/pom.xml

Modified: incubator/ognl/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/pom.xml?rev=1133086&r1=1133085&r2=1133086&view=diff
==============================================================================
--- incubator/ognl/trunk/pom.xml (original)
+++ incubator/ognl/trunk/pom.xml Tue Jun  7 16:34:20 2011
@@ -188,7 +188,7 @@ limitations under the License.
     <dependency>
       <groupId>javassist</groupId>
       <artifactId>javassist</artifactId>
-      <version>3.11.0.GA</version>
+      <version>3.12.1.GA</version>
     </dependency>
   </dependencies>
 
@@ -369,6 +369,44 @@ limitations under the License.
         </plugins>
       </reporting>
     </profile>
-  </profiles>
+    <profile>
+      <id>shade</id>
+      <activation>
+        <property>
+          <name>shade</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-shade-plugin</artifactId>
+            <version>1.4</version>
 
+            <executions>
+              <execution>
+                <phase>package</phase>
+                <goals>
+                  <goal>shade</goal>
+                </goals>
+                <configuration>
+                  <artifactSet>
+                    <excludes>
+                      <exclude>javassist:javassist</exclude>
+                    </excludes>
+                  </artifactSet>
+                  <relocations>
+                    <relocation>
+                      <pattern>org.apache.commons.ognl</pattern>
+                      <shadedPattern>ognl</shadedPattern>
+                    </relocation>
+                  </relocations>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>



Mime
View raw message