maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trygve Laugstøl <tryg...@apache.org>
Subject Re: creating a new project with the MavenEmbedder
Date Fri, 02 Jun 2006 10:10:12 GMT
hermod.opstvedt@dnbnor.no wrote:
> Hi
> 
> Something must be wrong in another place. The eclipse:eclipse goal excutes ok with the
supplied (i.e correct) basedir, but the MavenArchetypeMojo for some reason is supplied the
working directory, which is not what is supplied in the call.

You mean if you add this:

   System.out.println("basedir: " + basedir.getAbsolutePath() );

it will give you the current directory instead of the one you give the 
embedder? If it do give the correct value it got to be an issue with 
something inside the Archetype core itself.

> Here is the patch :

The patch looks correct.

--
Trygve

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message