File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes mvn release:prepare fails when project was checked out by Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "mvn release:prepare fails when project was checked out by Eclipse" Watch "mvn release:prepare fails when project was checked out by Eclipse" New topic
Author

mvn release:prepare fails when project was checked out by Eclipse

Salomo Petrus
Greenhorn

Joined: Dec 07, 2006
Posts: 6
I encountered a strange problem when I tried to get the maven release to work.

If I check out my project through the command line and try to release the project with mvn release:prepare everything goes fine but for some reason when the project is checked out through Eclipse it fails with the error message:


I digged in a bit and started to compare the files that are in the CVS directory of the project and I noticed the following things:
  • There is an extra file called Template in the CVS folder of the project that was checked out through Eclipse
  • There is an extra character D in the Entries file in the CVS folder of the project that was checked out through Eclipse


  • When I copy the files from the CVS directory of the project that was checked out through the command line to the CVS directory of the project that was checked out through CVS and than try to release everything goes fine.

    The main difference is that I use cygwin on the command line and uses linux line feeds and ofcourse a different CVS client since the Eclipse plug-in has his own which probably checks out differently and causes this problem

    Does anybody know a nice way to fix this?
     
    I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
     
    subject: mvn release:prepare fails when project was checked out by Eclipse
     
    Similar Threads
    Could not find the main class.
    CVS question(s)
    Eclipse CVS Problems
    Eclipse: "The resource is not checked out..."
    Unable to Checkout file in CVS-Linux