RE: [m2] How to get artifact and Maven project for dependencies and tran

2006-08-11 Thread Dave Syer
the diff between project.getDependencies() and project.getDependencyArtifacts() is basically that getDependencies() returns also transitive dependencies Doesn't seem to work for me (with maven-plugin-api 2.0) - I only get the direct dependencies (declared in the pom). Is this a surprise to

RE: [m2] How to get artifact and Maven project for dependencies and tran

2006-08-11 Thread Dave Syer
the diff between project.getDependencies() and project.getDependencyArtifacts() is basically that getDependencies() returns also transitive dependencies Actually, getDependencyArtifacts() is always empty for me, wheras getDependencies() is just the dependencies declared in the pom. Is that

RE: [m2] How to get artifact and Maven project for dependencies and tran

2006-08-11 Thread Dave Syer
Actually, getDependencyArtifacts() is always empty for me, wheras getDependencies() is just the dependencies declared in the pom. Is that right? I think that is right, and I found a reference to @requiresDependencyResolution that helped a bit - if @requiresDependencyResolution is included in