问题
I'm developing a Maven plugin. It's going to be used during development, and it would greatly increase our productivity if the plugin would include -SNAPSHOT projects in Eclipse on the classpath. In other words, use Eclipse workspace resolution instead of getting the artifacts for these other projects out of the repository.
I tried to set this annotation in the plugin:
@requiresDependencyResolution compile
but it didn't solve the problem.
Anyone know how to do this?
来源:https://stackoverflow.com/questions/5571442/how-to-get-maven-plugin-to-use-eclipse-workspace-resolution