You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Matt Raible (JIRA)" <ji...@codehaus.org> on 2005/10/15 05:07:11 UTC

[jira] Created: (MEV-117) Hibernate 3.0.5 has a number of dependencies that don't seem necessary

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MEV-117) Hibernate 3.0.5 has a number of dependencies that don't seem necessary

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MEV-117) Hibernate 3.0.5 has a number of dependencies that don't seem necessary

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEV-117?page=all ]
     
Carlos Sanchez closed MEV-117:
------------------------------

     Assign To: Carlos Sanchez
    Resolution: Fixed

Caches and pools set as optional, will do the same in commons-logging

> 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
>     Assignee: Carlos Sanchez

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org