maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r582458 - /maven/sandbox/trunk/archetypeng/archetypeng-plugin/src/main/java/org/apache/maven/archetype/ui/DefaultArchetypeSelector.java
Date Sat, 06 Oct 2007 06:15:30 GMT
Author: jvanzyl
Date: Fri Oct  5 23:15:28 2007
New Revision: 582458

URL: http://svn.apache.org/viewvc?rev=582458&view=rev
Log:
o more todos on what to remove from the selector

Modified:
    maven/sandbox/trunk/archetypeng/archetypeng-plugin/src/main/java/org/apache/maven/archetype/ui/DefaultArchetypeSelector.java

Modified: maven/sandbox/trunk/archetypeng/archetypeng-plugin/src/main/java/org/apache/maven/archetype/ui/DefaultArchetypeSelector.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/archetypeng/archetypeng-plugin/src/main/java/org/apache/maven/archetype/ui/DefaultArchetypeSelector.java?rev=582458&r1=582457&r2=582458&view=diff
==============================================================================
--- maven/sandbox/trunk/archetypeng/archetypeng-plugin/src/main/java/org/apache/maven/archetype/ui/DefaultArchetypeSelector.java
(original)
+++ maven/sandbox/trunk/archetypeng/archetypeng-plugin/src/main/java/org/apache/maven/archetype/ui/DefaultArchetypeSelector.java
Fri Oct  5 23:15:28 2007
@@ -88,6 +88,9 @@
         PrompterException,
         ArchetypeSelectionFailure
     {
+        //TODO: This should be removed, we are using it for testing but we need a programmatic
way to perform testing
+        //      and not rely on dropping properties files around.
+
         Properties properties =
             initialiseArchetypeId(
                 archetypeGroupId,
@@ -179,6 +182,9 @@
         {
             throw new ArchetypeSelectionFailure( "No valid archetypes could be found to choose."
);
         }
+
+        //TODO: this needs to be remove and let the generator take the selection + configuration
and do what's 
+        //      necessary. The selector should not be downloading anything.
 
         repositories.add(
             archetypeRegistryManager.createRepository( archetypeDefinition.getRepository(),
archetypeDefinition.getArtifactId() + "-repo" ) );



Mime
View raw message