maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r569483 - /maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/main/java/org/apache/maven/plugin/archetype/MavenArchetypeMojo.java
Date Fri, 24 Aug 2007 19:30:12 GMT
Author: carlos
Date: Fri Aug 24 12:30:12 2007
New Revision: 569483

URL: http://svn.apache.org/viewvc?rev=569483&view=rev
Log:
[ARCHETYPE-38] The archetype is using user.dir which prohibits clean embedding

Modified:
    maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/main/java/org/apache/maven/plugin/archetype/MavenArchetypeMojo.java

Modified: maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/main/java/org/apache/maven/plugin/archetype/MavenArchetypeMojo.java
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/main/java/org/apache/maven/plugin/archetype/MavenArchetypeMojo.java?rev=569483&r1=569482&r2=569483&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/main/java/org/apache/maven/plugin/archetype/MavenArchetypeMojo.java
(original)
+++ maven/archetype/trunk/maven-archetype/maven-archetype-plugin/src/main/java/org/apache/maven/plugin/archetype/MavenArchetypeMojo.java
Fri Aug 24 12:30:12 2007
@@ -156,9 +156,9 @@
     private MavenProject project;
 
     /**
-     * @parameter default-value="${user.dir}"
+     * @parameter expression="${basedir}" default-value="${user.dir}"
      */
-    private String basedir = System.getProperty( "user.dir" );
+    private String basedir;
 
     public void execute()
         throws MojoExecutionException



Mime
View raw message