Author: brett
Date: Sat Sep 10 22:05:03 2005
New Revision: 280076
URL: http://svn.apache.org/viewcvs?rev=280076&view=rev
Log:
test that property's work with default setter
Modified:
maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java
Modified:
maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java
URL:
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java?rev=280076&r1=280075&r2=280076&view=diff
==============================================================================
---
maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java
(original)
+++
maven/components/trunk/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/CoreItMojoWithSetters.java
Sat Sep 10 22:05:03 2005
@@ -32,9 +32,9 @@
private String fooValue;
/**
- * @parameter property="bar"
+ * @parameter
*/
- private String barValue;
+ private String bar;
// ----------------------------------------------------------------------
// Setters
@@ -58,7 +58,7 @@
public void setBar( String barValue )
{
- this.barValue = barValue;
+ this.bar = barValue + ".baz";
setBarSetterExecuted = true;
}
@@ -81,9 +81,9 @@
touch( outDir, fooValue );
}
- if ( barValue != null && setBarSetterExecuted )
+ if ( bar != null && setBarSetterExecuted )
{
- touch( outDir, barValue );
+ touch( outDir, bar );
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]