|
|
-
Error after running mvn clean install
Makrand Rahane 2012-03-06, 11:46
Hello,
My name is Makrand and I am trying to deploy driods on my machine and getting following error when I run mvn clean install on command prompt:
[INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Apache Droids [INFO] Apache Droids Norobots [INFO] Apache Droids Core [INFO] Apache Droids Spring [INFO] Apache Droids Solr [INFO] Apache Droids Tika [INFO] Apache Droids Wicket Components [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Droids [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [buildnumber:create {execution: default}] [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: D:\droids Provider message: The svn command failed. Command output: svn: E155007: 'D:\droids' is not a working copy [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot get the revision information from the scm repository : Error! [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Tue Mar 06 13:01:46 IST 2012 [INFO] Final Memory: 13M/31M [INFO] ------------------------------------------------------------------------ D:\droids>
I am using Windows 7 and Maven 2.2 and JDK 1.6.30. It would be a great help if you can let me know whats causing this issue.
Thanks & Regards, Makrand Rahane.
-
Re: Error after running mvn clean install
Richard Frovarp 2012-03-06, 14:48
On 03/06/2012 05:46 AM, Makrand Rahane wrote: > Provider message: > The svn command failed. > Command output: > svn: E155007: 'D:\droids' is not a working copy > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Cannot get the revision information from the scm repository : > Error! > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1 second > [INFO] Finished at: Tue Mar 06 13:01:46 IST 2012 > [INFO] Final Memory: 13M/31M > [INFO] > ------------------------------------------------------------------------ > D:\droids> >
Sorry about that. You need to edit the root pom.xml and change the version of buildnumber-maven-plugin to 1.0. That will make it work. Alternatively, you could check it out from svn, but that's probably more work than you want to do. That bug will be fixed in the next release.
-
Re: Error after running mvn clean install
Makrand Rahane 2012-03-07, 15:05
Thanks Richard for your quick response. It is now working after making the changes recommended by you.
Regards, Makrand
On Tue, Mar 6, 2012 at 8:18 PM, Richard Frovarp <[EMAIL PROTECTED]> wrote:
> On 03/06/2012 05:46 AM, Makrand Rahane wrote: > >> Provider message: >> The svn command failed. >> Command output: >> svn: E155007: 'D:\droids' is not a working copy >> [INFO] >> ------------------------------**------------------------------** >> ------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------**------------------------------** >> ------------ >> [INFO] Cannot get the revision information from the scm repository : >> Error! >> [INFO] >> ------------------------------**------------------------------** >> ------------ >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ------------------------------**------------------------------** >> ------------ >> [INFO] Total time: 1 second >> [INFO] Finished at: Tue Mar 06 13:01:46 IST 2012 >> [INFO] Final Memory: 13M/31M >> [INFO] >> ------------------------------**------------------------------** >> ------------ >> D:\droids> >> >> > Sorry about that. You need to edit the root pom.xml and change the version > of buildnumber-maven-plugin to 1.0. That will make it work. Alternatively, > you could check it out from svn, but that's probably more work than you > want to do. That bug will be fixed in the next release. >
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext