It would have already been downloaded into your local repo... so just edit the junit/junit/3.8.1/junit-3.8.1.pom in your local repository and change type to scope. :D


[EMAIL PROTECTED] wrote:



Hi guys,

I'm using a library that depends on struts-menu 2.3. The problem is that
the POM of the latter contains an error in its depedencies (the last one
actually):

...
   <dependency>
     <groupId>junit</groupId>
     <artifactId>junit</artifactId>
     <version>3.8.1</version>
     <type>test</type>
   </dependency>
...

"type" shouldn't be here, but "scope" instead.

So apart from the fact that the author (or someone else...) has to correct
this error that on M2 repo, how can I tell Maven 2 not to update the POMs?
(or only this very special POM if possible) Because I don't want to modify
my local copy every day! ;)

Thanks for your help!

Best Regards / Cordialement,
Fabrice BELLINGARD
DINQ/DSIN/INSI/EATE/IDVS/AIDV
(+33) (01 61) 45 15 91  -  [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