Compiling error with Maven Ant Tasks, not Maven

2011-09-09 Thread Benoît Thiébault
I everyone, I am using Maven Ant Tasks to call Maven to compile my code. When I compile it with Maven directly from command line, it works perfectly well. My version of Maven is: Apache Maven 3.0.3 (rNON-CANONICAL_2011-06-28_15-20_mockbuild; 2011-06-28 17:20:31+0200) But when I use Maven Ant

Re: Compiling error with Maven Ant Tasks, not Maven

2011-09-09 Thread Stephen Connolly
try turning on fork. 2011/9/9 Benoît Thiébault thieba...@artenum.com: I everyone, I am using Maven Ant Tasks to call Maven to compile my code. When I compile it with Maven directly from command line, it works perfectly well. My version of Maven is: Apache Maven 3.0.3

Re: Compiling error with Maven Ant Tasks, not Maven

2011-09-09 Thread Benoît Thiébault
Thank you for your answer, I tried that and the compilation worked. I however have plenty of warnings about invalid pom files (see below). Should I worry? [artifact:mvn] [WARNING] POM for 'org.osgi:org.osgi.core:pom:4.3.0:compile' is invalid. It will be ignored for artifact resolution. Reason: