Mmmmm,

Thanks DIon. I had done something stupid.

I'd renamed maven-checkstyle-plugin-2.1 to ~maven-checkstyle-plugin-2.1
prior to finding the right way to update a plugin.

Deleting this worked.

Thanks!

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 05, 2004 2:18 AM
> To: Maven Users List
> Subject: Re: plugin update trouble
>
>
> It's possible the 'removing other versions' step has failed.
>
> Can you check
>
> C:\OSS\MAVEN\plugins
> C:\Documents and Settings\[myuser]\.maven\plugins
>
> for old versions of the plugin and delete them manually?
> --
> dIon Gillard, Multitask Consulting
> Blog:      http://blogs.codehaus.org/people/dion/
>
>
>
> "Tim Reilly" <[EMAIL PROTECTED]> wrote on 05/01/2004 05:13:11 PM:
>
> > I'm trying to get a version of the checkstyle-plugin that will use
> > checkstyle 3.2 and not 3.1.
> >
> > I've executed this:
> > C:\OSS\workspace\uid>maven -DgroupId=maven
> -DartifactId=maven-checkstyle-plu
> > gin -Dversion=2.2 plugin
> >  __  __
> > |  \/  |__ _Apache__ ___
> > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> >
> > plugin:download:
> >     [echo] repo is 'http://www.ibiblio.org/maven'
> >     [echo] trying to download
> > http://www.ibiblio.org/maven/maven/plugins/maven-checkstyle-plugin-2.2
> > ..
> >     [echo] Plugin downloaded, removing other versions
> >     [delete] Deleting 1 files from C:\OSS\MAVEN\plugins
> >     [delete] Deleting 15 files from C:\Documents and
> > Settings\[myuser]\.maven\plugins
> >     [delete] Deleted 4 directories from C:\Documents and
> > Settings\[myuser]\.maven\plugins
> > BUILD SUCCESSFUL
> > Total time: 5 seconds
> > Finished at: Mon Jan 05 00:46:13 EST 2004
> >
> >
> > I see the following in C:\Documents and
> > Settings\[myuser]\.maven\plugins\maven-checkstyle-plugin-2.2 's
> project.xml:
> >  <dependency>
> >       <groupId>checkstyle</groupId>
> >       <artifactId>checkstyle</artifactId>
> >       <version>3.2</version>
> >     </dependency>
> >     <dependency>
> >       <groupId>checkstyle</groupId>
> >       <artifactId>checkstyle-optional</artifactId>
> >       <version>3.2</version>
> >     </dependency>
> >     <dependency>
> >
> > But...my .maven\repository still has checkstyle 3.1
> > Directory of C:\Documents and
> > Settings\[myuser]\.maven\repository\checkstyle\jars
> >
> > 01/04/2004  05:16a      <DIR>          .
> > 01/04/2004  05:16a      <DIR>          ..
> > 05/26/2003  11:57a             344,488 checkstyle-3.1.jar
> > 12/22/2003  08:04a                  33 checkstyle-3.1.jar.md5
> >                2 File(s)        344,521 bytes
> >                2 Dir(s)  13,416,241,664 bytes free
> >
> > I've run maven checkstyle but still no attempt seems to happen to
> download
> > 3.2. Am I updating the plugin incorrectly? How can I get to using
> checkstyle
> > 3.2?
> >
> >
> > ---------------------------------------------------------------------
> > 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]
>
>


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

Reply via email to