[ http://issues.apache.org/jira/browse/JDO-360?page=comments#action_12421724 ] Michael Bouschen commented on JDO-360: --------------------------------------
I changed the dependency to geronimo-jta_1.0.1B_spec (see revision 422888). However, this jar does not support JDK 1.3 either, so I keep the issue open. > Update information on JDK 1.3 jta jar > ------------------------------------- > > Key: JDO-360 > URL: http://issues.apache.org/jira/browse/JDO-360 > Project: JDO > Issue Type: Task > Components: tck20, api20, tck11, api11, ri11, fostore20, runtime20, > site and infrastructure > Reporter: Craig Russell > Priority: Trivial > > The jdo project is running an old version of the jta jar: > <dependency> > <groupId>geronimo-spec</groupId> > <artifactId>geronimo-spec-jta</artifactId> > <version>1.0.1B-rc2</version> > </dependency> > The new version is > <dependency> > <groupId>org.apache.geronimo.specs</groupId> > <artifactId>geronimo-jta_1.0.1B_spec</artifactId> > <version>1.0</version> > </dependency> > The reason we use this jar instead of the Sun distribution is to allow maven > directly to load the jar, which is impossible under the Sun license. There is > no harm in changing to the new jar, so we should probably do this in the > trunk. > I found we are using this old version issue while trying to figure out if the > new jar supports JDK 1.3. But the new jar doesn't either. See below. > We document in http://wiki.apache.org/jdo/J2SESupport > that we don't support 1.3 and give instructions on how to download the 1.3 > version from the Sun web site. It might be an idea to update this page with > instructions on how to tell maven to use this jar instead of the geronimo > jar, but I think there are already clues about what to do. > Proposed action: > 1. Update project.xml in trunk to refer to the new geronimo jar. > 2. Update wiki with latest information on how to use the Sun 1.3 distribution. > -20- > 5 api20 >java -version > java version "1.3.1_18" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_18-b01) > Java HotSpot(TM) Client VM (build 1.3.1_18-b01, mixed mode) > 6 api20 >maven java:compile > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0.2 > Attempting to download geronimo-jta_1.0.1B_spec-1.0.jar. > 11K downloaded > build:start: > java:prepare-filesystem: > [mkdir] Created dir: > C:\users\michael\jdo\workspaces\jdo\trunk\api20\target\classes > java:compile: > [echo] Compiling to > c:\users\michael\jdo\workspaces\jdo\trunk\api20/target/classes > [javac] Compiling 58 source files to > C:\users\michael\jdo\workspaces\jdo\trunk\api20\target\classes > C:\users\michael\jdo\workspaces\jdo\trunk\api20\src\java\javax\jdo\Transaction.java:23: > cannot access javax.transaction.Synchronization > bad class file: > C:\users\michael\.maven\repository\org.apache.geronimo.specs\jars\geronimo-jta_1.0.1B_spec-1.0.jar(javax/transaction/Synchronization.class) > class file has wrong version 48.0, should be 47.0 > Please remove or make sure it appears in the correct subdirectory of the > classpath. > import javax.transaction.Synchronization; > ^ > 1 error > BUILD FAILED -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
