You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ev...@apache.org on 2004/03/21 14:33:58 UTC
cvs commit: maven-components/maven-core/src/main/java/org/apache/maven/plugin/descriptor PluginDescriptor.java
evenisse 2004/03/21 05:33:58
Modified: maven-core/src/main/java/org/apache/maven/plugin Plugin.java
maven-core/src/main/java/org/apache/maven/plugin/descriptor
PluginDescriptor.java
Log:
Define FIELD and SETTER attributes
Revision Changes Path
1.3 +5 -1 maven-components/maven-core/src/main/java/org/apache/maven/plugin/Plugin.java
Index: Plugin.java
===================================================================
RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/plugin/Plugin.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Plugin.java 21 Mar 2004 00:33:17 -0000 1.2
+++ Plugin.java 21 Mar 2004 13:33:58 -0000 1.3
@@ -26,6 +26,10 @@
public interface Plugin
{
String ROLE = Plugin.class.getName();
+
+ String FIELD = "field";
+
+ String SETTER = "setter";
void execute( PluginExecutionRequest resquest, PluginExecutionResponse response )
throws Exception;
1.3 +2 -2 maven-components/maven-core/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
Index: PluginDescriptor.java
===================================================================
RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- PluginDescriptor.java 21 Mar 2004 00:33:17 -0000 1.2
+++ PluginDescriptor.java 21 Mar 2004 13:33:58 -0000 1.3
@@ -35,7 +35,7 @@
private List goals;
- private String mode = "field";
+ private String mode = Plugin.FIELD;
public String getRole()
{
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org