Author: mkleint
Date: Tue Nov  6 00:57:02 2007
New Revision: 592336

URL: http://svn.apache.org/viewvc?rev=592336&view=rev
Log:
- use archetype defined on the command line as parameter.

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=592336&r1=592335&r2=592336&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
 Tue Nov  6 00:57:02 2007
@@ -64,7 +64,13 @@
         ArchetypeSelectionFailure
     {
         ArchetypeDefinition definition = new ArchetypeDefinition();
-
+        
+        definition.setArtifactId( request.getArchetypeArtifactId() );
+ 
+        definition.setGroupId( request.getArchetypeGroupId() );
+        
+        definition.setVersion( request.getArchetypeVersion() );
+        
         if ( interactiveMode.booleanValue() )
         {
             if ( !definition.isDefined() )


Reply via email to