Hello, I found the aswer to my problem. It is easy for me to build the war if I use the source code from SVN. But it is impossible to build it through the zip (or tar.gz) archive given by Dave.
First idea : my svn env is not good so I am not able to build it Second idea : the scm tag into pom.xml constraints the presence of a local svn reposity. But I don't know how to remove it... Enjoy ! Nicolas, -----Message d'origine----- De : Nicolas Muller [mailto:[email protected]] Envoyé : vendredi 7 janvier 2011 14:55 À : [email protected] Objet : RE: Build RC3 from SRC Sorry it is not a problem about svn but "http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException" If anybody can verify the build it will be nice. I am trying again. Best regards, Nicolas, -----Message d'origine----- De : Nicolas Muller [mailto:[email protected]] Envoyé : vendredi 7 janvier 2011 14:49 À : [email protected] Objet : Build RC3 from SRC Hello, When I want to build sources roller-webglogger-5.0.0-RC3-source.zip, I have an error about SVN. In my context, svn is callable from dos. I am using the last version about maven. Is there any version about JDK required ? Best regards, Nicolas, Trace for input : mvn Dtomcat=true install [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Roller Weblogger Business Module 5.0.0-RC3 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- buildnumber-maven-plugin:1.0-beta-3:create (default) @ roller-weblogg er-business --- [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: C:\demo\roller\roller\roller-webglogger-5.0.0-RC3-sour ce\weblogger-business Provider message: The svn command failed. Command output: svn: '.' is not a working copy [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Roller Project ............................. SUCCESS [0.333s] [INFO] Apache Roller Core Module ......................... SUCCESS [1.066s] [INFO] Apache Roller Test Utilities ...................... SUCCESS [0.142s] [INFO] Apache Roller Planet Business Module .............. SUCCESS [15.525s] [INFO] Apache Roller Weblogger Business Module ........... FAILURE [0.401s] [INFO] Apache Roller Weblogger Web Module ................ SKIPPED [INFO] Apache Roller Weblogger Web Application ........... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17.769s [INFO] Finished at: Fri Jan 07 13:44:30 GMT 2011 [INFO] Final Memory: 10M/19M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.0-be ta-3:create (default) on project roller-weblogger-business: Cannot get the revis ion information from the scm repository : [ERROR] Error! [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE xception [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :roller-weblogger-business c:\demo\roller\roller\roller-webglogger-5.0.0-RC3-source>svn . Commande inconnueÿ: '.' Entrer 'svn help' pour l'aide. c:\demo\roller\roller\roller-webglogger-5.0.0-RC3-source>
