Right, Falk. But unfortunately I'm just creating the model (ModelProcessor).
Therefore the attempt to set the correct POM file via model.setPomFile (), but
unfortunately it does not work. There are certainly extension points that maven
calls at a later point in time, but unfortunately I am not f
Sorry, I totally missed that flatten bit in your message.
You can access all projects via the MavenSession that get's passed in to your
extension.
See getProjects().
Cheers,
Falko
-
To unsubscribe, e-mail: users-unsubscr...@mav
Thanks, Falko. In my question I mentioned the flatten plugin with snippets of
code. Can I access MavenProject in a Maven Extension? The flatten plugin uses
this Injection @Parameter (defaultValue = "$ {project}", readonly = true,
required = true)
MavenProject project;
What would the equiva
Thanks, Falko. In my question I mentioned the flatten plugin with snippets of
code. Can I access MavenProject in a Maven Extension? The flatten plugin uses
this Injection @Parameter (defaultValue = "$ {project}", readonly = true,
required = true)
MavenProject project;
What would the equiva
Hi,
I think flatten-maven-plugin is doing something like that, see:
https://github.com/mojohaus/flatten-maven-plugin/blob/4efae7e8d180e838ff25a1daffab712166911328/src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java#L224
Cheers,
Falko
Hi,
My English is poor, but I hope for help in this place.
I am trying to manipulate an org.apache.maven.model.Model via a maven extension
and at the same time create a new POM file. But unfortunately the new location
of the POM file does not apply. The plugins (e.g. maven-deploy-plugin) still