You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2020/01/16 14:34:23 UTC

[tomcat-jakartaee-migration] branch master updated: Add back shade plugin

This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat-jakartaee-migration.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b17c00  Add back shade plugin
8b17c00 is described below

commit 8b17c008b8f16d8438dc222f9e62f1f6d2b57472
Author: remm <re...@apache.org>
AuthorDate: Thu Jan 16 15:34:12 2020 +0100

    Add back shade plugin
    
    Generate "fat" JAR separate from the main JAR, which can then be used by
    the assembly plugin. Simplify pom a bit.
---
 pom.xml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 4e3679a..cf7f18b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -82,7 +82,6 @@
     </resources>   
     <plugins>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
         <configuration>
           <archive>
@@ -105,9 +104,7 @@
           </descriptors>
         </configuration>
       </plugin>
-      <!-- Optional shade with BCEL
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-shade-plugin</artifactId>
         <executions>
           <execution>
@@ -116,12 +113,13 @@
               <goal>shade</goal>
             </goals>
             <configuration>
+              <shadedArtifactAttached>true</shadedArtifactAttached>
+              <minimizeJar>true</minimizeJar>
               <createDependencyReducedPom>false</createDependencyReducedPom>
             </configuration>
           </execution>
         </executions>
       </plugin>
-      -->
     </plugins>
   </build>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org