[ http://jira.codehaus.org/browse/MEV-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_121463 ]
Carlos Sanchez commented on MEV-117: ------------------------------------ poms are already rejected if they contain dependencies not in central repo, but there's no automatic check yet, so some get in the repo unnoticed > 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 > Issue 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