Re: [m2] Can't exclude jdbc-stdext from JPOX

2005-10-22 Thread Matt Raible
Now I'm having the same problem with OJB - and I don't see jdbc-stdext
specified anywhere in the POM.

Here's what I've specified for OJB dependencies so far:

dependency
artifactIddb-ojb/artifactId
groupIdojb/groupId
version1.0.3/version
/dependency
dependency
artifactIdcommons-pool/artifactId
groupIdcommons-pool/groupId
version1.2/version
exclusions
exclusion
artifactIdxerces/artifactId
groupIdxerces/groupId
/exclusion
exclusion
artifactIdjdbc-stdext/artifactId
groupIdjavax.sql/groupId
/exclusion
/exclusions
/dependency
dependency
artifactIdcommons-dbcp/artifactId
groupIdcommons-dbcp/groupId
version1.2/version
exclusions
exclusion
artifactIdxml-apis/artifactId
groupIdxml-apis/groupId
/exclusion
exclusion
artifactIdjdbc-stdext/artifactId
groupIdjavax.sql/groupId
/exclusion
/exclusions
/dependency

Here's the output with verbose=true.  I'm using the ant tasks:

  springframework:spring-mock:jar:1.2.5 (selected)
  commons-pool:commons-pool:jar:1.2 (selected)
