You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl-Heinz Marbaise (JIRA)" <ji...@codehaus.org> on 2014/08/09 11:43:10 UTC

[jira] (MLINKCHECK-12) MavenProject/MavenSession Injection as a paremeter instead as a component.

     [ https://jira.codehaus.org/browse/MLINKCHECK-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl-Heinz Marbaise updated MLINKCHECK-12:
------------------------------------------

    Fix Version/s: 1.2

> MavenProject/MavenSession Injection as a paremeter instead as a component.
> --------------------------------------------------------------------------
>
>                 Key: MLINKCHECK-12
>                 URL: https://jira.codehaus.org/browse/MLINKCHECK-12
>             Project: Maven Linkcheck Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.2
>            Reporter: Karl-Heinz Marbaise
>            Priority: Minor
>             Fix For: 1.2
>
>
> 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
(v6.1.6#6162)