Issue Details (XML | Word | Printable)

Key: MOJO-228
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Torsten Curdt
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Mojo

Maven MiniJar Plugin to mimimize dependency jars

Created: 09/Jan/06 08:46 PM   Updated: 28/Mar/06 07:42 PM
Component/s: _Plugin Submission
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. File file.diff (2 kB)
2. File maven-minijar-plugin.tgz (12 kB)


Complexity: Intermediate



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Brian Fox added a comment - 09/Jan/06 09:34 PM
Code, license and site seem to be in order. I committed the code to the sandbox. There seems to be a pathing error when I try to run it: (tried 2.0 and 2.0.1)
[INFO] failed to process jar

Embedded error: E:\mojo\mojo\dependency-maven-plugin\target\E:\mojo\mojo\depende
ncy-maven-plugin\target\dependency-maven-plugin-1.1-SNAPSHOT-minimal.jar-minimal
.jar (The filename, directory name, or volume label syntax is incorrect)


Torsten Curdt added a comment - 10/Jan/06 03:49 AM
Was a sloppy file path handling and therefor a unix/windows issue. Please apply the fix and try again.

Brian Fox added a comment - 10/Jan/06 09:16 AM
Patch applied and it works now. I'll deploy a snapshot version and the site.

Brian Fox added a comment - 10/Jan/06 07:05 PM
It seems to work ok in most cases. I did have a few wierd instances where it returned empty jars when I didn't think it should. The question is how this can be used in production? In order for it to work for a war, it seems like these jars need to be substituted for the full size ones so they get packaged. In this case, it would probably make sense to specify which jars you wanted to minimize and include.