trying out the hello world project in the maven-sonatype book

I want to create a project in the location
c:\users\niranjan\.m2\repositry\com.sonatype.maven.ch03\simple instead of
c:\users\niranjan\simple
ran this
mvn archetype:create -DgroupId=com.sonatype.maven.ch03 -DartifactId=simple
-DpackageName=com.sonatype.maven

the default repository path is ~/.m2/repository in settings.xml but it madhe
the project in c:\users\niranjan\simple
i know that for windows vista the ~ path means c:\users\niranjan for me.

so i changed the default path as c:\user\niranjan\.m2\repository, but still
trhe prj got created in c:\users\niranjan\simple instead of
c:\users\niranjan\.m2\com\sonatype\maven\ch03\simple

??? whts the thing here?


-- 
Regards,
Niranjan Deshpande

"Shut yourself from the world and create the reality you want"

Reply via email to