Hi Stuart,
Thanks again for your prompt help.
But both projects have sisu-maven-plugin properly set and the generation of
index files are working well.
But I think I found where the issue could be.
This morning I decided to debug the build of one project in the workspace
that uses my plugin
Thanks Stuart,
I tried it and it worked when the MyPojo class was in the same jar as
MyMojo.
But when I moved MyPojo class to another jar and add that jar as a
dependency of the plugin, I got the following error:
[WARNING] Error injecting: org.c4biz.tools.build.MyMojo,
Hello,
I've create a mojo and set it to use sisu based injection.
I added to this mojo a constructor like this:
@Inject
public MyMojo( RuntimeInformation runtimeInformation,
MavenProjectHelper projectHelper, BuildContext
buildContextr) {
Assuming you’re using Maven 3.1.1 or later then yes, that should work.
--
Cheers, Stuart
On Monday, 16 March 2015 at 18:09, Cristiano Gavião wrote:
Hello,
I've create a mojo and set it to use sisu based injection.
I added to this mojo a constructor like this:
@Inject
public