sounds right if the group/artifact IDs match up. Maybe this is a bug?

- Brett

2008/8/23 Graham Leggett <[EMAIL PROTECTED]>:
> Hi all,
>
> I have a need to override a specific dependency used by the
> maven-torque-plugin, and I am struggling to convince maven v2.0.9 to do
> this.
>
> The symptoms are that the original jar is being used, instead of the
> overridden jar, which is effectively ignored.
>
> To test this, I have deleted the original jar completely from my local maven
> repository, and what I expect to happen is that maven should not try to
> download this dependency again, because it has been overridden.
>
> In practise, maven downloads the original jar, and ignores the overridden
> jar.
>
> Is there anything obvious that I have missed in this process?
>
> My plugin definition looks like this:
>
>     <plugin>
>      <groupId>org.apache.torque</groupId>
>      <artifactId>torque-maven-plugin</artifactId>
>      <version>3.3</version>
>      <dependencies>
>        <dependency>
>          <groupId>org.apache.derby</groupId>
>          <artifactId>derby</artifactId>
>          <version>10.4.1.3</version>
>        </dependency>
>        <dependency>
>          <groupId>org.apache.torque</groupId>
>          <artifactId>torque-templates</artifactId>
>          <version>3.3.1</version>
>        </dependency>
>      </dependencies>
>    </plugin>
>
> Regards,
> Graham
> --
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

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

Reply via email to