[ajug-members] Question about dependency management.. best practices?

Gunnar Hillert gunnar at hillert.com
Sat Aug 22 01:02:43 EDT 2009


Hi,

Just my 2 cents - Having worked with Maven2 for several years now, it 
certainly has its quirks (Getting all the plugins play nice to each 
other, the complexity of multi-module projects etc). Overall though, it 
is awesome. And it became so much better over the years.
Dependencies management can be a bit 'interesting' at times, but using 
tools like Nexus or Artifactory helps a lot. Also, m2eclipse provides 
some really nice capabilities for visualizing dependencies across your 
project.

Another wonderful side-effect of Maven is its 'recomendation' towards a 
standardized project structure. These days you can check out  any 
Maven-based OSS project and you immediately feel like being at home. No 
need to 'learn' an ant script.

Cheers,

Gunnar

Jus wrote:
>
> Gradle [http://www.gradle.org/]
>
>
> On Fri, Aug 21, 2009 at 10:28 PM, Raghavendra Anahosur 
> <ranahosur at gmail.com <mailto:ranahosur at gmail.com>> wrote:
>
>     Though Maven has a learning curve, it is worth doing it. It
>     provides a repository and also enforces(you could opt not to
>     though) a uniform structure of source.
>     Have not worked on Ivy, but definitely Maven is very good.
>
>     Thanks
>     Raghu
>
>
>     On Fri, Aug 21, 2009 at 10:01 PM, Kerry Wilson
>     <kerry at allthingswilson.com <mailto:kerry at allthingswilson.com>> wrote:
>
>         For me, it's Maven all the way.
>
>         kw
>
>         Sent from my iPhone
>
>         On Aug 21, 2009, at 8:23 PM, Ramesh Rajamani
>         <rameshrajamani at hotmail.com
>         <mailto:rameshrajamani at hotmail.com>> wrote:
>
>>         I have written ant build script for Source repository,
>>         development server, testing server and production server for
>>         the entire project using normal ant which does similar thing
>>         like maven...
>>          
>>         Regards,
>>         Ramesh
>>          
>>          
>>          
>>          
>>         > Date: Fri, 21 Aug 2009 20:32:08 -0400
>>         > From: driedtoast at gmail.com <mailto:driedtoast at gmail.com>
>>         > To: ajug-members at ajug.org <mailto:ajug-members at ajug.org>
>>         > Subject: Re: [ajug-members] Question about dependency
>>         management.. best practices?
>>         >
>>         > Ivy is good for pure dependency management and allows you
>>         to use ant, etc...
>>         >
>>         > Ivy combined with a proximity server (or archiva, etc...)
>>         is a good
>>         > way to manage your libraries,
>>         > especially if you want to publish your own projects as
>>         libraries.
>>         >
>>         > Ivy is a bit quirky, but once you get the hang of it, its
>>         not too bad.
>>         > I'd rather deal with the quirks of ivy and have the freedom
>>         of ant vs maven.
>>         >
>>         > This could probably bring up a whole other debate on ivy vs
>>         maven.
>>         > Lots of people like maven and are strong evangelists for it.
>>         >
>>         > Either way, you can setup a maven repository proxy server
>>         (proximity)
>>         > internally and ivy or maven can use it.
>>         >
>>         > Your choose both do the job pretty well.
>>         >
>>         > - Dan
>>         >
>>         >
>>         >
>>         > On Fri, Aug 21, 2009 at 7:34 PM, Se Hee
>>         Lee<tosehee at gmail.com <mailto:tosehee at gmail.com>> wrote:
>>         > > We use the in-house solution using ant as a build
>>         solution, but given
>>         > > the choice, Maven is the way to go.
>>         > >
>>         > >
>>         > > On Aug 21, 2009, at 6:20 PM, Jeff Tougas wrote:
>>         > >
>>         > >> I'm working on a few projects currently which have a lot
>>         of external
>>         > >> libraries, and I'm looking for an efficient way to
>>         maintain these
>>         > >> libraries for these different projects.  I'm aware of a
>>         couple of
>>         > >> possible solutions, such as ivy, maven, and even setting
>>         up a "third
>>         > >> party libs" directory in my source control repository,
>>         but I'm
>>         > >> interested in hearing from you all what your experience
>>         has been with
>>         > >> this problem, and whether this is even much of a
>>         headache for other
>>         > >> people.
>>         > >>
>>         > >> Thanks,
>>         > >> Jeff
>>         > >>
>>         > >> _______________________________________________
>>         > >> ajug-members mailing list
>>         > >> ajug-members at ajug.org <mailto:ajug-members at ajug.org>
>>         > >> http://www.ajug.org/mailman/listinfo/ajug-members
>>         > >
>>         > >
>>         > > _______________________________________________
>>         > > ajug-members mailing list
>>         > > ajug-members at ajug.org <mailto:ajug-members at ajug.org>
>>         > > http://www.ajug.org/mailman/listinfo/ajug-members
>>         > >
>>         >
>>         > _______________________________________________
>>         > ajug-members mailing list
>>         > ajug-members at ajug.org <mailto:ajug-members at ajug.org>
>>         > http://www.ajug.org/mailman/listinfo/ajug-members
>>
>>         ------------------------------------------------------------------------
>>         Are you an untamed, bizarre or daring explorer? Find out now!
>>         Drag n' drop <http://www.ExploreMyWay.com>
>>         _______________________________________________
>>         ajug-members mailing list
>>         ajug-members at ajug.org <mailto:ajug-members at ajug.org>
>>         http://www.ajug.org/mailman/listinfo/ajug-members
>
>         _______________________________________________
>         ajug-members mailing list
>         ajug-members at ajug.org <mailto:ajug-members at ajug.org>
>         http://www.ajug.org/mailman/listinfo/ajug-members
>
>
>
>     _______________________________________________
>     ajug-members mailing list
>     ajug-members at ajug.org <mailto:ajug-members at ajug.org>
>     http://www.ajug.org/mailman/listinfo/ajug-members
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ajug-members mailing list
> ajug-members at ajug.org
> http://www.ajug.org/mailman/listinfo/ajug-members
>   




More information about the ajug-members mailing list