It is "normal". Continuum use maven API and Maven API search settings.xml under 
current_dir/conf/ and ${user.home}/.m2/

current_dir is equals it $M2_HOME when you run mvn and 
$CONTINUUM_HOME/bin/linux if you run the continuum linux starter

Emmanuel

alexsil a écrit :
I'm using continuum 1.0.3   on Linux  machine with maven 2.07 installed.
In M2_HOME/conf/settings.xml I overrided default repository information to
link our internal repository.
I've defined M2_HOME & JAVA_HOME in the shell.
When I use maven directly all is OK.
If I use Continuum I get an error. The error is that Continuum try to
download artifact from repo1.maven.org not from my internal repository.
I analysed the log and I found this:

....
INFO   | jvm 1    | 2007/10/02 16:18:20 | 2007-10-02 16:18:20,735
[WrapperSimpleAppMain] DEBUG MavenSettingsBuilder           - Building Maven
global-level settings from:
'/usr/local/continuum-1.0.3/bin/linux/conf/settings.xml'
INFO   | jvm 1    | 2007/10/02 16:18:20 | 2007-10-02 16:18:20,735
[WrapperSimpleAppMain] DEBUG MavenSettingsBuilder           - Building Maven
user-level settings from: '/home/admin/.m2/settings.xml'
INFO   | jvm 1    | 2007/10/02 16:18:20 | 2007-10-02 16:18:20,747
[WrapperSimpleAppMain] INFO  ContinuumBuildExecutor:maven2  - Resolved the
executable 'mvn' to '/usr/local/maven/bin/mvn'.
....

Substantially, Continumm recognize mvn executable but not settings.xml under
M2_HOME/conf. It searches settings.xml only in the above path.

Is this OK or is e bug ????  (I prefere use only M2_HOME\conf\settings.xml
instead to duplicate the file)

Thanks in advance
Alex


Reply via email to