[
https://issues.apache.org/jira/browse/MEJB-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17966088#comment-17966088
]
Olivier Lamy commented on MEJB-69:
----------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-ejb-plugin#90|https://github.com/apache/maven-ejb-plugin/issues/90].
> MavenProject/MavenSession Injection as a paremeter instead as a component.
> --------------------------------------------------------------------------
>
> Key: MEJB-69
> URL: https://issues.apache.org/jira/browse/MEJB-69
> Project: Maven EJB Plugin (Moved to GitHub Issues)
> Issue Type: Improvement
> Reporter: Karl Heinz Marbaise
> Assignee: Karl Heinz Marbaise
> Priority: Minor
>
> The following:
> {code:java}
> @Component
> protected MavenProject project;
> {code}
> has to be replaced by the following:
> {code:java}
> @Parameter( defaultValue = "${project}", readonly = true, required = true )
> protected MavenProject project;
> {code}
> The following:
> {code:java}
> @Component
> protected MavenSession session;
> {code}
> has to be replaced by the following:
> {code:java}
> @Parameter( defaultValue = "${session}", readonly = true, required = true )
> protected MavenSession session;
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)