Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a problem with maven in cygwin.

$ umask

$ 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] --- 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.

  1. First there is a chmod problem in cygwin
  2. Secondly, maven's target directory don't have o+w permission so plugins can't work correctly

Any help?

share|improve this question
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.