[ http://jira.codehaus.org/browse/CONTINUUM-488?page=comments#action_56994
]
Emmanuel Venisse commented on CONTINUUM-488:
--------------------------------------------
hmm, it works fine for me under windows.
Last possibility :
- Remove previous added line from wrapper.conf
- Add the following lines to $CONTINUUM/apps/continuum/conf/application.xml
with the correct value for the path of your global setting file:
<component>
<role>org.apache.maven.settings.MavenSettingsBuilder</role>
<implementation>org.apache.maven.settings.DefaultMavenSettingsBuilder</implementation>
<configuration>
<globalSettingsPath>PATH_TO_YOUR_SETTING_XML_FILE</globalSettingsPath>
<userSettingsPath>${user.home}/.m2/settings.xml</userSettingsPath>
</configuration>
</component>
Note: These lines must be add after line 71 in <components></components>
> Continuum will not use mirrors or alternate repositories
> --------------------------------------------------------
>
> Key: CONTINUUM-488
> URL: http://jira.codehaus.org/browse/CONTINUUM-488
> Project: Continuum
> Type: Bug
> Components: Core system
> Versions: 1.0.1
> Reporter: David Hawkins
>
>
> I can't get Continuum to use a repository other than repo1.maven.org.
> Running mvn manually for my user works fine and fetches the dependencies from
> the mirror specified in settings.xml. However, when I start continuum and it
> attempts the build, it always tries to get dependencies from repo1.maven.org.
> I have tried specifying a <mirror> and also specified my server in a
> profile/repositories/repository in settings.xml. Neither worked.
--
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