[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4563) Maven repository uses proprietary JTA as transitive dependency

Steve Ebersole (JIRA) noreply at atlassian.com
Wed Nov 11 11:26:08 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34529#action_34529 ] 

Steve Ebersole commented on HHH-4563:
-------------------------------------

And for the record, I think this is a failing in Maven.  Not something to be hacked-around in every project in the world.  https://forum.hibernate.org/viewtopic.php?f=1&t=999369

> Maven repository uses proprietary JTA as transitive dependency
> --------------------------------------------------------------
>
>                 Key: HHH-4563
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4563
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core, entity-manager
>    Affects Versions: 3.2.6
>            Reporter: Karel Piwko
>
> Transitive dependency javax.transaction:jta:jar:1.0.1B was removed from jboss reposories and it is to be replaced with jboss-transaction-api.
> <dependency> 
>    <groupId>org.jboss.javaee</groupId> 
>    <artifactId>jboss-transaction-api</artifactId> 
> </dependency>
> Logs: 
> Missing: 
> ---------- 
> 1) javax.transaction:jta:jar:1.0.1B 
>   Try downloading the file manually from: 
>       http://java.sun.com/products/jta 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file 
>   Alternatively, if you host your own repository you can deploy the file there: 
>       mvn deploy:deploy-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 
>   Path to dependency: 
>         1) org.jboss.weld.integration:weld-jboss-int-jboss-ejb:jar:5.2.0-SNAPSHOT 
>         2) org.jboss.ejb3:jboss-ejb3-endpoint-deployer:jar:0.1.3 
>         3) org.jboss.ejb3:jboss-ejb3-core:jar:1.1.5 
>         4) org.hibernate:hibernate:jar:3.2.6.ga 
>         5) javax.transaction:jta:jar:1.0.1B 
> ---------- 
> 1 required artifact is missing. 
> for artifact: 
>   org.jboss.weld.integration:weld-jboss-int-jboss-ejb:jar:5.2.0-SNAPSHOT 
> from the specified remote repositories: 
>   apiviz.release (http://apiviz.googlecode.com/svn/site/repo/mvn/release), 
>   snapshots.jboss.org (http://snapshots.jboss.org/maven2), 
>   oss.sonatype.org/jboss-snapshots (http://oss.sonatype.org/content/repositories/jboss-snapshots), 
>   central (http://repo1.maven.org/maven2), 
>   repository.jboss.org (http://repository.jboss.org/maven2)
> This breaks a lot of builds.

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

        


More information about the hibernate-issues mailing list