maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MNG-4200) Build fails on system without svn client
Date Wed, 01 Jul 2009 17:58:05 GMT

     [ http://jira.codehaus.org/browse/MNG-4200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brett Porter updated MNG-4200:
------------------------------

    Fix Version/s: 2.2.1

> 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
>             Fix For: 2.2.1
>
>         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

        

Mime
View raw message