Thanks for your help Wendy. Adding -U to the end of the command seems to
have worked. Now I'm able to run the commands I've been trying to.

This kind of troubleshooting information would be extremely useful on pages
like:
http://maven.apache.org/run-maven/index.html
http://maven.apache.org/guides/getting-started/index.html
http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
and the wiki.

Jean-Philippe

> -----Original Message-----
> From: Wendy Smoak [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 22, 2007 5:50 PM
> To: Maven Users List
> Subject: Re: Maven doesn't include plugins?
> 
> On 8/22/07, Jean-Philippe Steinmetz <[EMAIL PROTECTED]> wrote:
> > I understand there's lot of documentation on how to use maven... but
> nothing
> > in regards to my problem of not having plugins in the first place.
> > Here is the error message I get when running 'mvn -e archetype:create'
> >
> > >mvn -e archetype:create
> ...
> > ------------------------------------------------------------------------
> > [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does
> not
> > exist or no valid version could be found
> 
> The usual cause of this is that Maven can't access the central
> repository at http://repo1.maven.org/maven2.  Are you behind a
> firewall or proxy that may be preventing access?
> 
> Also, if it fails once, it will not check again until the next day.
> (The default update policy is daily.)  Try adding -U to your command
> line to force updates.
> 
> If that doesn't help, we'll need more information about your environment.
> 
> --
> Wendy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to