facebook

maven error with svn folders

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #299221 Reply

    reguapo
    Member

    yep i am working with maven and a versioned project with svn, and when i try to mvn install i am having the following error:

    [INFO] Exploding webapp…
    [INFO] Assembling webapp rutest-web in D:\eclipse projects\rutest\web\target\rutest-web-1.0-SNAPSHOT
    [INFO] Copy webapp webResources to D:\eclipse projects\rutest\web\target\rutest-web-1.0-SNAPSHOT
    [INFO] ————————————————————————
    [ERROR] BUILD ERROR
    [INFO] ————————————————————————
    [INFO] Could not explode webapp…

    Embedded error: Unable to open file D:\eclipse projects\rutest\web\target\rutest-web-1.0-SNAPSHOT\WEB-INF\classes\.svn\dir-props for writing.
    [INFO] ————————————————————————
    [INFO] For more information, run Maven with the -e switch
    [INFO] ————————————————————————
    [INFO] Total time: 26 seconds
    [INFO] Finished at: Wed Jun 10 08:44:57 EDT 2009
    [INFO] Final Memory: 39M/63M
    [INFO] ————————————————————————

    #299228 Reply

    Loyal Water
    Member

    reguapo,
    Can you list the exact steps to be followed to help us reproduce this issue at our end.

    Also, can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me so that I can get this tested on the same configuration.

    #299252 Reply

    @reguapo wrote:

    yep i am working with maven and a versioned project with svn, and when i try to mvn install i am having the following error:

    [INFO] Exploding webapp…
    [INFO] Assembling webapp rutest-web in D:\eclipse projects\rutest\web\target\rutest-web-1.0-SNAPSHOT
    [INFO] Copy webapp webResources to D:\eclipse projects\rutest\web\target\rutest-web-1.0-SNAPSHOT
    [INFO] ————————————————————————
    [ERROR] BUILD ERROR
    [INFO] ————————————————————————
    [INFO] Could not explode webapp…

    Embedded error: Unable to open file D:\eclipse projects\rutest\web\target\rutest-web-1.0-SNAPSHOT\WEB-INF\classes\.svn\dir-props for writing.
    [INFO] ————————————————————————
    [INFO] For more information, run Maven with the -e switch
    [INFO] ————————————————————————
    [INFO] Total time: 26 seconds
    [INFO] Finished at: Wed Jun 10 08:44:57 EDT 2009
    [INFO] Final Memory: 39M/63M
    [INFO] ————————————————————————

    You should not be checking the target directory into Subversion because it is a temporary directory. You can delete it directly from Subversion and then run “mvn clean” on your local project, which will remove the target directory. I use the SubClipse plugin. I add “target*” (without quotes) to be ignored and you won’t run into this error because the target directory won’t get added to Subversion and no .svn* directories/files will be created there.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: maven error with svn folders

You must be logged in to post in the forum log in