How to get Maven plugin to use Eclipse workspace resolution?

亡梦爱人 提交于 2019-12-31 02:46:05

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!