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 Benoît Thiébault
. for project org.osgi:org.osgi.core at /home/ben/.m2/repository/org/osgi/org.osgi.core/4.3.0/org.osgi.core-4.3.0.pom Le vendredi 09 septembre 2011 à 16:51 +0100, Stephen Connolly a écrit : try turning on fork. 2011/9/9 Benoît Thiébault thieba...@artenum.com: I everyone, I am using Maven Ant Tasks

Re: Error 502 using mvn deploy

2010-05-16 Thread Benoît Thiébault
, Benoît Thiébault a écrit : Yes. It's too bad because I preferred Artifactory (looks very nice and seems simpler to use). Le 15 mai 2010 à 16:45, Yoav Landman a écrit : Do you still run an Apache frontend? 2010/5/15 Benoît Thiébault thieba...@artenum.com Yes I did. Maybe I just got

Re: Error 502 using mvn deploy

2010-05-15 Thread Benoît Thiébault
Thiébault thieba...@artenum.com I switched from Artifactory to Nexus and it solved the problem... Thanks for your help Le 14 mai 2010 à 16:47, Benoît Thiébault a écrit : The error log says : proxy: pass request body failed to host:port from myIP Le 14 mai 2010 à 16:31, Brian Fox a écrit

Re: Error 502 using mvn deploy

2010-05-15 Thread Benoît Thiébault
Yes. It's too bad because I preferred Artifactory (looks very nice and seems simpler to use). Le 15 mai 2010 à 16:45, Yoav Landman a écrit : Do you still run an Apache frontend? 2010/5/15 Benoît Thiébault thieba...@artenum.com Yes I did. Maybe I just got something wrong

Error 502 using mvn deploy

2010-05-14 Thread Benoît Thiébault
Hi everyone, I have installed a Maven repository and I am trying to deploy my project on it. My pom generates both the jar and the jar-with-dependencies files. When I use the web interface of the maven repository (its Artifactory in fact), I can upload my jars without any problem. However,

Re: Error 502 using mvn deploy

2010-05-14 Thread Benoît Thiébault
The error log says : proxy: pass request body failed to host:port from myIP Le 14 mai 2010 à 16:31, Brian Fox a écrit : 502 means a timeout between the reverse proxy and the repo manager behind it. On Fri, May 14, 2010 at 3:33 AM, Benoît Thiébault thieba...@artenum.com wrote: Hi everyone

Re: Error 502 using mvn deploy

2010-05-14 Thread Benoît Thiébault
I switched from Artifactory to Nexus and it solved the problem... Thanks for your help Le 14 mai 2010 à 16:47, Benoît Thiébault a écrit : The error log says : proxy: pass request body failed to host:port from myIP Le 14 mai 2010 à 16:31, Brian Fox a écrit : 502 means a timeout between

Accessing resources

2010-04-06 Thread Benoît Thiébault
Hi everyone, This is certainly a very dumb question but I have trouble accessing my resources that are located in the src/resource directory. In my code, to load an image, I do: ImageIO.read(getClass().getResourceAsStream(/myImage.png)) When Maven packages my software, it puts everything in

Re: Accessing resources

2010-04-06 Thread Benoît Thiébault
to include its content when packaging the JAR. This is why I tried to comply with the convention and moved my files to src/main/resources. Benoît Le 6 avr. 2010 à 15:16, maven apache a écrit : 2010/4/6 Benoît Thiébault thieba...@artenum.com Hi everyone, This is certainly a very dumb

Re: Accessing resources

2010-04-06 Thread Benoît Thiébault
folder then class running in eclipse can see it. rgds, Markku On 6.4.2010 16:39, Benoît Thiébault wrote: :-) Sorry that I have not been clear. Let me detail a bit further. I have a project that I will call MyProjectA. It is structured according to Maven conventions: MyProjectA

Re: Executing with Maven

2010-04-03 Thread Benoît Thiébault
and antrun plugins. Thank you for the tip Ben Le 3 avr. 2010 à 09:45, Baptiste MATHUS a écrit : Hi Benoît, Answers inline. Le 2 avril 2010 23:37, Benoît Thiébault thieba...@artenum.com a écrit : With Maven, I now successfully manage dependencies, generate the code and the javadoc

Executing with Maven

2010-04-02 Thread Benoît Thiébault
Hi everyone, I am progressively converting a project from Ant to Maven and I'm a bit confused about which direction to take. Before using Maven, I had an Ant script that could : - Compile the code (libraries dependencies where dealt with manually) - Run the different executables (and setting

Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Benoît Thiébault
Hello everyone, I am currently reading the very good Maven book from Nicolas De loof and Arnaud Héritier (written in French) and I have decided to convert one of my test projects to Maven. Unfortunately, I already have a problem :-). My software depends on an open source software, jlibeps

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Benoît Thiébault
Nexus and once you've set it up, then deploy on it the missing jar and all your internal Maven projects will see it now !!! Regards Jeff MAURY 2010/3/30 Benoît Thiébault thieba...@artenum.com Hello everyone, I am currently reading the very good Maven book from Nicolas De loof and Arnaud

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Benoît Thiébault
-of-central/). The best way IMHO would be to propose the artifact for upload in central. Cheers, Nicolas 2010/3/30 Wendy Smoak wsm...@gmail.com 2010/3/30 Benoît Thiébault thieba...@artenum.com: My software depends on an open source software, jlibeps ( http://jlibeps.sourceforge.net/), but I