How to use @org.apache.maven.plugins.annotations.Parameter in not-mojo object with maven plugin
I know that @Parameter can be used directly in mojo, and I know that the documentation of @Parameter says
MojoFailureException maven pom.xml error caused by plugin or dependencies
I’ve tried to make a maven project. But every time I try to start my build it gives me an error in the console. I’m pretty sure this is a plugin/dependencies error. But I’m still learning so I may be wrong. (Just to be noted I’m not sure this is important but this has a Minecraft plugin archetype)
Custom Maven plugin: How to process FileSet?
I am developing my custom maven plugin. One of the parameters this plugin shall receive is a fileset. Here’s a snippet from the plugin itself: