[
http://jira.codehaus.org/browse/MOJO-936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=179762#action_179762
]
Jethrik commented on MOJO-936:
------------------------------
It would be of help to me if there's any way to resolve this. I'm trying to
use the plugin to generate build numbers independent of svn.
Or alternatively, I've made some headway by creating a shell script that fakes
the svn response but something is still breaking because buildNumber is coming
up "null"... so as a workaround, what text does that script need to return to
make the plugin think it's got the numbers it needs?
> [buildnumber plugin] don't check for scm if doCheck and doUpdate are set to
> false
> ---------------------------------------------------------------------------------
>
> Key: MOJO-936
> URL: http://jira.codehaus.org/browse/MOJO-936
> Project: Mojo
> Issue Type: Improvement
> Components: buildnumber
> Reporter: Jorg Heymans
> Priority: Minor
>
> The buildnumber plugin currently fails to execute from a directory that
> hasn't been added to subversion yet even with doCheck and doUpdate set to
> false.
> [INFO] [buildnumber:create {execution: default}]
> [INFO] Checking for local modifications: skipped.
> [INFO] Updating project files from SCM: skipped.
> Provider message:
> The svn command failed.
> Command output:
> svn: '.' is not a working copy
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Cannot get the revision information from the scm repository :
> Error!
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
--
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email