You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kay Kay (JIRA)" <ji...@codehaus.org> on 2010/02/05 00:04:55 UTC

[jira] Created: (MNG-4557) release:perform does not take the settings specified by the -s option

release:perform does not take the settings specified by the -s option 
----------------------------------------------------------------------

                 Key: MNG-4557
                 URL: http://jira.codehaus.org/browse/MNG-4557
             Project: Maven 2 & 3
          Issue Type: Bug
    Affects Versions: 2.2.1
            Reporter: Kay Kay


# mvn -s  <some.custom.settings.xml> release:perform 

does not take the settings. 

If we copy the same to - ~/.m2/settings.xml 

# mvn release:perform 

works fine. 

Something does not add up. 

-- 
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: (MRELEASE-521) release:perform does not take the settings specified by the -s option

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann moved MNG-4557 to MRELEASE-521:
-------------------------------------------------

           Complexity:   (was: Intermediate)
    Affects Version/s:     (was: 2.2.1)
                       2.0-beta-7
                  Key: MRELEASE-521  (was: MNG-4557)
              Project: Maven 2.x Release Plugin  (was: Maven 2 & 3)

> release:perform does not take the settings specified by the -s option 
> ----------------------------------------------------------------------
>
>                 Key: MRELEASE-521
>                 URL: http://jira.codehaus.org/browse/MRELEASE-521
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-7
>            Reporter: Kay Kay
>
> # mvn -s  <some.custom.settings.xml> release:perform 
> does not take the settings. 
> If we copy the same to - ~/.m2/settings.xml 
> # mvn release:perform 
> works fine. 
> Something does not add up. 

-- 
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: (MRELEASE-521) release:perform does not take the settings specified by the -s option

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MRELEASE-521:
-------------------------------------

    Component/s: perform

> release:perform does not take the settings specified by the -s option 
> ----------------------------------------------------------------------
>
>                 Key: MRELEASE-521
>                 URL: http://jira.codehaus.org/browse/MRELEASE-521
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: perform
>    Affects Versions: 2.0-beta-7
>            Reporter: Kay Kay
>
> # mvn -s  <some.custom.settings.xml> release:perform 
> does not take the settings. 
> If we copy the same to - ~/.m2/settings.xml 
> # mvn release:perform 
> works fine. 
> Something does not add up. 

-- 
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: (MRELEASE-521) release:perform does not take the settings specified by the -s option

Posted by "Christoph Kutzinski (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=268199#action_268199 ] 

Christoph Kutzinski commented on MRELEASE-521:
----------------------------------------------

I've just confirmed that it still happens with release-plugin 2.1.
Another workaround is to append -Darguments="-s<my_settings_file>" to the release:perform call. E.g.

mvn -s<my_settings_file> release:prepare release:perform -Darguments="-s<my_settings_file>"

See also http://maven.40175.n5.nabble.com/mvn-release-perform-does-not-honor-servers-server-in-alternate-settings-location-td70612.html

> release:perform does not take the settings specified by the -s option 
> ----------------------------------------------------------------------
>
>                 Key: MRELEASE-521
>                 URL: http://jira.codehaus.org/browse/MRELEASE-521
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: perform
>    Affects Versions: 2.0-beta-7
>            Reporter: Kay Kay
>
> # mvn -s  <some.custom.settings.xml> release:perform 
> does not take the settings. 
> If we copy the same to - ~/.m2/settings.xml 
> # mvn release:perform 
> works fine. 
> Something does not add up. 

-- 
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: (MNG-4557) release:perform does not take the settings specified by the -s option

Posted by "Kay Kay (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-4557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209203#action_209203 ] 

Kay Kay commented on MNG-4557:
------------------------------

  <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.0-beta-7</version>
        <dependencies>
          <dependency>
            <groupId>org.apache.maven.scm</groupId>
            <artifactId>maven-scm-provider-gitexe</artifactId>
            <version>1.3</version>
          </dependency>
          <dependency>
            <groupId>org.codehaus.plexus</groupId>
            <artifactId>plexus-utils</artifactId>
            <version>1.5.6</version>
          </dependency>
        </dependencies>

being used. 

  <prerequisites>
    <maven>2.0.9</maven>
  </prerequisites>

> release:perform does not take the settings specified by the -s option 
> ----------------------------------------------------------------------
>
>                 Key: MNG-4557
>                 URL: http://jira.codehaus.org/browse/MNG-4557
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-7
>            Reporter: Kay Kay
>
> # mvn -s  <some.custom.settings.xml> release:perform 
> does not take the settings. 
> If we copy the same to - ~/.m2/settings.xml 
> # mvn release:perform 
> works fine. 
> Something does not add up. 

-- 
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: (MRELEASE-521) release:perform does not take the settings specified by the -s option

Posted by "Stephen Connolly (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephen Connolly closed MRELEASE-521.
-------------------------------------

    Resolution: Duplicate

Closing this in favour of MRELEASE-577 as that has the suggestions for how to fix

> release:perform does not take the settings specified by the -s option 
> ----------------------------------------------------------------------
>
>                 Key: MRELEASE-521
>                 URL: https://jira.codehaus.org/browse/MRELEASE-521
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: perform
>    Affects Versions: 2.0-beta-7
>            Reporter: Kay Kay
>
> # mvn -s  <some.custom.settings.xml> release:perform 
> does not take the settings. 
> If we copy the same to - ~/.m2/settings.xml 
> # mvn release:perform 
> works fine. 
> Something does not add up. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira