Re: Manually triggeren dependency resolution within a plugin

2016-02-06 Thread Andreas Gudian
No idea if I've done it the way it is supposed to be done, but check AbstractCompilerMojo#resolveProcessorPathEntries in the maven-compiler-plugin. In case it helps... :-) Am Samstag, 6. Februar 2016 schrieb Karl Heinz Marbaise : > Hi, > > If i'm in a plugin can i manually trigger the resolutio

Manually triggeren dependency resolution within a plugin

2016-02-06 Thread Karl Heinz Marbaise
Hi, If i'm in a plugin can i manually trigger the resolution of artifacts somehow. So that MavenProject.getArtifacts() is not null... Usually you would define the mojo like this which means the resolution is done by Maven core: @Mojo( name = "", requiresDependencyResolution = Resolution