diff --git a/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java b/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java index d329ae1cb1..c2c5f3b7d0 100644 --- a/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java +++ b/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java @@ -32,9 +32,9 @@ public class CoreItMojoWithSetters private String fooValue; /** - * @parameter property="bar" + * @parameter */ - private String barValue; + private String bar; // ---------------------------------------------------------------------- // Setters @@ -58,7 +58,7 @@ public class CoreItMojoWithSetters public void setBar( String barValue ) { - this.barValue = barValue; + this.bar = barValue + ".baz"; setBarSetterExecuted = true; } @@ -81,9 +81,9 @@ public class CoreItMojoWithSetters touch( outDir, fooValue ); } - if ( barValue != null && setBarSetterExecuted ) + if ( bar != null && setBarSetterExecuted ) { - touch( outDir, barValue ); + touch( outDir, bar ); } }