[ http://jira.codehaus.org/browse/CONTINUUM-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brett Porter updated CONTINUUM-1624: ------------------------------------ Fix Version/s: 1.x can you add -X to the Maven options to see what file it is trying to load? Are you using any profiles? > User settings.xml is ignored when run on tomcat > ----------------------------------------------- > > Key: CONTINUUM-1624 > URL: http://jira.codehaus.org/browse/CONTINUUM-1624 > Project: Continuum > Issue Type: Bug > Components: Integration - Maven 2 > Affects Versions: 1.1 > Environment: Fedora Core 6, Maven 2.0.7, JDK 1.6 > Reporter: Johan Andrén > Fix For: 1.x > > > We have set up continuum to run as a webapp on our development tomcat server. Tomcat is run as the user 'tomcat' which has a homedirectory at '/home/tomcat' in that home directory we have created '.m2/settings.xml' which redirects maven through our local proxy. > The settings works fine with maven2 when run as the tomcat user in a shell but when run through continuum we get an artifact resolution error which seems to indicate that the central and snapshots directories specified in settings.xml are not used. > This is the error: > "Missing artifact trying to build the POM. Check that its parent POM is available or add it first in Continuum." > This is the relevant part of our settings.xml: > > default > > > central > http://smith:9000/artifactory/repo > > false > > > > snapshots > http://smith:9000/artifactory/repo > > false > > > > > > central > http://smith:9000/artifactory/repo > > false > > > > snapshots > http://smith:9000/artifactory/repo > > false > > > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira