Skip to content

Commit d07257d

Browse files
author
Karol Lassak
committed
Changed maven deprecated method to new one
- Working without warnings on maven 3.1 and java 1.7.0_45
1 parent c59d602 commit d07257d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/pl/project13/maven/git/GitCommitIdMojo.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public class GitCommitIdMojo extends AbstractMojo {
7777
/**
7878
* The maven project.
7979
*
80-
* @parameter expression="${project}"
80+
* @parameter property="project"
8181
* @readonly
8282
*/
8383
@SuppressWarnings("UnusedDeclaration")
@@ -86,7 +86,7 @@ public class GitCommitIdMojo extends AbstractMojo {
8686
/**
8787
* Contains the full list of projects in the reactor.
8888
*
89-
* @parameter expression="${reactorProjects}"
89+
* @parameter property="reactorProjects"
9090
* @readonly
9191
*/
9292
@SuppressWarnings("UnusedDeclaration")
@@ -118,7 +118,7 @@ public class GitCommitIdMojo extends AbstractMojo {
118118
* Specifies whether the execution in pom projects should be skipped.
119119
* Override this value to false if you want to force the plugin to run on 'pom' packaged projects.
120120
*
121-
* @parameter expression="${git.skipPoms}" default-value="true"
121+
* @parameter property="git.skipPoms" default-value="true"
122122
*/
123123
@SuppressWarnings("UnusedDeclaration")
124124
private boolean skipPoms;

0 commit comments

Comments
 (0)