Hi list,

I know the query that follows isn't a core question about geotools but
since it it about building gt and gt projects I hope it's ok to post
it here...

Is it just me or do others find maven tiresome sometimes ?  I've spent
a while trying to work out how to reduce the volume of downloads when
I'm just building something that I've made some trivial changes to.
But as far as I can work out, the only easy options seem to be all or
nothing (-o for offline mode).  Is that right ?

Tips on cheat sheets / examples etc. for using maven more economically
would be most welcome...

Don't get me wrong - I can see that the maven concept is very clever -
but when I'm sitting here watching it spend ages checking itself,
downloading the plexus stuff *yet again*, then going through the
endless pom->pom->pom transitive trail before *finally* getting to my
code, I feel sorely tempted to go back to old-school methods.

<cathartic rant>
I wasted a couple of hours yesterday trying to work out why adding
log4j to my very very basic geotools / swing app was generating so
much pain.  I finally worked out it was because the all-or-nothing
maven process wanted java messaging suite on my system but couldn't
get it because it's a sun jar.  It's also a JEE tool (my app is only
SE), isn't available for Mac (my development platform) and isn't
required for anything I need to do with log4j...  In the end I learned
how to exclude dependencies in the pom, so that was something I
suppose, but it left me wondering if I wouldn't have been better off
just building log4j myself and bunging the jar into my project.
</cathartic rant>

Sorry for the word length...  I feel better now :)

Michael

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to