maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Colebourne <>
Subject Plugin, how to resolve single dependency
Date Wed, 06 Nov 2013 12:37:56 GMT
I have a plugin that needs to access just one dependency from the project.

Currently I use "@requiresDependencyResolution compile" and build the
entire classpath:

This is far from ideal as it requires the whole codebase that the
plugin is used on to compile, which is hard given that it is a code

It looks like @requiresDependencyCollection might be what I need, but
what steps must I take to find the actual dependency I want and then
resolve just that one into a classpath?

Feel free to examine the plugin:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message