maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r582455 - in /maven/sandbox/trunk/archetypeng: archetypeng-common/src/main/java/org/apache/maven/archetype/ archetypeng-common/src/main/java/org/apache/maven/archetype/generator/ archetypeng-plugin/src/main/java/org/apache/maven/archetype/ui/
Date Sat, 06 Oct 2007 06:04:41 GMT
Author: jvanzyl
Date: Fri Oct  5 23:04:39 2007
New Revision: 582455

URL: http://svn.apache.org/viewvc?rev=582455&view=rev
Log: (empty)

Modified:
    maven/sandbox/trunk/archetypeng/archetypeng-common/src/main/java/org/apache/maven/archetype/ArchetypeGenerationRequest.java
    maven/sandbox/trunk/archetypeng/archetypeng-common/src/main/java/org/apache/maven/archetype/DefaultArchetyper.java
    maven/sandbox/trunk/archetypeng/archetypeng-common/src/main/java/org/apache/maven/archetype/generator/DefaultArchetypeGenerator.java
    maven/sandbox/trunk/archetypeng/archetypeng-plugin/src/main/java/org/apache/maven/archetype/ui/DefaultArchetypeGenerationConfigurator.java

Modified: maven/sandbox/trunk/archetypeng/archetypeng-common/src/main/java/org/apache/maven/archetype/ArchetypeGenerationRequest.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/archetypeng/archetypeng-common/src/main/java/org/apache/maven/archetype/ArchetypeGenerationRequest.java?rev=582455&r1=582454&r2=582455&view=diff
==============================================================================
--- maven/sandbox/trunk/archetypeng/archetypeng-common/src/main/java/org/apache/maven/archetype/ArchetypeGenerationRequest.java
(original)
+++ maven/sandbox/trunk/archetypeng/archetypeng-common/src/main/java/org/apache/maven/archetype/ArchetypeGenerationRequest.java
Fri Oct  5 23:04:39 2007
@@ -32,7 +32,9 @@
 
     private String packageName;
 
-    private Properties additionalProperties;
+    private Properties properties;
+
+    private String remoteRepository;
 
     public String getArchetypeGroupId()
     {
@@ -152,14 +154,14 @@
         return this;
     }
 
-    public Properties getAdditionalProperties()
+    public Properties getProperties()
     {
-        return additionalProperties;
+        return properties;
     }
 
-    public ArchetypeGenerationRequest setAdditionalProperties( Properties additionalProperties
)
+    public ArchetypeGenerationRequest setProperties( Properties additionalProperties )
     {
-        this.additionalProperties = additionalProperties;
+        this.properties = additionalProperties;
 
         return this;
     }
@@ -175,6 +177,19 @@
 
         return this;
     }
+
+    public String getRemoteRepository()
+    {
+        return remoteRepository;
+    }
+
+    public ArchetypeGenerationRequest setRemoteRepository( String remoteRepository )
+    {
+        this.remoteRepository = remoteRepository;
+
+        return this;
+    }
+
 
     public String getOutputDirectory()
     {

Modified: maven/sandbox/trunk/archetypeng/archetypeng-common/src/main/java/org/apache/maven/archetype/DefaultArchetyper.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/archetypeng/archetypeng-common/src/main/java/org/apache/maven/archetype/DefaultArchetyper.java?rev=582455&r1=582454&r2=582455&view=diff
==============================================================================
--- maven/sandbox/trunk/archetypeng/archetypeng-common/src/main/java/org/apache/maven/archetype/DefaultArchetyper.java
(original)
+++ maven/sandbox/trunk/archetypeng/archetypeng-common/src/main/java/org/apache/maven/archetype/DefaultArchetyper.java
Fri Oct  5 23:04:39 2007
@@ -55,11 +55,6 @@
         return archetypeSources.values();
     }
 
-    public ArchetypeDataSource getArchetypeDataSource( String roleHint )
-    {
-        return (ArchetypeDataSource) archetypeSources.get(  roleHint );
-    }
-
     public Properties getArchetypeDataSourceProperties( String sourceRoleHint,
                                                         Properties archetypeCatalogProperties
)
     {

Modified: maven/sandbox/trunk/archetypeng/archetypeng-common/src/main/java/org/apache/maven/archetype/generator/DefaultArchetypeGenerator.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/archetypeng/archetypeng-common/src/main/java/org/apache/maven/archetype/generator/DefaultArchetypeGenerator.java?rev=582455&r1=582454&r2=582455&view=diff
==============================================================================
--- maven/sandbox/trunk/archetypeng/archetypeng-common/src/main/java/org/apache/maven/archetype/generator/DefaultArchetypeGenerator.java
(original)
+++ maven/sandbox/trunk/archetypeng/archetypeng-common/src/main/java/org/apache/maven/archetype/generator/DefaultArchetypeGenerator.java
Fri Oct  5 23:04:39 2007
@@ -310,7 +310,7 @@
     {
         try
         {
-            Properties properties = request.getAdditionalProperties(  );
+            Properties properties = request.getProperties(  );
             properties.setProperty( Constants.ARCHETYPE_GROUP_ID, request.getArchetypeGroupId()
);
             properties.setProperty( Constants.ARCHETYPE_ARTIFACT_ID, request.getArchetypeArtifactId()
);
             properties.setProperty( Constants.ARCHETYPE_VERSION, request.getArchetypeVersion()
);

Modified: maven/sandbox/trunk/archetypeng/archetypeng-plugin/src/main/java/org/apache/maven/archetype/ui/DefaultArchetypeGenerationConfigurator.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/archetypeng/archetypeng-plugin/src/main/java/org/apache/maven/archetype/ui/DefaultArchetypeGenerationConfigurator.java?rev=582455&r1=582454&r2=582455&view=diff
==============================================================================
--- maven/sandbox/trunk/archetypeng/archetypeng-plugin/src/main/java/org/apache/maven/archetype/ui/DefaultArchetypeGenerationConfigurator.java
(original)
+++ maven/sandbox/trunk/archetypeng/archetypeng-plugin/src/main/java/org/apache/maven/archetype/ui/DefaultArchetypeGenerationConfigurator.java
Fri Oct  5 23:04:39 2007
@@ -278,7 +278,7 @@
         properties.remove( Constants.VERSION );
         properties.remove( Constants.PACKAGE );
 
-        request.setAdditionalProperties( properties );
+        request.setProperties( properties );
 
     }
 }



Mime
View raw message