Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-336

unable to release:prepare flat hierarchy project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0-beta-8
    • 2.0
    • scm
    • None
    • m2eclipse 0.9.0/ mvn 2.0.8, subclipse 1.2.4, jdk1.6.0_03, ubuntu

    Description

      I have projects in flat hierarchy like this

      - hsm/pom.xml  <-- parent pom
      - hsm-api/pom.xml
      - hsm-core/pom.xml
      - hsm-/pom.xml
      

      I use also inheritance from parent in modules . When I try to run prepare goal, everything runs OK until:

      [INFO] Executing: svn --non-interactive commit --file /tmp/maven-scm-760111578.commit --targets /tmp/maven-scm-64915-targets
      [INFO] Working directory: /home/bond/workspace/hsm
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Unable to commit files
      Provider message:
      The svn command failed.
      Command output:
      svn: '/home/bond/workspace' is not a working copy
      svn: Can't open file '/home/bond/workspace/.svn/entries': No such file or directory
      

      It seems that release plugin is trying to find some SVN information directly in my workspace directory. Each pom has separately defined <scm> options.

      Attachments

        Issue Links

          Activity

            People

              oching Maria Odea B. Ching
              bond David Matthew Bond
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: