As suggested by Eric, I've reposted this query to the developers list. -------- What lifecycle phase needs to have run in order to get provided scope dependencies made available in a plugin.
http://maven.apache.org/ref/current/maven-project/apidocs/org/apache/mav en/project/MavenProject.html#getArtifacts() In my plugin during the package phase, ${project.artifacts} doesn't contain any of the dependencies declared as 'provided'. Though it does contain all dependencies declared as either compile or runtime. What do I need to do to make provided scope dependencies available? William -------- As an aside, it seems to me that provided is not really a scope at all but another degree of freedom in defining a dependency. Ie you really want to define a dependency as either compile or runtime (or test) and whether it should be included as part of an application or supplied by the environment/container is the responsibility of the provided attribute. But perhaps I'm missing something. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
