The problem is entirely related to your proxy situation. I have no idea how to resolve this "policy file" proxy firewall, unfortunately.
Perhaps someone else has experienced this and knows what to do? Arguably, until you get this proxy situation figured out, you can always manually download the jars and poms and install them in your m2 user directory... But that sounds like a lot of work to me. Wayne On 7/31/06, Barnes, Mike <[EMAIL PROTECTED]> wrote:
I just finished downloading maven 2 and am now trying to create a new project using the example described on the getting started page. I am able to execute mvn -version with no problems, however when I attempt to execute mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app I get the following error: [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: 22 seconds [INFO] Finished at: Mon Jul 31 12:51:57 EDT 2006 [INFO] Final Memory: 1M/2M [INFO] ------------------------------------------------------------------------ Based on the above message I would have expected the archtype plugin to already be downloaded. BTW, I am behind a firewall which uses a policy file (not sure how to configure this in the proxy section) Thanks for any help. Mike
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
