[
https://issues.apache.org/jira/browse/SCM-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17963156#comment-17963156
]
ASF GitHub Bot commented on SCM-241:
------------------------------------
jira-importer commented on issue #1029:
URL: https://github.com/apache/maven-scm/issues/1029#issuecomment-2964639905
**[L
Northrop](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ln)**
commented
I would like to specify options for servers, profiles and most importantly
active profiles however these settings need to override all settings specified
by the ~/.m2/settings.xml file. I hope I understand the -settings command line
option correctly in that the file specified is used instead of the
~/.m2/settings.xml file. In our case this allows the environment for the
bootstrap build to be configured differently from a developer's normal
non-bootstrap build.
> scm:bootstrap does not propogate --settings or -s command line option
> ---------------------------------------------------------------------
>
> Key: SCM-241
> URL: https://issues.apache.org/jira/browse/SCM-241
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Components: maven-plugin
> Environment: Windows XP Professional, Maven 2.0.4, mvn.bat
> Reporter: L Northrop
> Assignee: Emmanuel Venisse
> Priority: Minor
>
> Local override of settings file using either -s or --settings option on the
> DOS command line is not propogated to build. For example
> mvn --settings my_settings.xml scm:bootstrap "-DcheckoutDirectory=%WKDIR%"
> "-DworkingDirectory=%WKDIR%"
> -DconnectionUrl=scm:cvs:pserver:%CVS_USERNAME%:@%CVS_SERVER%:%CVS_ROOT%:%CVS_MODULE%
> -Dgoals=%BUILD_GOALS% -Dtag=%CVS_BRANCH%
> Following scm:bootstrap checkout the subsequent build is not picking up the
> settings from the specified settings file.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)