Copy your settings.xml to \bin\linux\conf -----Original Message----- From: Christian Mouttet [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 11:47 AM To: users@maven.apache.org Subject: Fwd: Continuum & Maven 2 not using settings.xml
no ideas? ---------- Weitergeleitete Nachricht ---------- Subject: Continuum & Maven 2 not using settings.xml Date: Montag, 30. Januar 2006 10:46 From: Christian Mouttet To: users@maven.apache.org Hello everybody, on my Linux machine I have jdk-1.5, maven-2.0.1 and continuum-1.0.2 installed. With adding any M2-Project I run into trouble: The configuration file settings.xml isn't used by Maven when called by Continuum. I have tried quite a lot with help of Emmanuel - thank's for that again. At last he wrote that "all settings loading is done by maven api" (http://jira.codehaus.org/browse/CONTINUUM-488). Here is my scenario: - user for Continuum - ~continuum/.profile: export ANT_HOME=/opt/ant export MAVEN_HOME=/opt/maven-1.0 export M2_HOME=/opt/maven-2.0.1 export JAVA_HOME=/opt/jdk1.5.0_02 export PATH=/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:\ /bin:$ANT_HOME/bin:$MAVEN_HOME/bin:$M2_HOME/bin:$JAVA_HOME/bin - ~: 12290 [Thread-1] INFO org.apache.maven.scm.manager.ScmManager - Executing: cvs -f -q update -d 12291 [Thread-1] INFO org.apache.maven.scm.manager.ScmManager - Working directory: /opt/continuum-1.0.2/bin/linux/../../apps/continuum/ working-directory/7 12291 [Thread-1] DEBUG org.apache.maven.scm.manager.ScmManager - Working directory: /opt/continuum-1.0.2/bin/linux/../../apps/continuum/ working-directory/7 ... 12291 [Thread-1] DEBUG org.apache.maven.scm.manager.ScmManager - Command line: cvs -f -q update -d 13004 [Thread-1] INFO org.apache.maven.continuum.execution.ContinuumBuildExecutor:ant - Resolved the executable 'ant' to '/opt/ant/bin/ant'. 13011 [Thread-1] INFO org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven-1 - Resolved the executable 'maven' to '/opt/maven-1.0/bin/maven'. 13202 [Thread-1] DEBUG org.apache.maven.settings.MavenSettingsBuilder - Building Maven global-level settings from: '/opt/maven-2.0.1/conf/settings.xml' 13202 [Thread-1] DEBUG org.apache.maven.settings.MavenSettingsBuilder - Building Maven user-level settings from: '/home/continuum/.m2/settings.xml' 13451 [Thread-1] ERROR org.apache.maven.continuum.execution.maven.m2.MavenBuilderHelper - Cannot build maven project from /opt/continuum-1.0.2/bin/linux/../../apps/continuum/working-directory/7/pom. xml. ... from the specified remote repositories: central (http://repo1.maven.org/maven2) ... Caused by: java.net.UnknownHostException: repo1.maven.org - DNS for the internet is done by our proxy server. This server is configured correctly in settings.xml. Starting mvn from command line works properly. Any other ideas? Regards -chris ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. [EMAIL PROTECTED] ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ------------------------------------------------------- -- IT2media GmbH & Co. KG Geschäftsstelle München Kontakt: Fürstenrieder Straße 265, 81377 München Postfach 70 08 40, 81308 München Telefon: +49/(0)89/74126-399 Telefax: +49/(0)89/74126-201 mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]