RE: OutOfMemory exception when using Maven in ant

2014-02-19 Thread Ron Bets
Thanks, Regarding parameters for the ant tasks, I have looked at the docs on the Maven site. Examples but no reference (if the examples show all there is, then that's fine - I can always cruise through the sources as well). The full migration to Maven is underway but it'll be a few months

Solution for handeling many conflicts in maven dependencies.

2014-02-19 Thread Egor Pahomov
Problem: I need to combine using of many artifacts in my maven project: hbase, hadoop-client, akka, spray, netflix-curator, spark. All these artifacts depend on different versions of other artifacts: zookeper-client, protobuf, jetty, etc. I've spent 3 days just to write all excludes correctly to

Re: Solution for handeling many conflicts in maven dependencies.

2014-02-19 Thread Wayne Fay
is a problem. We excluded zookeeper from netflix-curator and hadoop, but not from hbase. So when we use all 3 artifacts we receive zookeeper from hbase, but when use only netflix-curator and hadoop we can lost needed artifacts. You should have a direct dependency on zookeeper if you are using

Re: Solution for handeling many conflicts in maven dependencies.

2014-02-19 Thread Ron Wheeler
http://blog.artifact-software.com/tech/?p=121 This describes how we solved the problem. We built libraries that had groups of related libraries aggregated into a single jar where we fixed all of the version conflicts. Then developers only have to depend on a small number of jars that have the

Re: Why does Maven fail to compile my project occasionally?

2014-02-19 Thread LevskiWeng
Wayne Fay wrote Maven calls out to your system JDK to do the compilation step. With the [ERROR] lines you provided previously, Maven is simply passing along the error that was reported by javac. I bet, if you constructed the proper javac call (which can be seen in Maven's logs if you use -X

RE: Why does Maven fail to compile my project occasionally?

2014-02-19 Thread Martin Gainty
Date: Wed, 19 Feb 2014 17:58:13 -0800 From: levskiw...@gmail.com To: users@maven.apache.org Subject: Re: Why does Maven fail to compile my project occasionally? Wayne Fay wrote Maven calls out to your system JDK to do the compilation step. With the [ERROR] lines you provided