apache / apache/maven-deploy-plugin
[MDEPLOY-306] [REGRESSION] Could not acquire write lock
- Dominant language
- Java
- Stars
- 78
- Forks
- 76
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 12
Description
**[Delany](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=delany)** opened **[MDEPLOY-306](https://issues.apache.org/jira/browse/MDEPLOY-306?redirect=false)** and commented
On Windows OS, project with 500 modules fails build on final module with deployAtEnd set to true.
```
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.0:deploy (default-deploy) on project x: Execution default-deploy of goal org.apache.maven.plugins:maven-deploy-plugin:3.1.0:deploy failed: Could not acquire write lock for 'y'
```
Maven 3.9.0
I've used deployAtEnd in the past without issue (but not with Maven 3.9.0)
---
**Affects:** 3.1.0
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Windows build described in the issue: Maven 3.9.0, a project with 500 modules, and deployAtEnd set to true. Focus on the final-module failure and the “Could not acquire write lock” message; done means the build completes without that lock error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100