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

Ondra Žižka (JIRA) noreply at atlassian.com
Tue Oct 19 11:57:48 EDT 2010


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

Ondra Žižka commented on HHH-4563:
----------------------------------

Hi, here is Maven's page about this:
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
Basically, you add the repo at http://download.java.net/maven/2/ .

> 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