- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hello,
I tried to remove the compression which is activated by default in Maven2.
I added the following lines in the pom.xml of my project.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<archive>
<compress>false</compress>
</archive>
</configuration>
</plugin>
Then my Jar file size changed from 1.14 Mb to 1.49 Mb. So I think it will be OK.
Thank you
Views
Replies
Total Likes