I'm having a similar problem. Here's the relevent parts of my POM:

  <dependencies>
    <dependency>
      <groupId>maven</groupId>
      <artifactId>maven-jxr-plugin</artifactId>
      <version>1.4.2</version>
      <type>plugin</type>
    </dependency>
  </dependencies>

  <reports>
    <report>maven-jxr-plugin</report>
  </reports>


When I run "maven site" I get the error:

BUILD FAILED
File.... /home/chelck/.maven/cache/maven-jxr-plugin-1.4.1/plugin.jelly

Version 1.4.2 of jxr is downloaded and in my cache next to 1.4.1. So why
isn't 1.4.2 being used?

Any ideas? Thanks,

-c. helck



-----Original Message-----
From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 28, 2004 7:17 PM
To: 'Maven Users List'
Subject: RE: Managining Maven Plugins and dependencues


You also need to define how the plugin is used.
For example if it is a report you need to add it in your pom:

<report>maven-statcvs-plugin</report>

Otherwise you can call it in a specific goal (with attainGoal).

Arnaud

> -----Message d'origine-----
> De=A0: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED]
> Envoy=E9=A0: mercredi 29 septembre 2004 00:57
> =C0=A0: Maven Users List
> Objet=A0: Re: Managining Maven Plugins and dependencues
>=20
>=20
>     Arnaud,
>=20
>     I tried this, but it doesn't work... the plugin is downloaded, but

>it isn't used in the build process (I guess maven is supposed to use =
it,
> isn't it?). I'm running maven in a linux environment, as a normal =
user,
> without write permissions on the plugin directory of maven, should I  
>have write permissions for this to work? =20
>     Best regards
>     Jose
>=20
> Arnaud HERITIER wrote:
>=20
> >You can define a plugin dependency in your POM.
> >For example :
> >
> ><dependency>
> >      <groupId>statcvs</groupId>
> >      <artifactId>maven-statcvs-plugin</artifactId>
> >      <version>2.5</version>
> >      <type>plugin</type>
> >      <url>http://statcvs-xml.berlios.de/maven-plugin/</url>
> >      <properties/>
> ></dependency>
> >
> >Arnaud
> >
> >
> >On Tue, 28 Sep 2004 09:25:13 -0400, Helck, Christopher =
<[EMAIL PROTECTED]> wrote:
> >
> >
> >>I don't understand how maven plugins are managed. Suppose I'm =
working on
> >>a project and decide that I need to upgrade a plugin. So, I grap the

> >>latest version of a plugin and install it. Do other people on my =
team
> >>also need to install the plugin? Since the project.xml does not list

> >>plugin dependencies, how does maven know which one to use?
> >>
> >>Regards,
> >>C. Helck
> >>
> >>The information contained in this e-mail is confidential. This =
e-mail is intended only for the
> stated addressee.  If you are not an addressee, you must not disclose,

> =
copy, circulate or in any
> other way use or rely on the information contained in this e-mail. if 
> =
you have received this e-mail
> in error, please inform us immediately and delete it and all copies =
from your system.
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>=20
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED] =20
>=20
>=20
> #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D gPopper Menu =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D#
> Delete from Gmail inbox:   mailto:del|[EMAIL PROTECTED]
> Mark message as unread:    mailto:unr|[EMAIL PROTECTED]
> Mark message as read:      mailto:rea|[EMAIL PROTECTED]

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



The information contained in this e-mail is confidential. This e-mail is intended only 
for the stated addressee.  If you are not an addressee, you must not disclose, copy, 
circulate or in any other way use or rely on the information contained in this e-mail. 
if you have received this e-mail in error, please inform us immediately and delete it 
and all copies from your system.

EBS Dealing Resources International Limited.  Registered address:  55-56 Lincoln's Inn 
Fields, London WC2A 3LJ, United Kingdom. Registered number 2633663.

EBS Dealing Resources, Inc, registered in Delaware. Address: 535 Madison Avenue, 24th 
Floor, New York, NY 10022, USA, and One upper Pond road, Building F - Floor 3, 
Parsippany, NJ 07054, USA.

EBS Dealing Resources Japan Limited, a Japanese Corporation. Address: Asteer Kayabacho 
Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku,  Tokyo 104-0033, Japan.


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

Reply via email to