I have a problem with maven in cygwin.
$ umask 0000 $ ls -ln 합계 20K -rw-r--r-- 1 1000 545 16K 7월 1 12:25 pom.xml drwxr-xr-x 1 1000 545 0 6월 26 13:00 src/ drwxr-xr-x 1 1000 545 0 7월 1 15:10 target/ $ mvn clean package ... [INFO] --- jarjar-maven-plugin:1.7:jarjar (jarjar) @ [INFO] Processing: [INFO] Building zip: [INFO] JarJar'ing to: [INFO] Original: [WARNING] java.io.IOException: Failed to delete ... while trying to rename it. [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (remove-unnecessary-entries) @ deleting: META-INF/services/... zip warning: new zip file left as: ziGAsCYT zip I/O error: Device or resource busy zip error: Could not create output file (was replacing the original zip file)
The problem looks very complicated.
- First there is a chmod problem in cygwin
- Secondly, maven's target directory don't have o+w permission so plugins can't work correctly