Maven 2.x Release Plugin

unable to release:prepare flat hierarchy project

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 2.0-beta-8
  • Fix Version/s: 2.0
  • Component/s: scm
  • Labels:
    None
  • Environment:
    m2eclipse 0.9.0/ mvn 2.0.8, subclipse 1.2.4, jdk1.6.0_03, ubuntu
  • Number of attachments :
    0

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.

Issue Links

Activity

Hide
Dušan Mamrilla added a comment -

I was too quick ...

It seems to be bug. It makes release unusable in my case. I was experiencing same problem in previous release (I started to use release on). Any hint ? What else should I provide to fix this bug ?

Show
Dušan Mamrilla added a comment - I was too quick ... It seems to be bug. It makes release unusable in my case. I was experiencing same problem in previous release (I started to use release on). Any hint ? What else should I provide to fix this bug ?
Hide
Maria Odea Ching added a comment -

Fixed in trunk 778088. See MRELEASE-261

Show
Maria Odea Ching added a comment - Fixed in trunk 778088. See MRELEASE-261

People

Vote (4)
Watch (5)

Dates

  • Created:
    Updated:
    Resolved: