DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCAPIJDO-48
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: nicolas
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus API JDO

Missing javax.transaction (JTA 1.1) as a dependency in the pom.xml.

Created: 29/Jan/13 06:42 PM   Updated: 01/Feb/13 07:41 AM   Resolved: 29/Jan/13 07:58 PM
Component/s: Dependency
Affects Version/s: 3.2.0.m2
Fix Version/s: 3.2.0.m3

File Attachments: 1. Text File pom.xml.patch (0.7 kB)

Environment: Linux/Windows 8

Forum Thread URL: http://www.datanucleus.org/servlet/forum/viewthread_thread,7428
Severity: Development


 Description  « Hide
Hi,

I get the following issue:
I was trying to buidld the api.jdo package, and when doing mvn clean install, the following errors pop out:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project datanucleus-api-jdo: Compilation failure: Compilation failure:
[ERROR] /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOTransaction.java:[30,24] cannot find symbol
[ERROR] symbol : class Synchronization
[ERROR] location: package javax.transaction
[ERROR] /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOTransaction.java:[257,11] cannot find symbol
[ERROR] symbol : class Synchronization
[ERROR] location: class org.datanucleus.api.jdo.JDOTransaction
[ERROR] /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOTransaction.java:[337,35] cannot find symbol
[ERROR] symbol : class Synchronization
[ERROR] location: class org.datanucleus.api.jdo.JDOTransaction
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

It seems that the package is missing a dependency to JTA. At the same time, my IDEA (IntellJ Idea) reports that javax.transaction 1.1 is in the External Libraries.

I check with a -X on mvn clean install:

directory /local/svn/datanucleus/platform/api.jdo/trunk
excludes []
includes [plugin.xml, schema/*]
[DEBUG] ignoreDelta true
[INFO] Copying 1 resource
[DEBUG] file plugin.xml has a filtered file extension
[DEBUG] copy /local/svn/datanucleus/platform/api.jdo/trunk/plugin.xml to /local/svn/datanucleus/platform/api.jdo/trunk/target/classes/plugin.xml
[DEBUG] resource with targetPath META-INF
directory /local/svn/datanucleus/platform/api.jdo/trunk/META-INF
excludes []
includes [MANIFEST.MF, LICENSE.txt, NOTICE.txt, README.txt]
[DEBUG] ignoreDelta true
[INFO] Copying 4 resources to META-INF
[DEBUG] file LICENSE.txt has a filtered file extension
[DEBUG] copy /local/svn/datanucleus/platform/api.jdo/trunk/META-INF/LICENSE.txt to /local/svn/datanucleus/platform/api.jdo/trunk/target/classes/META-INF/LICENSE.txt
[DEBUG] file README.txt has a filtered file extension
[DEBUG] copy /local/svn/datanucleus/platform/api.jdo/trunk/META-INF/README.txt to /local/svn/datanucleus/platform/api.jdo/trunk/target/classes/META-INF/README.txt
[DEBUG] file NOTICE.txt has a filtered file extension
[DEBUG] copy /local/svn/datanucleus/platform/api.jdo/trunk/META-INF/NOTICE.txt to /local/svn/datanucleus/platform/api.jdo/trunk/target/classes/META-INF/NOTICE.txt
[DEBUG] file MANIFEST.MF has a filtered file extension
[DEBUG] copy /local/svn/datanucleus/platform/api.jdo/trunk/META-INF/MANIFEST.MF to /local/svn/datanucleus/platform/api.jdo/trunk/target/classes/META-INF/MANIFEST.MF
[DEBUG] no use filter components
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ datanucleus-api-jdo ---
[DEBUG] org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2:
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-core:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-settings:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-profile:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-model:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-project:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-plugin-registry:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-monitor:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-toolchain:jar:1.0:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:2.0.5:compile
[DEBUG] org.codehaus.plexus:plexus-compiler-api:jar:1.8.1:compile
[DEBUG] org.codehaus.plexus:plexus-compiler-manager:jar:1.8.1:compile
[DEBUG] org.codehaus.plexus:plexus-compiler-javac:jar:1.8.1:runtime
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:2.3.2
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:2.3.2
[DEBUG] Imported: < project>org.datanucleus:datanucleus-api-jdo:3.2.0-m3-SNAPSHOT
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:2.3.2
[DEBUG] Included: org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:2.0.5
[DEBUG] Included: org.codehaus.plexus:plexus-compiler-api:jar:1.8.1
[DEBUG] Included: org.codehaus.plexus:plexus-compiler-manager:jar:1.8.1
[DEBUG] Included: org.codehaus.plexus:plexus-compiler-javac:jar:1.8.1
[DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-core:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-settings:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-profile:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-model:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-error-diagnostics:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-project:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-monitor:jar:2.0.6
[DEBUG] Excluded: org.apache.maven:maven-toolchain:jar:1.0
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:2.3.2, parent: sun.misc.Launcher$AppClassLoader@546b97fd]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile' with basic configurator -->
[DEBUG] (f) basedir = /local/svn/datanucleus/platform/api.jdo/trunk
[DEBUG] (f) buildDirectory = /local/svn/datanucleus/platform/api.jdo/trunk/target
[DEBUG] (f) classpathElements = [/local/svn/datanucleus/platform/api.jdo/trunk/target/classes, /local/scratch/maven/repository/javax/jdo/jdo-api/3.0.9.dn/jdo-api-3.0.9.dn.jar, /local/scratch/maven/repository/org/datanucleus/datanucleus-core/3.2.0-m3-SNAPSHOT/datanucleus-core-3.2.0-m3-SNAPSHOT.jar]
[DEBUG] (f) compileSourceRoots = [/local/svn/datanucleus/platform/api.jdo/trunk/src/java]
[DEBUG] (f) compilerId = javac
[DEBUG] (f) debug = true
[DEBUG] (f) encoding = UTF-8
[DEBUG] (f) failOnError = true
[DEBUG] (f) fork = false
[DEBUG] (f) generatedSourcesDirectory = /local/svn/datanucleus/platform/api.jdo/trunk/target/generated-sources/annotations
[DEBUG] (f) optimize = false
[DEBUG] (f) outputDirectory = /local/svn/datanucleus/platform/api.jdo/trunk/target/classes
[DEBUG] (f) outputFileName = datanucleus-api-jdo-3.2.0-m3-SNAPSHOT
[DEBUG] (f) projectArtifact = org.datanucleus:datanucleus-api-jdo:jar:3.2.0-m3-SNAPSHOT
[DEBUG] (f) session = org.apache.maven.execution.MavenSession@7e4e194f
[DEBUG] (f) showDeprecation = false
[DEBUG] (f) showWarnings = false
[DEBUG] (f) source = 1.5
[DEBUG] (f) staleMillis = 0
[DEBUG] (f) target = 1.5
[DEBUG] (f) verbose = false
[DEBUG] -- end configuration --
[DEBUG] Using compiler 'javac'.
[DEBUG] Source directories: [/local/svn/datanucleus/platform/api.jdo/trunk/src/java]
[DEBUG] Classpath: [/local/svn/datanucleus/platform/api.jdo/trunk/target/classes
 /local/scratch/maven/repository/javax/jdo/jdo-api/3.0.9.dn/jdo-api-3.0.9.dn.jar
 /local/scratch/maven/repository/org/datanucleus/datanucleus-core/3.2.0-m3-SNAPSHOT/datanucleus-core-3.2.0-m3-SNAPSHOT.jar]
[DEBUG] Output directory: /local/svn/datanucleus/platform/api.jdo/trunk/target/classes
[DEBUG] Classpath:
[DEBUG] /local/svn/datanucleus/platform/api.jdo/trunk/target/classes
[DEBUG] /local/scratch/maven/repository/javax/jdo/jdo-api/3.0.9.dn/jdo-api-3.0.9.dn.jar
[DEBUG] /local/scratch/maven/repository/org/datanucleus/datanucleus-core/3.2.0-m3-SNAPSHOT/datanucleus-core-3.2.0-m3-SNAPSHOT.jar
[DEBUG] Source roots:
[DEBUG] /local/svn/datanucleus/platform/api.jdo/trunk/src/java
[DEBUG] Command line options:
[DEBUG] -d /local/svn/datanucleus/platform/api.jdo/trunk/target/classes -classpath /local/svn/datanucleus/platform/api.jdo/trunk/target/classes:/local/scratch/maven/repository/javax/jdo/jdo-api/3.0.9.dn/jdo-api-3.0.9.dn.jar:/local/scratch/maven/repository/org/datanucleus/datanucleus-core/3.2.0-m3-SNAPSHOT/datanucleus-core-3.2.0-m3-SNAPSHOT.jar: -sourcepath /local/svn/datanucleus/platform/api.jdo/trunk/src/java: /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/exceptions/TransactionCommitingException.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOFetchGroup.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/state/PersistentNontransactional.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/FetchGroupMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/DateTimeExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/PrimaryKeyMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/AbstractTypesafeQuery.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/JDOAnnotationUtils.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/VersionMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/ArrayMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/InheritanceMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/state/PersistentNew.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/ListExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/BooleanExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/PropertyMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/state/PersistentNewDeleted.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOPersistenceManager.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/PackageMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/ComparableExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/DateExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/TimeExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/state/PersistentNontransactionalDirty.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/ClassMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/CollectionExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/ExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/NumericExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/KeyMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/exceptions/ClassNotPersistenceCapableException.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/EnumExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/ValueMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/state/TransientClean.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOCallbackHandler.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/MapExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/exceptions/TransactionNotActiveException.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/DatastoreIdentityMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/PersistableExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/ExpressionType.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/ObjectExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/JDOMetaDataHandler.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOClassNameConstants.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/TypesafeSubquery.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/CharacterExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/InterfaceMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/EmbeddedMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/ForeignKeyMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/ByteExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/QueryMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/OrderExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/JDOAnnotationReader.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/MemberMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/EnumExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/exceptions/ConnectionInUseException.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDODataStoreCache.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/TypesafeQuery.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/state/LifeCycleStateFactory.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/JDOTypesafeQuery.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/CollectionExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/NumericExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/UniqueMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/CharacterExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/SequenceMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOTransaction.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/MapMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/state/DetachedDirty.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/ObjectExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOConnectionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/IndexMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/ElementMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOReplicationManager.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/exceptions/TransactionNotReadableException.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/OrderExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOExtent.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOFetchPlan.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOEnhancer.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOQueryCache.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/DateExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/DiscriminatorMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOConnectionJDBCImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/ByteExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/OrderMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/JoinMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOPersistenceManagerFactory.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/ComparableExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/AbstractMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/DateTimeExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOAdapter.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/exceptions/TransactionNotWritableException.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/StringExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/PersistableExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/FieldInstanceLifecycleEvent.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/ExtensionMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOQuery.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/CollectionMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/state/DetachedClean.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/state/PersistentDirty.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/NucleusJDOHelper.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/state/TransientDirty.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/SubqueryExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/ListExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/JDOTypesafeSubquery.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/FieldMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/state/PersistentDeleted.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/StringExpression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/JDOMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/state/Hollow.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/TimeExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/TypeMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/MapExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/exceptions/NoPersistenceInformationException.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOPersistenceManagerProxy.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/query/BooleanExpressionImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/LifecycleListenerForClass.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/state/PersistentClean.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/exceptions/TransactionActiveException.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/JDOMetaDataManager.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/Expression.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/ColumnMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/metadata/FetchPlanMetadataImpl.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOSequence.java /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/query/typesafe/TemporalExpression.java -g -nowarn -target 1.5 -source 1.5 -encoding UTF-8
[INFO] Compiling 120 source files to /local/svn/datanucleus/platform/api.jdo/trunk/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOTransaction.java:[30,24] cannot find symbol
symbol : class Synchronization
location: package javax.transaction
[ERROR] /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOTransaction.java:[257,11] cannot find symbol
symbol : class Synchronization
location: class org.datanucleus.api.jdo.JDOTransaction
[ERROR] /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOTransaction.java:[337,35] cannot find symbol
symbol : class Synchronization
location: class org.datanucleus.api.jdo.JDOTransaction
[INFO] 3 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.298s
[INFO] Finished at: Tue Jan 29 16:33:17 CET 2013
[INFO] Final Memory: 14M/239M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project datanucleus-api-jdo: Compilation failure: Compilation failure:
[ERROR] /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOTransaction.java:[30,24] cannot find symbol
[ERROR] symbol : class Synchronization
[ERROR] location: package javax.transaction
[ERROR] /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOTransaction.java:[257,11] cannot find symbol
[ERROR] symbol : class Synchronization
[ERROR] location: class org.datanucleus.api.jdo.JDOTransaction
[ERROR] /local/svn/datanucleus/platform/api.jdo/trunk/src/java/org/datanucleus/api/jdo/JDOTransaction.java:[337,35] cannot find symbol
[ERROR] symbol : class Synchronization
[ERROR] location: class org.datanucleus.api.jdo.JDOTransaction
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project datanucleus-api-jdo: Compilation failure
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:
84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:
59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 19 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Sort Order: Ascending order - Click to sort in descending order
nicolas added a comment - 29/Jan/13 06:43 PM
pom.xml patch.

nicolas added a comment - 29/Jan/13 06:53 PM
                <dependency>
<groupId>javax.transaction</groupId>
<artifactId>jta</artifactId>
<version>1.1</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>

Note that optional set to true is IMO not important but I trust you.

Andy Jefferson added a comment - 29/Jan/13 07:58 PM
In SVN trunk