[
https://issues.apache.org/jira/browse/SCM-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17963157#comment-17963157
]
ASF GitHub Bot commented on SCM-241:
------------------------------------
jira-importer commented on issue #1029:
URL: https://github.com/apache/maven-scm/issues/1029#issuecomment-2964639906
**[Dan
Tran](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dantran)**
commented
mvn -s settings-file scm:bootstrap works at first, but internally
scm:bootstrap also invoke a shell to run the goal but it does not include
the settings option.
Work around is to include "-s settings-file" to your %BUILD_GOALLS%
> 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)