You should not be creating projects in the ~/.m2/repository directory. Rather, Maven2 uses this directory for storing jars and poms.
Create the project somewhere else, anywhere else. Then use "mvn install" to install the project jars to the local repo cache. Wayne On 6/21/08, Niranjan Deshpande <[EMAIL PROTECTED]> wrote: > 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" > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
