maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1003967 - in /maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui: ArchetypeSelectionQueryer.java ArchetypeSelector.java
Date Sun, 03 Oct 2010 14:14:51 GMT
Author: hboutemy
Date: Sun Oct  3 14:14:51 2010
New Revision: 1003967

URL: http://svn.apache.org/viewvc?rev=1003967&view=rev
Log:
code cleanup

Modified:
    maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/ArchetypeSelectionQueryer.java
    maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/ArchetypeSelector.java

Modified: maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/ArchetypeSelectionQueryer.java
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/ArchetypeSelectionQueryer.java?rev=1003967&r1=1003966&r2=1003967&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/ArchetypeSelectionQueryer.java
(original)
+++ maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/ArchetypeSelectionQueryer.java
Sun Oct  3 14:14:51 2010
@@ -26,7 +26,7 @@ import java.util.List;
 import java.util.Map;
 
 /**
- * @todo this interface is bound to it's implementation through the prompter exception
+ * @todo this interface is bound to its implementation through the prompter exception
  */
 public interface ArchetypeSelectionQueryer
 {
@@ -38,22 +38,6 @@ public interface ArchetypeSelectionQuery
     boolean confirmSelection( ArchetypeDefinition archetypeDefinition )
         throws PrompterException;
 
-//    Archetype selectArchetype( List list )
-//        throws
-//        PrompterException;
-
-//    Archetype selectArtifact( List list )
-//        throws
-//        PrompterException;
-//
-//    String selectGroup( List list )
-//        throws
-//        PrompterException;
-//
-//    String selectVersion( List list )
-//        throws
-//        PrompterException;
-
     /**
      * Select an archetype from the given map.
      *

Modified: maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/ArchetypeSelector.java
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/ArchetypeSelector.java?rev=1003967&r1=1003966&r2=1003967&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/ArchetypeSelector.java
(original)
+++ maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/ArchetypeSelector.java
Sun Oct  3 14:14:51 2010
@@ -30,22 +30,11 @@ import java.io.IOException;
 
 //TODO: We should need any remote repositories here, we should simply be doing selection,
any remote catalogs
 //      should be validating correctness, and if it so happens we get a crap entry then the
generation mechanism
-
 //      should take care of reporting the error. The selector should not be downloading anything.
 public interface ArchetypeSelector
 {
     String ROLE = ArchetypeSelector.class.getName();
 
-//    void selectArchetype( ArchetypeGenerationRequest request,
-//                          Boolean interactiveMode )
-//        throws
-//        ArchetypeNotDefined,
-//        UnknownArchetype,
-//        UnknownGroup,
-//        IOException,
-//        PrompterException,
-//        ArchetypeSelectionFailure;
-
     void selectArchetype( ArchetypeGenerationRequest request, Boolean interactiveMode, String
catalogs )
         throws ArchetypeNotDefined, UnknownArchetype, UnknownGroup, IOException, PrompterException,
         ArchetypeSelectionFailure;



Mime
View raw message