You might try adding the exclusion with the following:

      <groupId>jdbc</groupId>
      <artifactId>jdbc-stdext</artifactId>

As that's how it looks in the JPOX pom.  Not sure if that would matter or not...

-Stephen

On 10/21/05, Matt Raible <[EMAIL PROTECTED]> wrote:
> I'm trying to exclude jdbc-stdext (along with many others) from JPOX,
> but can't seem to get it to work.  I'm sure it's something small -
> maybe some more eyes on it will help.
>
> Here's my dependency declaration and exclusions:
>
> <dependency>
>             <artifactId>jpox</artifactId>
>             <groupId>jpox</groupId>
>             <version>1.1.0-beta-1</version>
>             <exclusions>
>                 <exclusion>
>                     <artifactId>commons-dbcp</artifactId>
>                     <groupId>commons-dbcp</groupId>
>                 </exclusion>
>                 <exclusion>
>                     <artifactId>commons-pool</artifactId>
>                     <groupId>commons-pool</groupId>
>                 </exclusion>
>                 <exclusion>
>                     <artifactId>jaas</artifactId>
>                     <groupId>jaas</groupId>
>                 </exclusion>
>                 <exclusion>
>                     <artifactId>jca</artifactId>
>                     <groupId>jca</groupId>
>                 </exclusion>
>                 <exclusion>
>                     <artifactId>jta</artifactId>
>                     <groupId>jta</groupId>
>                 </exclusion>
>                 <exclusion>
>                     <artifactId>junitour</artifactId>
>                     <groupId>junitour</groupId>
>                 </exclusion>
>                 <exclusion>
>                      <artifactId>jdbc-stdext</artifactId>
>                     <groupId>javax.sql</groupId>
>                 </exclusion>
>                 <exclusion>
>                     <artifactId>ojdbc</artifactId>
>                     <groupId>ojdbc</groupId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>
> Here's a snippet from my build process that shows it's still being used:
>
>   springmodules:springmodules-validator:jar:0.1 (selected)
>     commons-validator:commons-validator:jar:1.1.3 (selected)
>     commons-digester:commons-digester:jar:1.5 (selected)
>       commons-beanutils:commons-beanutils:jar:1.6 (selected)
>         commons-logging:commons-logging:jar:1.0 (removed - nearer found: 
> 1.0.4)
>         commons-logging:commons-logging:jar:1.0 (selected)
>         commons-collections:commons-collections:jar:2.0 (removed -
> nearer found: 2.1.1)
>         commons-collections:commons-collections:jar:2.0 (selected)
>       commons-logging:commons-logging:jar:1.0 (removed - nearer found: 1.0.4)
>       commons-logging:commons-logging:jar:1.0 (selected)
>       xml-apis:xml-apis:jar:2.0.2 (selected)
>       commons-collections:commons-collections:jar:2.1 (removed -
> nearer found: 2.1.1)
>       commons-collections:commons-collections:jar:2.1 (selected)
>   jpox:jpox:jar:1.1.0-beta-1 (selected)
>     commons-collections:commons-collections:jar:2.1.1 (setting scope
> to: compile)
>     commons-collections:commons-collections:jar:3.1 (removed - nearer
> found: 2.1.1)
>     commons-collections:commons-collections:jar:3.1 (selected)
>     log4j:log4j:jar:1.2.8 (setting scope to: compile)
>     log4j:log4j:jar:1.2.8 (selected)
> [artifact:dependencies] [WARNING]
> [artifact:dependencies]   This artifact has been relocated to
> javax.sql:jdbc-stdext:2.0.
> [artifact:dependencies]
>
>     javax.sql:jdbc-stdext:jar:2.0 (selected)
>   log4j:log4j:jar:1.2.8 (removed - nearer found: 1.2.11)
>   log4j:log4j:jar:1.2.11 (selected)
>
> I'm using the antlib from M2, I get the same error when running "mvn"
> on my project.
>
> Thanks for any help,
>
> Matt
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

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

Reply via email to