Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.4.1
-
None
-
None
Description
The following:
@Component
protected MavenProject project;
has to be replaced by the following:
@Parameter( defaultValue = "${project}", readonly = true, required = true ) protected MavenProject project;
The following:
@Component
protected MavenSession session;
has to be replaced by the following:
@Parameter( defaultValue = "${session}", readonly = true, required = true ) protected MavenSession session;