[ 
http://jira.codehaus.org/browse/MNG-4200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182029#action_182029
 ] 

Benjamin Bentmann commented on MNG-4200:
----------------------------------------

Reverted back to regular SVN provider in 
[r789873|http://svn.apache.org/viewvc?view=rev&revision=789873] due to 
[reported 
problems|http://www.nabble.com/Re%3A-svn-commit%3A-r784555----maven-components-branches-maven-2.1.x-maven-core-pom.xml-p24246804.html].
 The new plan is to simply make the buildnumber generation happen only on 
explicit demand.

> Build fails on system without svn client
> ----------------------------------------
>
>                 Key: MNG-4200
>                 URL: http://jira.codehaus.org/browse/MNG-4200
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>         Environment: build.log attached
>            Reporter: Jethrik
>         Attachments: build.log
>
>
> I did a checkout (using TortoiseSVN) from 
> https://svn.apache.org/repos/asf/maven/components/branches/maven-2.1.x/, on 
> my system which doesn't have the command line svn client installed, causing 
> the build to fail as in the attached build.log.
> This is caused by this issue: MOJO-936 in buildnumber-maven-plugin.  The 
> remedy is to modify maven-core/pom.xml and any other POMs where the plugin is 
> used by upgrading the version of that plugin and adding the 
> <revisionOnScmFailure/> element like so:
> {code:xml}
> <plugin>
>   <groupId>org.codehaus.mojo</groupId>
>   <artifactId>buildnumber-maven-plugin</artifactId>
>   <version>1.0-beta-3</version>
>   <executions>
>     <execution>
>       <phase>generate-resources</phase>
>       <goals>
>         <goal>create</goal>
>       </goals>
>     </execution>
>   </executions>
>   <configuration>
>     <doCheck>false</doCheck>
>     <doUpdate>false</doUpdate>
>     <revisionOnScmFailure>0</revisionOnScmFailure>
>     <format>NON-CANONICAL_{0,date,yyyy-MM-dd_HH-mm}_{1}</format>
>     <items>
>       <item>timestamp</item>
>       <item>${user.name}</item>
>     </items>
>   </configuration>
> </plugin>
> {code}
> ----

-- 
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

        

Reply via email to