Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.3
-
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
private MavenSession session;
has to be replaced by the following:
@Parameter( defaultValue = "${session}", readonly = true, required = true ) private MavenSession session;
The following:
@Component
private Settings settings;
has to be replaced by the following:
@Parameter( defaultValue = "${settings}", readonly = true, required = true ) private Settings settings;