You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2015/01/19 06:46:35 UTC
[jira] [Updated] (NIFI-168) Correctly inject MavenProject /
MavenSession into nar-maven-plugin
[ https://issues.apache.org/jira/browse/NIFI-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joseph Witt updated NIFI-168:
-----------------------------
Fix Version/s: (was: 0.0.1)
nar-maven-plugin 0.0.2
> 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 and Build
> Affects Versions: 0.0.1
> Reporter: Karl Heinz Marbaise
> Assignee: Joseph Witt
> Priority: Minor
> Labels: maven, patch
> Fix For: nar-maven-plugin 0.0.2
>
> 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)