Old versions of maven-dependency-plugin
include a dependency:properties
goal. New versions don't seem to include it. Has it been moved to a开发者_C百科nother plugin, or is it simply deprecated with no chance to access its features (namely having a property for each dependency, allowing as an example activation of profile based upon dependencies) ?
The properties-goal is available since version 2.2 (the latest version) of the dependency plugin. Maven 3 uses 2.1 as default, so you have to specify the version of the dependency plugin manually in your pom in the build section.
精彩评论