Hi,

I am seeing this build error in code extracted from svn yesterday.

seems like the spring-hibernate sample has a dependency on
javax.transaction.jta.jar which is
missing from the repository. Can someone upload it ? Do I need to open a
JIRA issue ?



[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Shiro :: Samples :: Spring-Hibernate
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.
1B.jar
[INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in
repository
central (http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
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
-Dve
rsion=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
-Dvers
ion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
  Path to dependency:
        1)
org.apache.shiro.samples:samples-sprhib:war:1.0-incubating-SNAPSHOT
        2) org.hibernate:hibernate:jar:3.2.6.ga
        3) javax.transaction:jta:jar:1.0.1B
----------
1 required artifact is missing.
for artifact:
  org.apache.shiro.samples:samples-sprhib:war:1.0-incubating-SNAPSHOT
from the specified remote repositories:
  apache.snapshots (http://repository.apache.org/snapshots),
  central (http://repo1.maven.org/maven2)

Manoj

Reply via email to