maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jethrik (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNG-4200) Build fails on system without svn client
Date Sun, 14 Jun 2009 06:13:42 GMT

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

Jethrik commented on MNG-4200:
------------------------------

oops... there are actually TWO different plugin entries in maven-core/pom.xml that need to
be modified, not just the one I pasted into the description above.

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

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

        

Mime
View raw message