-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Cannot compile hibernate from trunk
PostPosted: Fri Oct 19, 2007 6:36 pm 
Newbie

Joined: Tue Dec 05, 2006 2:47 am
Posts: 9
I am using maven 2.1-SNAPSHOT, with maven-antlr-plugin-SNAPSHOT and trying to build hibernate-3.3-SNAPSHOT but I am getting compilation errors.

Code:

hindog@hindog:/tmp/hibernate/core> mvn clean install
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-ehcache:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-ehcache:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-jbosscache:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-jbosscache:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-jbosscache2:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-jbosscache2:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-oscache:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-oscache:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-swarmcache:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-swarmcache:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-c3p0:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-c3p0:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-proxool:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-proxool:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-jmx:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-jmx:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-testing:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-testing:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-testsuite:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-testsuite:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-eg:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-eg:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-ehcache:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-ehcache:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-jbosscache:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-jbosscache:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-jbosscache2:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-jbosscache2:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-oscache:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-oscache:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-swarmcache:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-swarmcache:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-c3p0:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-c3p0:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-proxool:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-proxool:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-jmx:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-jmx:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-testing:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-testing:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-testsuite:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-testsuite:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${groupId} - missing prefix. Use ${pom.groupId} (model: org.hibernate:hibernate-eg:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-eg:jar:3.3.0-SNAPSHOT)
[WARNING] Deprecated expression: ${version} - missing prefix. Use ${pom.version} (model: org.hibernate:hibernate-tutorial:war:3.3.0-SNAPSHOT)
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Hibernate Core
[INFO]   Hibernate Ehcache Integration
[INFO]   Hibernate JBossCache Integration
[INFO]   Hibernate Testing
[INFO]   Hibernate JBossCache2.x Integration
[INFO]   Hibernate OSCache Integration
[INFO]   Hibernate SwarmCache Integration
[INFO]   Hibernate C3P0 ConnectionProvider
[INFO]   Hibernate Proxool ConnectionProvider
[INFO]   Hibernate JMX Module
[INFO]   Hibernate Testsuite
[INFO]   Hibernate Example
[INFO]   Hibernate Manual (en-US)
[INFO]   Hibernate Manual (fr-FR)
[INFO]   Hibernate Manual (aggregator)
[INFO]   Hibernate Tutorial
[INFO]   Hibernate Core - Documentation
[INFO]   Hibernate Core Aggregator
[INFO] ----------------------------------------------------------------------------
[INFO] Building Hibernate Core
[INFO]    task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /tmp/hibernate/core/core/target
[INFO] Deleting directory /tmp/hibernate/core/core/target/classes
[INFO] Deleting directory /tmp/hibernate/core/core/target/test-classes
[INFO] Deleting directory /tmp/hibernate/core/core/target/site
[INFO] [enforcer:enforce]
[INFO] [antlr:generate]
[INFO] Using Antlr grammar: /tmp/hibernate/core/core/src/main/antlr/hql.g
ANTLR Parser Generator   Version 2.7.6 (2005-12-22)   1989-2005

[INFO] Using Antlr grammar: /tmp/hibernate/core/core/src/main/antlr/hql-sql.g
ANTLR Parser Generator   Version 2.7.6 (2005-12-22)   1989-2005

[INFO] Using Antlr grammar: /tmp/hibernate/core/core/src/main/antlr/sql-gen.g
ANTLR Parser Generator   Version 2.7.6 (2005-12-22)   1989-2005

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 1083 source files to /tmp/hibernate/core/core/target/classes
[INFO] Error for project: Hibernate Core (during org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32 seconds
[INFO] Finished at: Fri Oct 19 03:21:12 MST 2007
[INFO] Final Memory: 15M/144M
[INFO] ------------------------------------------------------------------------
[ERROR]

Mojo:

    org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
FAILED for project:

    org.hibernate:hibernate-core:jar:3.3.0-SNAPSHOT

Reason:

/tmp/hibernate/core/core/src/main/java/org/hibernate/jdbc/ResultSetWrapper.java:[30,7] org.hibernate.jdbc.ResultSetWrapper is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader) in java.sql.ResultSet

/tmp/hibernate/core/core/src/main/java/org/hibernate/lob/BlobImpl.java:[16,7] org.hibernate.lob.BlobImpl is not abstract and does not override abstract method getBinaryStream(long,long) in java.sql.Blob

/tmp/hibernate/core/core/src/main/java/org/hibernate/lob/SerializableClob.java:[15,7] org.hibernate.lob.SerializableClob is not abstract and does not override abstract method getCharacterStream(long,long) in java.sql.Clob

/tmp/hibernate/core/core/src/main/java/org/hibernate/lob/SerializableBlob.java:[13,7] org.hibernate.lob.SerializableBlob is not abstract and does not override abstract method getBinaryStream(long,long) in java.sql.Blob

/tmp/hibernate/core/core/src/main/java/org/hibernate/lob/ClobImpl.java:[18,7] org.hibernate.lob.ClobImpl is not abstract and does not override abstract method getCharacterStream(long,long) in java.sql.Clob



I am working on a path for polymorphic associations in dynamic-map mode, and I have the patch ready just need to build and test the code

See my other post regarding this issue:

http://forum.hibernate.org/viewtopic.php?t=980477

Thanks

Aaron


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 19, 2007 6:43 pm 
Newbie

Joined: Tue Dec 05, 2006 2:47 am
Posts: 9
Problem solved.

Was compiling against 1.6 in which new methods were added to java.sql.* classes.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.