[
https://jira.codehaus.org/browse/ARCHETYPE-448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=333592#comment-333592
]
Archimedes Trajano commented on ARCHETYPE-448:
----------------------------------------------
The work around I have is to set <settingsFile> and make a copy of the settings
file I have on the build server again.
> Archetype tests do not respect -s parameter
> -------------------------------------------
>
> Key: ARCHETYPE-448
> URL: https://jira.codehaus.org/browse/ARCHETYPE-448
> Project: Maven Archetype
> Issue Type: Bug
> Components: Plugin
> Affects Versions: 2.2
> Environment: Windows
> Hudson
> Maven 3.0
> Reporter: Archimedes Trajano
>
> When executing builds in hudson we can set a specific settings.xml rather
> than the global default. This is done through the -s mechanism and when I
> checked "help:active-profiles" it shows things correctly on the project
> itself.
> However, when I do a mvn install it breaks because my archetype is looking
> for a dependency that is defined in an internal repository.
> Doing it using the ~/.m2/settings.xml file works properly though.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira