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