jvoccia commented on PR #10: URL: https://github.com/apache/maven-clean-plugin/pull/10#issuecomment-1222579199
> When can this happen? I mean, can we create a junction in Java without using native code? Not sure if you are asking about this regarding "tests" or regarding what "real world" use case this could occur in, but if asking in the second case: NPM does this on Windows. So if you link a NPM component with a package.json like: ```json { ... "dependencies": { "someTestServer": "file:src/test/node_server/someTestServer" } } ``` You will get a node_modules directory like: node_modules/someTestServer <- Junction Point pointing to: src/test/node_server/someTestServer If you configure mvn clean to delete node_modules (or a directory above node_modules) - it will walk the junction point and delete your src files. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org