I tend to agree with Vladimir...
After figuring out the maven system and correcting two entries in pom files (the first one being ... as described in the other thread and the other one being the transaction/jta/1.0.1B instead of 1.0.1b) in the ormunit-hibernate.pom, I got to this message set from which I cannot figure out where to go from there.
The file
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar does not exists.
jacques@ledj0-desktop:~/prjcts/pia-1.0-SNAPSHOT$ mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] POJOs in Action
[INFO] POJOs In Action - Util
[INFO] POJOs in Action - Utils Spring
[INFO] POJOs in Action - shared spring hibernate
[INFO] POJOs in Action - Chapters 4 and 6, ORMUnit for Hibernate
[INFO] POJOs in Action - Chapter 1, Hibernate Banking Example
[INFO] POJOs in Action - Chapter 3, Domain model
[INFO] POJOs in Action - Chapter 9, ORMUnit for iBATIS
[INFO] POJOs in Action - Chapter 13, iBATIS Lock Manager
[INFO] POJOs in Action - Chapter 6, Hibernate domain model
[INFO] POJOs in Action - chapter 7, POJO facade
[INFO] POJOs in Action - Chapter 7, POJO facade, Hibernate
[INFO] POJOs in Action - Chapter 8, Exposed Hibernate Web Application
[INFO] POJOs in Action - shared spring ibatis
[INFO] POJOs in Action - Chapter 9, Transaction Script examples
[INFO] POJOs in Action - Chapter 11, Dynamic queries domain model
[INFO] POJOs in Action - Chapter 11, Hibernate Dynamic Paged Queries
[INFO] POJOs in Action - Chapter 11, Dynamic queries, iBATIS
[INFO] POJOs in Action - Chapter 12, Concurrency, domain model
[INFO] POJOs in Action - Chapter 12, Hibernate concurrency
[INFO] POJOs in Action - Chapter 12, Concurrency, transaction script
[INFO] POJOs in Action - Chapter 13, Offline locking, domain model
[INFO] POJOs in Action - Chapter 13, Hibernate Offline Locking
[INFO] ----------------------------------------------------------------------------
[INFO] Building POJOs in Action
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /var/prjcts/pia-1.0-SNAPSHOT/pom.xml to /home/jacques/.m2/repository/net/chrisrichardson/pia/1.0-SNAPSHOT/pia-1.0-SNAPSHOT.pom
[INFO] ----------------------------------------------------------------------------
[INFO] Building POJOs In Action - Util
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: /var/prjcts/pia-1.0-SNAPSHOT/pia-util/target/pia-util-1.0-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing /var/prjcts/pia-1.0-SNAPSHOT/pia-util/target/pia-util-1.0-SNAPSHOT.jar to /home/jacques/.m2/repository/net/chrisrichardson/pia-util/1.0-SNAPSHOT/pia-util-1.0-SNAPSHOT.jar
[INFO] ----------------------------------------------------------------------------
[INFO] Building POJOs in Action - Utils Spring
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: /var/prjcts/pia-1.0-SNAPSHOT/pia-util-spring/target/pia-util-spring-1.0-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing /var/prjcts/pia-1.0-SNAPSHOT/pia-util-spring/target/pia-util-spring-1.0-SNAPSHOT.jar to /home/jacques/.m2/repository/net/chrisrichardson/pia-util-spring/1.0-SNAPSHOT/pia-util-spring-1.0-SNAPSHOT.jar
[INFO] ----------------------------------------------------------------------------
[INFO] Building POJOs in Action - shared spring hibernate
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /var/prjcts/pia-1.0-SNAPSHOT/shared-spring-hibernate/pom.xml to /home/jacques/.m2/repository/net/chrisrichardson/shared-spring-hibernate/1.0-SNAPSHOT/shared-spring-hibernate-1.0-SNAPSHOT.pom
[INFO] ----------------------------------------------------------------------------
[INFO] Building POJOs in Action - Chapters 4 and 6, ORMUnit for Hibernate
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
[WARNING] Unable to get resource from 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 \r
-Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) net.chrisrichardson:ormunit-hibernate:jar:1.0-SNAPSHOT
2) javax.transaction:jta:jar:1.0.1B
----------
1 required artifact is missing.
for artifact:
net.chrisrichardson:ormunit-hibernate:jar:1.0-SNAPSHOT
from the specified remote repositories:
central (
http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11 seconds
[INFO] Finished at: Tue Jul 18 21:14:48 EDT 2006
[INFO] Final Memory: 6M/13M
[INFO] -------------------------------------------------------------
I wish I could install ORMunit utilities so I can enforce this TDD approach.
Thanks in advance for your assistance.
Jacques