Sorry for the late reply, Maven traffic is a bit to much for me. I did want
to chime in though that I think the CXF build gives a real good example of
how to use the Shade plugin:

http://fisheye6.cenqua.com/browse/celtixfire/trunk/distribution/bundle/pom.xml?r=HEAD

I also wrote a custom transformer for CXF which merges various Spring.xmlfiles:

http://fisheye6.cenqua.com/browse/celtixfire/branches/headerwork/buildtools/src/main/java/org/apache/cxf/maven/PluginTransformer.java?r=HEAD

I realize its no substitute for documentation, but its better than
nothing... :-)

- Dan


On 6/15/07, Jason van Zyl <[EMAIL PROTECTED]> wrote:


On 15 Jun 07, at 8:04 AM 15 Jun 07, Evan Worley wrote:

> I agree on the lacking documentation, when I saw this thread I did
> a google
> search on "shade maven plugin" and was unable to find out what the
> plugin
> does.  Though to be fair I spent no more than 2 minutes searching.
>

Lots of plugins "kinda lack documention" which is why I put it at
Mojo. If it were to be released here it would automatically have to
pass the plugin documentation check. In short it's a high performance
JAR aggregator which the ability mangle any class references.
Generally for the purpose of leaving public APIs intact and mangling
the rest: a poor mans enforced modularity.

> On 6/15/07, Cabasson Denis <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> > -----Message d'origine-----
>> > De : Brett Porter [mailto:[EMAIL PROTECTED]
>> > Envoyé : vendredi 15 juin 2007 07:10
>> > À : Maven Developers List
>> > Objet : Re: What's the deal with the shade plugin?
>> >
>> >
>> > On 15/06/2007, at 3:02 PM, Jason van Zyl wrote:
>> >
>> > >
>> > > On 14 Jun 07, at 9:33 PM 14 Jun 07, Brett Porter wrote:
>> > >
>> > >> Hi,
>> > >>
>> > >> Took a look at this, and I see the shade plugin JIRA was
>> > created with
>> > >> the maven defaults for notifications and permissions, not
>> > mojos where
>> > >> it currently lives in the sandbox.
>> > >>
>> > >
>> > > That was my ruby script for creating projects that just
>> default to
>> > > Maven settings.
>> > >
>> > >> Is the intent to move it into this project, or was the JIRA
>> > >> project created incorrectly?
>> > >>
>> > >
>> > > Yup.
>> > >
>> > >> Given it is a required part of the build now, and very useful in
>> > >> general, I'd love to see it brought out of it's state of alpha-
>> > >> ness and included in our stable of plugins. Thoughts?
>> > >>
>> > >
>> > > Sure. Mauro, Dan, and myself have worked on it so we'd have to
>> get
>> > > a CLA for Mauro and then it's all good.
>> >
>> > Cool. Mauro is an excalibur committer, so no need.
>>
>> Just a user +1 here, but shader seems to be doing some pretty
>> convenient
>> stuff, and it's kinda lacking documentation....
>>
>> Would love to add it to some of my builds, but for now, I just can't
>> figure out how it is working.
>>
>> Denis.
>>
>> >
>> > - Brett
>> >
>> >
>> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
----------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog

Reply via email to