:bug: Unable to rebuild a project
- Dominant language
- Java
- Stars
- 3.5k
- Forks
- 250
- Avg merge
- 16h 22m
- Merged PRs (30d)
- 36
Description
Hello,
I'm giving a try to Maven Daemon, and I'm having an issue with some projects I'm building.
Before describing the issue I'm facing, my setup is as follow:
- OS: Windows 10
- Maven Daemon version: 0.8.0
- Java Version: OpenJDK 64-Bit Server VM Temurin-17.0.2+8 (build 17.0.2+8, mixed mode, sharing)
The project is made of 192 modules, and I have a 8-core processor, which means I have 7 concurrent threads running.
The first time I run "mvnd clean install" or "mvnd clean verify", it runs smoothly.
Yet, the second time I rerun my build command, the daemon can't clean some of the target folders as it seems they are locked by the daemon.
So the only way I can "rerun" the build is to stop the daemon and run my build command.
If you need more elements to help with the issue, just let me know.
Damien CACHEUX
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the second `mvnd clean install` or `mvnd clean verify` on Windows 10 with Maven Daemon 0.8.0, after a successful first build of a multi-module project. Investigate why target folders remain locked by the daemon; done means the build can be rerun without stopping the daemon.
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