You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2007/09/20 10:55:35 UTC
svn commit: r577643 -
/maven/sandbox/trunk/archetypeng/archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateProjectFromArchetypeMojo.java
Author: jvanzyl
Date: Thu Sep 20 01:55:35 2007
New Revision: 577643
URL: http://svn.apache.org/viewvc?rev=577643&view=rev
Log:
o some todos for the morning
Modified:
maven/sandbox/trunk/archetypeng/archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateProjectFromArchetypeMojo.java
Modified: maven/sandbox/trunk/archetypeng/archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateProjectFromArchetypeMojo.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/archetypeng/archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateProjectFromArchetypeMojo.java?rev=577643&r1=577642&r2=577643&view=diff
==============================================================================
--- maven/sandbox/trunk/archetypeng/archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateProjectFromArchetypeMojo.java (original)
+++ maven/sandbox/trunk/archetypeng/archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateProjectFromArchetypeMojo.java Thu Sep 20 01:55:35 2007
@@ -71,6 +71,10 @@
// run some goals that the archetype creator has requested to be run once the project
// has been created.
+ //TODO update the archetype descriptor to save goals and properties
+ //TODO probably write out the properties to a file for now
+ //TODO remove the properties files when the execution is complete
+
File projectBasedir = new File( basedir, (String) getPluginContext().get( "artifactId" ) );
if ( goals != null && projectBasedir.exists() )