[
https://issues.apache.org/jira/browse/NIFI-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Heinz Marbaise updated NIFI-168:
-------------------------------------
Attachment: 0001-NIFI-168-Correctly-inject-MavenProject-MavenSession-.patch
> Correctly inject MavenProject / MavenSession into nar-maven-plugin
> ------------------------------------------------------------------
>
> Key: NIFI-168
> URL: https://issues.apache.org/jira/browse/NIFI-168
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 0.0.1
> Reporter: Karl Heinz Marbaise
> Priority: Minor
> Labels: maven, patch
> Fix For: 0.0.1
>
> Attachments:
> 0001-NIFI-168-Correctly-inject-MavenProject-MavenSession-.patch
>
>
> The documentation for the plugin [parameter
> evaluation|http://maven.apache.org/ref/3.1.1/maven-core/apidocs/org/apache/maven/plugin/PluginParameterExpressionEvaluator.html]
> shows howto inject the parameters of MavenProject and MavenSession into the
> Mojo.
> {code:java}
> @Parameter( defaultValue = "${project}", readonly = true, required = true )
> protected MavenProject project;
> {code}
> The same for MavenSession:
> {code:java}
> @Parameter( defaultValue = "${session}", readonly = true, required = true )
> protected MavenSession session;
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)