struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <>
Subject Re: classpath scanner
Date Fri, 30 May 2008 21:48:42 GMT
maven-shade-plugin works fine. It took me while to get it to work due
to my maven noobness. If none object I will check in the xbean code
into xwork, with the pom modifications .


On Fri, May 30, 2008 at 2:53 PM, David Blevins <> wrote:
> On May 30, 2008, at 2:09 AM, Adam Hardy wrote:
>> Don Brown on 29/05/08 08:08, wrote:
>>> xbean-finder is already split into a common library, just it is part
>>> of the xbean project rather than commons.  From a technical level,
>>> there is no difference.
>>> The reason we want to copy the code over has less to do with the
>>> project's stability but the desire to have fewer dependencies.
>>> Don
>>> On Thu, May 29, 2008 at 4:03 PM, Al Sutton <>
>>> wrote:
>>>> How about talking to the author about splitting it into a commons
>>>> library?
>>>> This would give the usual benefits of propogating bug fixes and avoid
>>>> duplicate work on divergent code bases.
>>>> Al.
>>>> Musachy Barroso wrote:
>>>>>> It is a standalone library, used heavily by the OpenEJB and Geronimo
>>>>>> guys.
>>>>> oops.
>>>>>> Personally, I favor copying the code over and jarjar'ing the asm
>>>>>> dependency.
>> Two quick questions:
>> "jarjar'ing" the dependency? What does that mean? I hope I'm not the only
>> one who isn't hip to the lingo! I guess if I knew the context better I could
>> work it out.
>> Secondly, I was wondering about the advantages of having fewer
>> dependencies, especially in this maven era. If something's really great,
>> it's fine to depend on it, surely?
> The term comes from a tool that essentially read in the byte code and
> repackaged it.  For example changing the java package from org.objectweb.asm
> to org.apache.fooproject.asm.  There are other tools that can do it now,
> like the maven-shade-plugin, but it was the first that I'm aware of.
> The ASM guys themselves recommend repackaging their code due to the number
> of people using different versions of ASM and that some of those versions of
> incompatible.  Hibernate is a good example of this as they use a really old
> version of ASM.  As this particular library is only 40K or so you can solve
> a lot of potential headaches for users by getting it out of their way.
> -David
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

"Hey you! Would you help me to carry the stone?" Pink Floyd

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message