continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (CONTINUUM-1624) User settings.xml is ignored when run on tomcat
Date Wed, 02 Apr 2008 04:48:58 GMT

     [ 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:
>     <profile>
>             <id>default</id>
>             <repositories>
>                 <repository>
>                     <id>central</id>
>                     <url>http://smith:9000/artifactory/repo</url>
>                     <snapshots>
>                         <enabled>false</enabled>
>                     </snapshots>
>                 </repository>
>                 <repository>
>                     <id>snapshots</id>
>                     <url>http://smith:9000/artifactory/repo</url>
>                     <releases>
>                         <enabled>false</enabled>
>                     </releases>
>                 </repository>
>             </repositories>
>             <pluginRepositories>
>                 <pluginRepository>
>                     <id>central</id>
>                     <url>http://smith:9000/artifactory/repo</url>
>                     <snapshots>
>                         <enabled>false</enabled>
>                     </snapshots>
>                 </pluginRepository>
>                 <pluginRepository>
>                     <id>snapshots</id>
>                     <url>http://smith:9000/artifactory/repo</url>
>                     <releases>
>                         <enabled>false</enabled>
>                     </releases>
>                 </pluginRepository>
>             </pluginRepositories>
>         </profile>

-- 
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

       

Mime
View raw message