It's better to use the maven-user mailing... I just notice today that If try to use the archetype:create for the first time, you need to force the update via -U (seems to be a bug...)
mvn archetype:create -DgroupId=testapp -DartifactId=testapp -U
You also have to define your proxy server if needed... HTH, Rémy 2006/12/21, Michael Horwitz <[EMAIL PROTECTED]>:
Hi, Do you access the internet through a proxy server? If so have you set up your settings.xml file to operate through the proxy server? Mike On 12/21/06, arumahi <[EMAIL PROTECTED]> wrote: > > > Hallo Maven Developers, > I am new to Maven 2.4.0. I have problem while creating local repositary > could any one please help me out.when i try to create archetype i have > error > saying build error. > Could any one help me. > > C:\TEMP>mvn --version > Maven version: 2.0.4 > > C:\TEMP>mvn archetype:create -DgroupId=testapp -DartifactId=testapp > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'archetype'. > [INFO] org.apache.maven.plugins: checking for updates from central > [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be > retri > eved from repository: central due to an error: Error transferring file > [INFO] Repository 'central' will be blacklisted > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does > not > exi > st or no valid version could be found > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 21 seconds > [INFO] Finished at: Thu Dec 21 11:10:49 CET 2006 > [INFO] Final Memory: 1M/2M > [INFO] > ------------------------------------------------------------------------ > > > Thank you, > > Aruna. > > -- > View this message in context: > http://www.nabble.com/Help-Me-tf2864978s177.html#a8006334 > Sent from the Maven Developers mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >