You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Caleb Cushing (JIRA)" <ji...@apache.org> on 2016/09/03 03:29:20 UTC

[jira] [Updated] (MRELEASE-961) release plugin tries to use .bat instead of .cmd on windows

     [ https://issues.apache.org/jira/browse/MRELEASE-961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Caleb Cushing updated MRELEASE-961:
-----------------------------------
    Description: 
{code}PS C:\Users\xeno\IdeaProjects\rpf-security> mvn release:prepare --batch-mode release:clean
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building rpf-security 0.1.4
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-release-plugin:2.3.2:prepare (default-cli) @ rpf-security ---
[INFO] Resuming release from phase 'run-preparation-goals'
[INFO] Executing goals 'clean verify'...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.240 s
[INFO] Finished at: 2016-09-02T22:19:43-05:00
[INFO] Final Memory: 17M/307M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare (default-cli) on project rpf-security: Failed to invoke Maven build. Error configuring command-line. Reason: Maven executable not found at: C:\Users\xeno\apache-maven-3.3.9\bin\mvn.bat -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{code}

for a workaround I copied {{mvn.cmd}} to {{mvn.bat}}

  was:
{code}PS C:\Users\xeno\IdeaProjects\rpf-security> mvn release:prepare --batch-mode release:clean
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building rpf-security 0.1.4
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-release-plugin:2.3.2:prepare (default-cli) @ rpf-security ---
[INFO] Resuming release from phase 'run-preparation-goals'
[INFO] Executing goals 'clean verify'...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.240 s
[INFO] Finished at: 2016-09-02T22:19:43-05:00
[INFO] Final Memory: 17M/307M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare (default-cli) on project rpf-security: Failed to invoke Maven build. Error configuring command-line. Reason: Maven executable not found at: C:\Users\xeno\apache-maven-3.3.9\bin\mvn.bat -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{code}


> release plugin tries to use .bat instead of .cmd on windows
> -----------------------------------------------------------
>
>                 Key: MRELEASE-961
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-961
>             Project: Maven Release Plugin
>          Issue Type: Bug
>            Reporter: Caleb Cushing
>
> {code}PS C:\Users\xeno\IdeaProjects\rpf-security> mvn release:prepare --batch-mode release:clean
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building rpf-security 0.1.4
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-release-plugin:2.3.2:prepare (default-cli) @ rpf-security ---
> [INFO] Resuming release from phase 'run-preparation-goals'
> [INFO] Executing goals 'clean verify'...
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.240 s
> [INFO] Finished at: 2016-09-02T22:19:43-05:00
> [INFO] Final Memory: 17M/307M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare (default-cli) on project rpf-security: Failed to invoke Maven build. Error configuring command-line. Reason: Maven executable not found at: C:\Users\xeno\apache-maven-3.3.9\bin\mvn.bat -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{code}
> for a workaround I copied {{mvn.cmd}} to {{mvn.bat}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)