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 = "xxxx",
requiresDependencyResolution = ResolutionScope.COMPILE,
)
public class WhatEverMojo
    extends AbstractMojo...

But i'm searching for a way to trigger this manually...

Someone an idea or a hint?

Thanks in advance...
Kind regards
Karl Heinz

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to