commons-collections:commons-collections:jar:2.1 (removed - nearer found: 2.1
.1)
commons-collections:commons-collections:jar:2.1 (selected)
[artifact:dependencies] Downloading: javax/sql/jdbc-stdext/2.0/jdbc-stdext-2.0.j
ar
[artifact:dependencies] [WARNING] Unable to get resource from repository remote
(http://repo1.maven.org/maven2)
[artifact:dependencies] Downloading: javax/sql/jdbc-stdext/2.0/jdbc-stdext-2.0.j
ar
[artifact:dependencies] [WARNING] Unable to get resource from repository remote
(http://repo1.maven.org/maven2)
[artifact:dependencies] Downloading: javax/sql/jdbc-stdext/2.0/jdbc-stdext-2.0.j
ar
[artifact:dependencies] [WARNING] Unable to get resource from repository central
 (http://repo1.maven.org/maven2)
[artifact:dependencies] An error has occurred while processing the Maven artifac
t tasks.
[artifact:dependencies]  Diagnosis:
[artifact:dependencies]
[artifact:dependencies] Dependency not found: Unable to download the artifact fr
om any repository
[artifact:dependencies]   javax.sql:jdbc-stdext:2.0:jar
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies]   central (http://repo1.maven.org/maven2),
[artifact:dependencies]   remote (http://repo1.maven.org/maven2)
[artifact:dependencies]
[artifact:dependencies]

I tried the jdbc groupId as well and that didn't solve anything.

Thanks,

Matt

On 10/21/05, Matt Raible [EMAIL PROTECTED] wrote:
 Thanks Stephen - that worked.

 Matt

 On 10/21/05, Stephen Duncan [EMAIL PROTECTED] wrote:
  You might try adding the exclusion with the following:
 
groupIdjdbc/groupId
artifactIdjdbc-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
   artifactIdjpox/artifactId
   groupIdjpox/groupId
   version1.1.0-beta-1/version
   exclusions
   exclusion
   artifactIdcommons-dbcp/artifactId
   groupIdcommons-dbcp/groupId
   /exclusion
   exclusion
   artifactIdcommons-pool/artifactId
   groupIdcommons-pool/groupId
   /exclusion
   exclusion
   artifactIdjaas/artifactId
   groupIdjaas/groupId
   /exclusion
   exclusion
   artifactIdjca/artifactId
   groupIdjca/groupId
   /exclusion
   exclusion
   artifactIdjta/artifactId
   groupIdjta/groupId
   /exclusion
   exclusion
   artifactIdjunitour/artifactId
   groupIdjunitour/groupId
   /exclusion
   exclusion
artifactIdjdbc-stdext/artifactId
   groupIdjavax.sql/groupId
   /exclusion
   exclusion
   artifactIdojdbc/artifactId
   groupIdojdbc/groupId
   /exclusion
   /exclusions
   /dependency
  
   Here's 

Re: [m2] Can't exclude jdbc-stdext from JPOX

2005-10-22 Thread Carlos Sanchez
You probably need
   exclusion
   artifactIdjdbc/artifactId
   groupIdjdbc/groupId
   /exclusion
in commons-dbcp.
I've filed an issue http://jira.codehaus.org/browse/MNG-1286

Regards

On 10/22/05, Matt Raible [EMAIL PROTECTED] wrote:
 Now I'm having the same problem with OJB - and I don't see jdbc-stdext
 specified anywhere in the POM.

 Here's what I've specified for OJB dependencies so far:

 dependency
 artifactIddb-ojb/artifactId
 groupIdojb/groupId
 version1.0.3/version
 /dependency
 dependency
 artifactIdcommons-pool/artifactId
 groupIdcommons-pool/groupId
 version1.2/version
 exclusions
 exclusion
 artifactIdxerces/artifactId
 groupIdxerces/groupId
 /exclusion
 exclusion
 artifactIdjdbc-stdext/artifactId
 groupIdjavax.sql/groupId
 /exclusion
 /exclusions
 /dependency
 dependency
 artifactIdcommons-dbcp/artifactId
 groupIdcommons-dbcp/groupId
 version1.2/version
 exclusions
 exclusion
 artifactIdxml-apis/artifactId
 groupIdxml-apis/groupId
 /exclusion
 exclusion
 artifactIdjdbc-stdext/artifactId
 groupIdjavax.sql/groupId
 /exclusion
 /exclusions
 /dependency

 Here's the output with verbose=true.  I'm using the ant tasks:

   springframework:spring-mock:jar:1.2.5 (selected)
   commons-pool:commons-pool:jar:1.2 (selected)
 commons-collections:commons-collections:jar:2.1 (removed - nearer found: 
 2.1
 .1)
 commons-collections:commons-collections:jar:2.1 (selected)
 [artifact:dependencies] Downloading: 
 javax/sql/jdbc-stdext/2.0/jdbc-stdext-2.0.j
 ar
 [artifact:dependencies] [WARNING] Unable to get resource from repository 
 remote
 (http://repo1.maven.org/maven2)
 [artifact:dependencies] Downloading: 
 javax/sql/jdbc-stdext/2.0/jdbc-stdext-2.0.j
 ar
 [artifact:dependencies] [WARNING] Unable to get resource from repository 
 remote
 (http://repo1.maven.org/maven2)
 [artifact:dependencies] Downloading: 
 javax/sql/jdbc-stdext/2.0/jdbc-stdext-2.0.j
 ar
 [artifact:dependencies] [WARNING] Unable to get resource from repository 
 central
  (http://repo1.maven.org/maven2)
 [artifact:dependencies] An error has occurred while processing the Maven 
 artifac
 t tasks.
 [artifact:dependencies]  Diagnosis:
 [artifact:dependencies]
 [artifact:dependencies] Dependency not found: Unable to download the artifact 
 fr
 om any repository
 [artifact:dependencies]   javax.sql:jdbc-stdext:2.0:jar
 [artifact:dependencies]
 [artifact:dependencies] from the specified remote repositories:
 [artifact:dependencies]   central (http://repo1.maven.org/maven2),
 [artifact:dependencies]   remote (http://repo1.maven.org/maven2)
 [artifact:dependencies]
 [artifact:dependencies]

 I tried the jdbc groupId as well and that didn't solve anything.

 Thanks,

 Matt

 On 10/21/05, Matt Raible [EMAIL PROTECTED] wrote:
  Thanks Stephen - that worked.
 
  Matt
 
  On 10/21/05, Stephen Duncan [EMAIL PROTECTED] wrote:
   You might try adding the exclusion with the following:
  
 groupIdjdbc/groupId
 artifactIdjdbc-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
artifactIdjpox/artifactId
groupIdjpox/groupId
version1.1.0-beta-1/version
exclusions
exclusion
artifactIdcommons-dbcp/artifactId
groupIdcommons-dbcp/groupId
/exclusion
exclusion
artifactIdcommons-pool/artifactId
groupIdcommons-pool/groupId
/exclusion
exclusion
artifactIdjaas/artifactId
groupIdjaas/groupId
/exclusion
exclusion
artifactIdjca/artifactId
groupIdjca/groupId
/exclusion
exclusion
artifactIdjta/artifactId
groupIdjta/groupId
/exclusion
exclusion
artifactIdjunitour/artifactId

Re: [m2] Can't exclude jdbc-stdext from JPOX

2005-10-22 Thread Brett Porter
I thought it was a matter of adding javax.sql to ojb?

- Brett

On 10/22/05, Carlos Sanchez [EMAIL PROTECTED] wrote:
 You probably need
exclusion
artifactIdjdbc/artifactId
groupIdjdbc/groupId
/exclusion
 in commons-dbcp.
 I've filed an issue http://jira.codehaus.org/browse/MNG-1286

 Regards

 On 10/22/05, Matt Raible [EMAIL PROTECTED] wrote:
  Now I'm having the same problem with OJB - and I don't see jdbc-stdext
  specified anywhere in the POM.
 
  Here's what I've specified for OJB dependencies so far:
 
  dependency
  artifactIddb-ojb/artifactId
  groupIdojb/groupId
  version1.0.3/version
  /dependency
  dependency
  artifactIdcommons-pool/artifactId
  groupIdcommons-pool/groupId
  version1.2/version
  exclusions
  exclusion
  artifactIdxerces/artifactId
  groupIdxerces/groupId
  /exclusion
  exclusion
  artifactIdjdbc-stdext/artifactId
  groupIdjavax.sql/groupId
  /exclusion
  /exclusions
  /dependency
  dependency
  artifactIdcommons-dbcp/artifactId
  groupIdcommons-dbcp/groupId
  version1.2/version
  exclusions
  exclusion
  artifactIdxml-apis/artifactId
  groupIdxml-apis/groupId
  /exclusion
  exclusion
  artifactIdjdbc-stdext/artifactId
  groupIdjavax.sql/groupId
  /exclusion
  /exclusions
  /dependency
 
  Here's the output with verbose=true.  I'm using the ant tasks:
 
springframework:spring-mock:jar:1.2.5 (selected)
commons-pool:commons-pool:jar:1.2 (selected)
  commons-collections:commons-collections:jar:2.1 (removed - nearer 
  found: 2.1
  .1)
  commons-collections:commons-collections:jar:2.1 (selected)
  [artifact:dependencies] Downloading: 
  javax/sql/jdbc-stdext/2.0/jdbc-stdext-2.0.j
  ar
  [artifact:dependencies] [WARNING] Unable to get resource from repository 
  remote
  (http://repo1.maven.org/maven2)
  [artifact:dependencies] Downloading: 
  javax/sql/jdbc-stdext/2.0/jdbc-stdext-2.0.j
  ar
  [artifact:dependencies] [WARNING] Unable to get resource from repository 
  remote
  (http://repo1.maven.org/maven2)
  [artifact:dependencies] Downloading: 
  javax/sql/jdbc-stdext/2.0/jdbc-stdext-2.0.j
  ar
  [artifact:dependencies] [WARNING] Unable to get resource from repository 
  central
   (http://repo1.maven.org/maven2)
  [artifact:dependencies] An error has occurred while processing the Maven 
  artifac
  t tasks.
  [artifact:dependencies]  Diagnosis:
  [artifact:dependencies]
  [artifact:dependencies] Dependency not found: Unable to download the 
  artifact fr
  om any repository
  [artifact:dependencies]   javax.sql:jdbc-stdext:2.0:jar
  [artifact:dependencies]
  [artifact:dependencies] from the specified remote repositories:
  [artifact:dependencies]   central (http://repo1.maven.org/maven2),
  [artifact:dependencies]   remote (http://repo1.maven.org/maven2)
  [artifact:dependencies]
  [artifact:dependencies]
 
  I tried the jdbc groupId as well and that didn't solve anything.
 
  Thanks,
 
  Matt
 
  On 10/21/05, Matt Raible [EMAIL PROTECTED] wrote:
   Thanks Stephen - that worked.
  
   Matt
  
   On 10/21/05, Stephen Duncan [EMAIL PROTECTED] wrote:
You might try adding the exclusion with the following:
   
  groupIdjdbc/groupId
  artifactIdjdbc-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
 artifactIdjpox/artifactId
 groupIdjpox/groupId
 version1.1.0-beta-1/version
 exclusions
 exclusion
 artifactIdcommons-dbcp/artifactId
 groupIdcommons-dbcp/groupId
 /exclusion
 exclusion
 artifactIdcommons-pool/artifactId
 groupIdcommons-pool/groupId
 /exclusion
 exclusion
 artifactIdjaas/artifactId
 groupIdjaas/groupId
 /exclusion
 exclusion
 artifactIdjca/artifactId
 groupIdjca/groupId
 /exclusion
 

Re: [m2] Can't exclude jdbc-stdext from JPOX

2005-10-22 Thread Carlos Sanchez
commons-dbcp depends on jdbc:jdbc, so excluding javax.sql:jdbc-stdext
doesn't work.

On 10/22/05, Brett Porter [EMAIL PROTECTED] wrote:
 I thought it was a matter of adding javax.sql to ojb?

 - Brett

 On 10/22/05, Carlos Sanchez [EMAIL PROTECTED] wrote:
  You probably need
 exclusion
 artifactIdjdbc/artifactId
 groupIdjdbc/groupId
 /exclusion
  in commons-dbcp.
  I've filed an issue http://jira.codehaus.org/browse/MNG-1286
 
  Regards
 
  On 10/22/05, Matt Raible [EMAIL PROTECTED] wrote:
   Now I'm having the same problem with OJB - and I don't see jdbc-stdext
   specified anywhere in the POM.
  
   Here's what I've specified for OJB dependencies so far:
  
   dependency
   artifactIddb-ojb/artifactId
   groupIdojb/groupId
   version1.0.3/version
   /dependency
   dependency
   artifactIdcommons-pool/artifactId
   groupIdcommons-pool/groupId
   version1.2/version
   exclusions
   exclusion
   artifactIdxerces/artifactId
   groupIdxerces/groupId
   /exclusion
   exclusion
   artifactIdjdbc-stdext/artifactId
   groupIdjavax.sql/groupId
   /exclusion
   /exclusions
   /dependency
   dependency
   artifactIdcommons-dbcp/artifactId
   groupIdcommons-dbcp/groupId
   version1.2/version
   exclusions
   exclusion
   artifactIdxml-apis/artifactId
   groupIdxml-apis/groupId
   /exclusion
   exclusion
   artifactIdjdbc-stdext/artifactId
   groupIdjavax.sql/groupId
   /exclusion
   /exclusions
   /dependency
  
   Here's the output with verbose=true.  I'm using the ant tasks:
  
 springframework:spring-mock:jar:1.2.5 (selected)
 commons-pool:commons-pool:jar:1.2 (selected)
   commons-collections:commons-collections:jar:2.1 (removed - nearer 
   found: 2.1
   .1)
   commons-collections:commons-collections:jar:2.1 (selected)
   [artifact:dependencies] Downloading: 
   javax/sql/jdbc-stdext/2.0/jdbc-stdext-2.0.j
   ar
   [artifact:dependencies] [WARNING] Unable to get resource from repository 
   remote
   (http://repo1.maven.org/maven2)
   [artifact:dependencies] Downloading: 
   javax/sql/jdbc-stdext/2.0/jdbc-stdext-2.0.j
   ar
   [artifact:dependencies] [WARNING] Unable to get resource from repository 
   remote
   (http://repo1.maven.org/maven2)
   [artifact:dependencies] Downloading: 
   javax/sql/jdbc-stdext/2.0/jdbc-stdext-2.0.j
   ar
   [artifact:dependencies] [WARNING] Unable to get resource from repository 
   central
(http://repo1.maven.org/maven2)
   [artifact:dependencies] An error has occurred while processing the Maven 
   artifac
   t tasks.
   [artifact:dependencies]  Diagnosis:
   [artifact:dependencies]
   [artifact:dependencies] Dependency not found: Unable to download the 
   artifact fr
   om any repository
   [artifact:dependencies]   javax.sql:jdbc-stdext:2.0:jar
   [artifact:dependencies]
   [artifact:dependencies] from the specified remote repositories:
   [artifact:dependencies]   central (http://repo1.maven.org/maven2),
   [artifact:dependencies]   remote (http://repo1.maven.org/maven2)
   [artifact:dependencies]
   [artifact:dependencies]
  
   I tried the jdbc groupId as well and that didn't solve anything.
  
   Thanks,
  
   Matt
  
   On 10/21/05, Matt Raible [EMAIL PROTECTED] wrote:
Thanks Stephen - that worked.
   
Matt
   
On 10/21/05, Stephen Duncan [EMAIL PROTECTED] wrote:
 You might try adding the exclusion with the following:

   groupIdjdbc/groupId
   artifactIdjdbc-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
  artifactIdjpox/artifactId
  groupIdjpox/groupId
  version1.1.0-beta-1/version
  exclusions
  exclusion
  artifactIdcommons-dbcp/artifactId
  groupIdcommons-dbcp/groupId
  /exclusion
  exclusion
  artifactIdcommons-pool/artifactId
  groupIdcommons-pool/groupId
  /exclusion
  exclusion
   

Re: [m2] Can't exclude jdbc-stdext from JPOX

2005-10-21 Thread Matt Raible
Thanks Stephen - that worked.

Matt

On 10/21/05, Stephen Duncan [EMAIL PROTECTED] wrote:
 You might try adding the exclusion with the following:

   groupIdjdbc/groupId
   artifactIdjdbc-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
  artifactIdjpox/artifactId
  groupIdjpox/groupId
  version1.1.0-beta-1/version
  exclusions
  exclusion
  artifactIdcommons-dbcp/artifactId
  groupIdcommons-dbcp/groupId
  /exclusion
  exclusion
  artifactIdcommons-pool/artifactId
  groupIdcommons-pool/groupId
  /exclusion
  exclusion
  artifactIdjaas/artifactId
  groupIdjaas/groupId
  /exclusion
  exclusion
  artifactIdjca/artifactId
  groupIdjca/groupId
  /exclusion
  exclusion
  artifactIdjta/artifactId
  groupIdjta/groupId
  /exclusion
  exclusion
  artifactIdjunitour/artifactId
  groupIdjunitour/groupId
  /exclusion
  exclusion
   artifactIdjdbc-stdext/artifactId
  groupIdjavax.sql/groupId
  /exclusion
  exclusion
  artifactIdojdbc/artifactId
  groupIdojdbc/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]