Maven 1.x UberJar Plugin

support properties to include jars

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    1

Description

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

Activity

Hide
Joerg Schaible added a comment -

plugin.jelly.diff supporting uberjar.bundle

Show
Joerg Schaible added a comment - plugin.jelly.diff supporting uberjar.bundle
Hide
Joerg Schaible added a comment -

Forgot to reference MPUBERJAR-1.

Show
Joerg Schaible added a comment - Forgot to reference MPUBERJAR-1.
Hide
Brett Porter added a comment -

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

Show
Brett Porter added a comment - applied, in reverse. Set <uberjar.bundle>false</uberjar.bundle> to exclude. This retains existing behaviour.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
5m
Original Estimate - 5 minutes
Remaining:
5m
Remaining Estimate - 5 minutes
Logged:
Not Specified
Time Spent - Not Specified