Re: Running maven shade on a preexisting jar

2014-07-07 Thread james northrup
MG: sure or http://en.wikipedia.org/wiki/Java_Decompiler On Mon, Jul 7, 2014 at 4:13 PM, Martin Gainty wrote: > > > > From: northrup.ja...@gmail.com > > Date: Mon, 7 Jul 2014 14:31:31 -0700 > > Subject: Re: Running maven shade on a preexisting jar > > To: users@maven.apache.org > > > > shade is

RE: Running maven shade on a preexisting jar

2014-07-07 Thread Martin Gainty
> From: northrup.ja...@gmail.com > Date: Mon, 7 Jul 2014 14:31:31 -0700 > Subject: Re: Running maven shade on a preexisting jar > To: users@maven.apache.org > > shade is a uber jar plugin. there are 3 uber jar plugins that matter, > shade, maven-assembly, and proguard. > > for beginners: > all

Re: Running maven shade on a preexisting jar

2014-07-07 Thread james northrup
shade is a uber jar plugin. there are 3 uber jar plugins that matter, shade, maven-assembly, and proguard. for beginners: all of them work more or less by merging a project into a single new jar just reading the pom dependencies. maven assembly does the least work. good for quick jobs shade-p

Re: Running maven shade on a preexisting jar

2014-07-07 Thread Dan Tran
this is just guess 1. create jar project with no source 2. hook up maven-dependency-plugin to unpack your jar into target/classes 3. hook up maven-shade-plugin to massage your target/classes Good luck -D On Mon, Jul 7, 2014 at 2:15 PM, Robert James wrote: > How do I run Maven Shade on a

Re: Running maven shade on a preexisting jar

2014-07-07 Thread Robert James
How do I run Maven Shade on a standalone jar (ie with no sources to build from)? Please realize that I'm a beginner to Maven. On 7/7/14, james northrup wrote: > hi shade can possibly juxtapose jar deps diffrently from one build to the > next in my experience. if you think you are having collision

Re: Running maven shade on a preexisting jar

2014-07-07 Thread james northrup
hi shade can possibly juxtapose jar deps diffrently from one build to the next in my experience. if you think you are having collisions you should probably do 2 things 1) use on the older jar from the older to avoid the collision 2) see if proguard fixes what shade breaks, if shade stays broken

Running maven shade on a preexisting jar

2014-07-07 Thread Robert James
I have a jar that I need to shade - that is, change the name of many of the internal classes (to avoid conflicts with another jar) except for a few classes which remain exposed. The jar is already built, source is not at hand. How can I use maven shade to shade that jar? (Disclaimer: I'm a maven

Re: About maven lifecycles

2014-07-07 Thread Stephen Connolly
See my answer here for some of the issues: http://stackoverflow.com/questions/12433120/creating-a-new-phase/12480505#12480505 On 7 July 2014 11:34, Eric Cornely wrote: > Hello, > > I have a few questions about maven lifecycles that you can probably answer. > > I see many articles about modifyin

About maven lifecycles

2014-07-07 Thread Eric Cornely
Hello, I have a few questions about maven lifecycles that you can probably answer. I see many articles about modifying the default lifecycle where people change the associated plugin goal of a certain phase by an other. Would it be possible to create a completely new lifecycle with phases that h