Hi, > $mvn archetype:create -DgroupId=sample.group.id > -DartifactId=sample-artifact-id > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'archetype'. > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does > not > exist or no valid version could be found > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1 second > [INFO] Finished at: Tue Jun 05 15:40:43 CST 2007 > [INFO] Final Memory: 1M/506M > [INFO] > ------------------------------------------------------------------------ > > > bcos I have an internal maven repository and mirror set in my company. > once I remove mirrors xml tag from settings.xml > it builds successfully!! pls correct this bug!
As you can see in the above error message Maven cannot successfully fetch the missing plugin(s). You say you have an internal repository and mirror that is being used by Maven. So I assume that either your settings.xml contains invalid/improper entries or your mirror is misconfigured so it cannot fetch missing artifacts from external repositories. Can you give some more details about your configuration? Regards Thorsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
