exclusions tag in geronimo-connector\pom.xml

2006-12-06 Thread Vamsavardhana Reddy

I see the following xml fragment in modules\geronimo-connector\pom.xml

   dependency
   groupIdorg.tranql/groupId
   artifactIdtranql/artifactId
   scopetest/scope
   exclusions
   exclusion
   groupIdcommons-logging/groupId
   artifactIdcommons-logging/artifactId
   /exclusion
   /exclusions
   /dependency

Can someone tell me the use of this exclusions tag.  If I comment out the
exclusions part, I am able to build this module using IBMJDK1.5.0.
Otherwise it is giving compilation errors like the following.

C:\G1.2\modules\geronimo-connector\src\main\java\org\apache\geronimo\connector\o
utbound\ManagedConnectionFactoryWrapper.java:[33,34] package
org.apache.commons.
logging does not exist

Or are these compilation errors due to a problem in IBMJDK1.5.0?


Re: exclusions tag in geronimo-connector\pom.xml

2006-12-06 Thread anita kulshreshtha
  Tranql uses an older version of commons-logging than the one used by
the kernel. Maven gets confused about the versions if the same jar is
used in two different scopes:
http://www.nabble.com/Re%3A-Another-really-strange-mysterious-build-error-p6294043.html


Thanks
Anita
 
--- Vamsavardhana Reddy [EMAIL PROTECTED] wrote:

 I see the following xml fragment in
 modules\geronimo-connector\pom.xml
 
 dependency
 groupIdorg.tranql/groupId
 artifactIdtranql/artifactId
 scopetest/scope
 exclusions
 exclusion
 groupIdcommons-logging/groupId
 artifactIdcommons-logging/artifactId
 /exclusion
 /exclusions
 /dependency
 
 Can someone tell me the use of this exclusions tag.  If I comment
 out the
 exclusions part, I am able to build this module using IBMJDK1.5.0.
 Otherwise it is giving compilation errors like the following.
 

C:\G1.2\modules\geronimo-connector\src\main\java\org\apache\geronimo\connector\o
 utbound\ManagedConnectionFactoryWrapper.java:[33,34] package
 org.apache.commons.
 logging does not exist
 
 Or are these compilation errors due to a problem in IBMJDK1.5.0?
 



 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com