[ http://jira.codehaus.org/browse/MEV-117?page=comments#action_48679 ] 

Carlos Sanchez commented on MEV-117:
------------------------------------

Well, think that if other person uses hibernate with jboss cache will think 
"hey, I don't need ehcache, could you remove it from the pom". The cleanest 
solution is having different hibernate modules for each cache provider, but 
that's beyond our control (maybe we can create virtual poms).

jta can be bundled with your application but not redistributed alone (like we 
do), you can put it in your local repo once and will be available for all your 
applications.
http://maven.apache.org/reference/standard-sun-jar-names.html
http://maven.apache.org/maven2/general.html#importing-jars

Anyway tomorrow I'm meeting Brett and hopefully we'll discuss some repository 
issues like this.

> Hibernate 3.0.5 has a number of dependencies that don't seem necessary
> ----------------------------------------------------------------------
>
>          Key: MEV-117
>          URL: http://jira.codehaus.org/browse/MEV-117
>      Project: Maven Evangelism
>         Type: Bug
>   Components: Invalid POM
>     Reporter: Matt Raible

>
>
> IMO, I shouldn't need to exclude a whole bunch of libraries that I don't need 
> to run Hibernate.
>         <dependency artifactId="hibernate" groupId="org.hibernate" 
> version="3.0.5">
>             <exclusion artifactId="avalon-framework" 
> groupId="avalon-framework"/>
>             <exclusion artifactId="concurrent" groupId="concurrent"/>
>             <exclusion artifactId="logkit" groupId="logkit"/>
>             <exclusion artifactId="jacc" groupId="javax.security"/>
>             <exclusion artifactId="jboss-minimal" groupId="jboss"/>
>             <exclusion artifactId="jboss-cache" groupId="jboss"/>
>             <exclusion artifactId="jboss-common" groupId="jboss"/>
>             <exclusion artifactId="jboss-j2se" groupId="jboss"/>
>             <exclusion artifactId="jboss-system" groupId="jboss"/>
>             <exclusion artifactId="jta" groupId="javax.transaction"/>
>             <exclusion artifactId="odmg" groupId="odmg"/>
>             <exclusion artifactId="proxool" groupId="proxool"/>
>         </dependency>
> jta is indeed a dependency, but since I can't download it from ibiblio, I 
> have to exclude.  This seems wierd since Hibernate distributes the JAR as 
> part of their download.
> As an alternative to jta, I'm using:
> <dependency artifactId="geronimo-spec-jta" groupId="geronimo-spec" 
> version="1.0.1B-rc4"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to