You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maven-resources-plugin cannot create resource output directory (/home/build/target/) because maven lacks permissions to remove subdirectories under /home/build/ (see similar issue).
docker run --platform=linux/amd64 --rm -v ${PWD}:/home/build cgr.dev/chainguard/maven:openjdk-17 clean install
See error from maven-resources-plugin
Expected behavior
This worked for me:
chmod o w ../demo
docker run --platform=linux/amd64 --rm -v ${PWD}:/home/build cgr.dev/chainguard/maven:openjdk-17 clean install
chmod o-w ../demo # optional, its just demo
The text was updated successfully, but these errors were encountered:
Which image/versions are related to this issue/feature request?
maven:openjdk-17
Issue/Feature description
Copying this over from the edu repo as the Images Readmes live here. cc @noelmcloughlin
Describe the bug
Maven-resources-plugin cannot create resource output directory (
/home/build/target/
) because maven lacks permissions to remove subdirectories under /home/build/ (see similar issue).To Reproduce
Expected behavior
This worked for me:
The text was updated successfully, but these errors were encountered: