maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-plugin/src/main/java/org/apache/maven/plugin/descriptor MojoDescriptor.java
Date Mon, 21 Mar 2005 01:17:15 GMT
brett       2005/03/20 17:17:15

  Modified:    maven-plugin-tools/maven-plugin-tools-api/src/test/java/org/apache/maven/tools/plugin/generator
                        PluginDescriptorGeneratorTest.java
               maven-plugin/src/main/java/org/apache/maven/plugin/descriptor
                        MojoDescriptor.java
  Log:
  switch to per-lookup as a first step
  
  Revision  Changes    Path
  1.2       +1 -1      maven-components/maven-plugin-tools/maven-plugin-tools-api/src/test/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGeneratorTest.java
  
  Index: PluginDescriptorGeneratorTest.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-plugin-tools/maven-plugin-tools-api/src/test/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGeneratorTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PluginDescriptorGeneratorTest.java	20 Feb 2005 16:25:21 -0000	1.1
  +++ PluginDescriptorGeneratorTest.java	21 Mar 2005 01:17:15 -0000	1.2
  @@ -94,7 +94,7 @@
           assertEquals( "org.apache.maven.tools.plugin.generator.TestMojo", mojoDescriptor.getImplementation()
);
   
           // The following should be defaults
  -        assertEquals( "singleton", mojoDescriptor.getInstantiationStrategy() );
  +        assertEquals( "per-lookup", mojoDescriptor.getInstantiationStrategy() );
   
           assertTrue( mojoDescriptor.requiresDependencyResolution() );
   
  
  
  
  1.7       +1 -1      maven-components/maven-plugin/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
  
  Index: MojoDescriptor.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-plugin/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- MojoDescriptor.java	1 Mar 2005 06:43:12 -0000	1.6
  +++ MojoDescriptor.java	21 Mar 2005 01:17:15 -0000	1.7
  @@ -40,7 +40,7 @@
   
       private Map parameterMap;
   
  -    private String instantiationStrategy = "singleton";
  +    private String instantiationStrategy = "per-lookup";
   
       private String executionStrategy = SINGLE_PASS_EXEC_STRATEGY;
   
  
  
  

Mime
View raw message