Re: Re : Re : A classpath issue ?

2012-02-05 Thread Stephane-3
I just found out what in the settings.xml file prevents this issue. It is the directive: true that makes the issue go away. Removing this directive from the settings.xml file triggers the exception. I wonder why.. -- View this message in context: http://maven.40175.n5.n

Re: Re : Re : A classpath issue ?

2012-02-05 Thread Stephane-3
Sorry for the late answer, I had not seen your question. I now saw it because the exact same issue showed up again a year later when running the build on a new computer. I had forgotten again to install this settings.xml file. So I just copied it again in the .m2/ directory and it now works fine

Re: Re : Re : A classpath issue ?

2010-12-12 Thread Wayne Fay
> I was using the default install of maven on the iMac and I forgot to copy the > settings.xml file I had on Linux. I guess I'm a little bit curious now about the contents of your settings.xml file... Must be a profile that does something with your spring xml file? Wayne

Re : Re : A classpath issue ?

2010-12-11 Thread Stephane-3
mistake.. Kind Regards, Stephane De : Wayne Fay [via Maven] À : Stephane-3 Envoyé le : Sam 11 décembre 2010, 7h 12min 46s Objet : Re: Re : A classpath issue ? > And, again on the iMac, if this time I don't specify the integration-test > profile on

Re: Re : A classpath issue ?

2010-12-10 Thread Wayne Fay
> And, again on the iMac, if this time I don't specify the integration-test > profile on the command line > > with the specified profile replacing the standard resources directory. > > Stranges this is happening on this OSX maven.. Run mvn -X help:effective-pom and compare the versions of EVERYTHI

Re : A classpath issue ?

2010-12-10 Thread Stephane-3
ctory. Stranges this is happening on this OSX maven.. De : Anders Hammar [via Maven] À : Stephane-3 Envoyé le : Ven 10 décembre 2010, 22h 55min 14s Objet : Re: A classpath issue ? Hmm, I now see that you say it works on Linux. Maybe the resources section outsid

Re : A classpath issue ?

2010-12-10 Thread Stephane-3
: Ven 10 décembre 2010, 22h 55min 14s Objet : Re: A classpath issue ? Hmm, I now see that you say it works on Linux. Maybe the resources section outside the profiles isn't being replaced but added to? Check the effective pom and you'll know for sure. /Anders On Fri, Dec 10, 201

Re : A classpath issue ?

2010-12-10 Thread Stephane-3
/home/stephane/dev/java/project/learnintouch/target I shall now run it on the iMac machine. De : Anders Hammar [via Maven] À : Stephane-3 Envoyé le : Ven 10 décembre 2010, 22h 55min 14s Objet : Re: A classpath issue ? Hmm, I now see that you say it works

Re: A classpath issue ?

2010-12-10 Thread Anders Hammar
Hmm, I now see that you say it works on Linux. Maybe the resources section outside the profiles isn't being replaced but added to? Check the effective pom and you'll know for sure. /Anders On Fri, Dec 10, 2010 at 22:52, Anders Hammar wrote: > That's because you haven't configured that folder in

Re: A classpath issue ?

2010-12-10 Thread Anders Hammar
That's because you haven't configured that folder in the profile. This is what you have configured: src/integration/ resources true This replaces the resources section defined outside the profiles. Execute this and check the effective pom: mvn he

Re: A classpath issue ?

2010-12-10 Thread Stephane-3
I'm running the following version of maven: stephane:learnintouch/$ mvn -version Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) Java version: 1.6.0_22 Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Default locale: fr_FR, platform encoding: MacRoman OS name: "m

Re: A classpath issue ?

2010-12-10 Thread Stephane-3
The file does exist in the source directory: stephane:learnintouch$ ll core/src/main/resources/ -rwxr-xr-x 1 stephane staff 607 9 déc 17:34 spring-data-source.xml But it is nowhere to be found in the target directory: stephane:learnintouch$ll core/target/classes/ drwxr-xr-x 3 stephane