You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "L Northrop (JIRA)" <ji...@codehaus.org> on 2006/10/02 13:59:27 UTC

[jira] Created: (MPSCM-88) scm:bootstrap does not propogate --settings or -s command line option

scm:bootstrap does not propogate --settings or -s command line option
---------------------------------------------------------------------

                 Key: MPSCM-88
                 URL: http://jira.codehaus.org/browse/MPSCM-88
             Project: maven-scm-plugin
          Issue Type: Bug
         Environment: Windows XP Professional, Maven 2.0.4, mvn.bat
            Reporter: L Northrop
            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 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

        

[jira] Updated: (SCM-241) scm:bootstrap does not propogate --settings or -s command line option

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-241?page=all ]

Emmanuel Venisse updated SCM-241:
---------------------------------

    Fix Version/s: 1.0

> scm:bootstrap does not propogate --settings or -s command line option
> ---------------------------------------------------------------------
>
>                 Key: SCM-241
>                 URL: http://jira.codehaus.org/browse/SCM-241
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>         Environment: Windows XP Professional, Maven 2.0.4, mvn.bat
>            Reporter: L Northrop
>            Priority: Minor
>             Fix For: 1.0
>
>
> 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 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

        

[jira] Moved: (SCM-241) scm:bootstrap does not propogate --settings or -s command line option

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-241?page=all ]

Lukas Theussl moved MPSCM-88 to SCM-241:
----------------------------------------

    Complexity: Intermediate
      Workflow: Maven New  (was: jira)
           Key: SCM-241  (was: MPSCM-88)
       Project: Maven SCM  (was: maven-scm-plugin)

> scm:bootstrap does not propogate --settings or -s command line option
> ---------------------------------------------------------------------
>
>                 Key: SCM-241
>                 URL: http://jira.codehaus.org/browse/SCM-241
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>         Environment: Windows XP Professional, Maven 2.0.4, mvn.bat
>            Reporter: L Northrop
>            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 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

        

[jira] Updated: (SCM-241) scm:bootstrap does not propogate --settings or -s command line option

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-241?page=all ]

Lukas Theussl updated SCM-241:
------------------------------

    Component/s: maven-plugin

> scm:bootstrap does not propogate --settings or -s command line option
> ---------------------------------------------------------------------
>
>                 Key: SCM-241
>                 URL: http://jira.codehaus.org/browse/SCM-241
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>         Environment: Windows XP Professional, Maven 2.0.4, mvn.bat
>            Reporter: L Northrop
>            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 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

        

[jira] Commented: (SCM-241) scm:bootstrap does not propogate --settings or -s command line option

Posted by "L Northrop (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-241?page=comments#action_76775 ] 
            
L Northrop commented on SCM-241:
--------------------------------

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: http://jira.codehaus.org/browse/SCM-241
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>         Environment: Windows XP Professional, Maven 2.0.4, mvn.bat
>            Reporter: L Northrop
>            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 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

        

[jira] Updated: (SCM-241) scm:bootstrap does not propogate --settings or -s command line option

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-241?page=all ]

Emmanuel Venisse updated SCM-241:
---------------------------------

    Fix Version/s:     (was: 1.0-beta-4)
                   1.0

> scm:bootstrap does not propogate --settings or -s command line option
> ---------------------------------------------------------------------
>
>                 Key: SCM-241
>                 URL: http://jira.codehaus.org/browse/SCM-241
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>         Environment: Windows XP Professional, Maven 2.0.4, mvn.bat
>            Reporter: L Northrop
>            Priority: Minor
>             Fix For: 1.0
>
>
> 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 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

        

[jira] Commented: (SCM-241) scm:bootstrap does not propogate --settings or -s command line option

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-241?page=comments#action_76819 ] 
            
Dan Tran commented on SCM-241:
------------------------------

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: http://jira.codehaus.org/browse/SCM-241
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>         Environment: Windows XP Professional, Maven 2.0.4, mvn.bat
>            Reporter: L Northrop
>            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 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

        

[jira] Commented: (SCM-241) scm:bootstrap does not propogate --settings or -s command line option

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-241?page=comments#action_76328 ] 
            
Dan Tran commented on SCM-241:
------------------------------

what kind of settings are you expecting scm:bootstrap to pickup?

> scm:bootstrap does not propogate --settings or -s command line option
> ---------------------------------------------------------------------
>
>                 Key: SCM-241
>                 URL: http://jira.codehaus.org/browse/SCM-241
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>         Environment: Windows XP Professional, Maven 2.0.4, mvn.bat
>            Reporter: L Northrop
>            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 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

        

[jira] Closed: (SCM-241) scm:bootstrap does not propogate --settings or -s command line option

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse closed SCM-241.
--------------------------------

         Assignee: Emmanuel Venisse
       Resolution: Won't Fix
    Fix Version/s:     (was: 1.0)

You can add --settings in $MAVEN_OPTS

> scm:bootstrap does not propogate --settings or -s command line option
> ---------------------------------------------------------------------
>
>                 Key: SCM-241
>                 URL: http://jira.codehaus.org/browse/SCM-241
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>         Environment: Windows XP Professional, Maven 2.0.4, mvn.bat
>            Reporter: L Northrop
>         Assigned To: 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 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