[
http://jira.codehaus.org/browse/MOJO-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243422#action_243422
]
Dieter König commented on MOJO-1599:
------------------------------------
Configuration of plugin was following:
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.0-beta-4</version>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
<useLastCommittedRevision>false</useLastCommittedRevision>
<buildNumberPropertyName>svn.revision</buildNumberPropertyName>
<scmBranchPropertyName>svn.branchtype</scmBranchPropertyName>
<timestampPropertyName>svn.timestamp</timestampPropertyName>
</configuration>
> Improve Performance
> -------------------
>
> Key: MOJO-1599
> URL: http://jira.codehaus.org/browse/MOJO-1599
> Project: Mojo
> Issue Type: Improvement
> Affects Versions: buildnumber-maven-plugin-1.0-beta-4
> Reporter: Dieter König
> Priority: Minor
>
> Retrieving of svn revision and svn branch type is done with same svn command
> which is invoked twice.
> [INFO] [buildnumber:create {execution: retrieve-svn-revision}]
> [INFO] Checking for local modifications: skipped.
> [INFO] Updating project files from SCM: skipped.
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive info"
> [INFO] Working directory: E:\eclipse_ws\myproject
> [INFO] Storing buildNumber: 38351 at timestamp: 1290003225508
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive info"
> [INFO] Working directory: E:\eclipse_ws\myproject
> [INFO] Storing buildScmBranch: trunk
> This "[INFO] Executing: cmd.exe /X /C "svn --non-interactive info" should
> only happen once because this part of plugin execution is critical for
> performance and svn-connection problems.
--
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