apache / apache/maven-release

[MRELEASE-941] release:prepare failed if the disk letter is in lower-case in the file path in Windows

Open
#1,098 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
128
Forks
145
Avg merge
7h 7m
Merged PRs (30d)
3

Description

**[Cristian Bozga](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=cristi.bozga)** opened **[MRELEASE-941](https://issues.apache.org/jira/browse/MRELEASE-941?redirect=false)** and commented

when executing a command like

mvn -B -f E:\.jenkins\workspace\release-test\pom.xml -DdevelopmentVersion=1.6-SNAPSHOT -DreleaseVersion=1.5 -Dresume=false release:prepare

the execution failes:

The svn command failed.
[ERROR] Command output:
[ERROR] svn: E155000: Commit failed (details follow):
[ERROR] svn: E155000: No write-lock in '.'

If we don't use 'E:' (the drive letter) in the file path the execution goes fine

I use svnkit 1.7, maven 3.2 and java 7

the command was executed from Jenkins and from command prompt as well

---

**Affects:** 2.5.3

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Windows `mvn ... release:prepare` command with a lowercase drive letter and compare it with the path that succeeds without the drive letter. Trace the release:prepare SVN invocation; done means the command completes successfully for the reported `E:\.jenkins\workspace\...` path.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.