Issue Details (XML | Word | Printable)

Key: MPUBERJAR-4
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Brett Porter
Reporter: Joerg Schaible
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x UberJar Plugin

support properties to include jars

Created: 12/Mar/04 03:39 AM   Updated: 09/Apr/04 11:20 PM   Resolved: 09/Apr/04 11:20 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Original Estimate: 5 minutes
Original Estimate - 5 minutes
Remaining Estimate: 5 minutes
Remaining Estimate - 5 minutes
Time Spent: Not Specified
Time Spent - Not Specified

File Attachments: 1. File plugin.jelly.diff (1 kB)



 Description  « Hide

The uberjar plugin should not include any dependent jar by default (i.e. test dependencies). In my personal case I have to call an EJB and therefore a reference to the 40MB weblogic-8.1.jar. Even worse, the first call needs more than 45 minutes because it takes that long to extract all the necessary classes! So it is vital for me, that I can determin the bundled jars. The provided patch supports the properties style of other plugins:

<dependency>
...
<properties>
<uberjar.bundle>true</uberjar.bundle>
</properties>
</dependency>

Regards,
Jörg



Joerg Schaible added a comment - 12/Mar/04 03:40 AM

plugin.jelly.diff supporting uberjar.bundle


Joerg Schaible added a comment - 12/Mar/04 03:40 AM

Forgot to reference MPUBERJAR-1.


Brett Porter added a comment - 09/Apr/04 11:20 PM

applied, in reverse. Set <uberjar.bundle>false</uberjar.bundle> to exclude. This retains existing behaviour.