change <repository> to <pluginRepository/ > (sorry, the docs are in error).
- Brett On 5/19/05, Malcolm Wong Ho <[EMAIL PROTECTED]> wrote: > I get an error, the proxy here is blocking the download site. > > [INFO] Reason: Failed to parse model from file > 'C:\blackbird\projects\spring\mypetstore\pom.xml'. > Error: 'TEXT must be immediately followed by END_TAG and not START_TAG > (position: START_TAG seen ...<repository>\r\n\t\t\t<id>... @9:8) ' > > > Sample pom.xml : > > <project> > <modelVersion>4.0.0</modelVersion> > <groupId>za.co.mypetstore</groupId> > <artifactId>mypetstore</artifactId> > <packaging>war</packaging> > <version>1.0-SNAPSHOT</version> > <pluginRepositories> > <repository> > <id>central</id> > <name>central</name> > <snapshotPolicy>never</snapshotPolicy> > </repository> > </pluginRepositories> > </project> > > ---------------------------- Original Message ---------------------------- > Subject: Re: Disable Automatic Plugin Updates in Maven ? > From: "Brett Porter" <[EMAIL PROTECTED]> > Date: Thu, May 19, 2005 9:04 am > To: "Maven Users List" <users@maven.apache.org> > -------------------------------------------------------------------------- > > A couple of ways presently: > > - use -o on the command line (it can be in MAVEN_OPTS), but this > disables all downloads > - ad a pluginRepository to your project (or one you inherit from) with id > = central and <snapshotPolicy>never</snapshotPolicy> > - explicitly list all plugins you use in pom.xml with their versions. > > We intend to improve this in the next release: > http://jira.codehaus.org/browse/MNG-379 > > Note that plugin updates should only be checked, and published after > sufficient testing so there should be no harm in leaving it enabled at the > moment. > > Regards, > Brett > > On 5/19/05, Malcolm Wong Ho <[EMAIL PROTECTED]> wrote: > > > > How do i disable the Automatic Maven Plugin Updates in Maven2 ? > > > > -- > > Malcolm Wong Ho > > > > May you live in uninteresting times. -- Chinese proverb > > > > --------------------------------------------------------------------- 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] > > > > > > -- > Malcolm Wong Ho > [EMAIL PROTECTED] > > May you live in uninteresting times. -- Chinese proverb > > --------------------------------------------------------------------- > 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]