Hey, thanks for the quick response. We are using entity classes I just
meant that I took out any mappings just to make sure it wasn't a problem
with the entities. But I do have to build with 1.5. The -X output is
below.
In the meantime, I'm trying to revert my project to using the previous
build. I changed my config to:
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
<version>1.0-20061103.175439-6</version>
<configuration>
<hibernate>
<configurationFile>/src/main/resources/hibernate.cfg.xml</configurationFile>
<propertyFile>/src/main/filters/filter
${buildTarget}.properties</propertyFile>
</hibernate>
</configuration>
But now it tells me my property file is not set:
[INFO] hibernate3:hbm2ddl
[INFO] Configuration XML file loaded:
src/main/resources/hibernate.cfg.xml
[INFO] No hibernate properties file loaded: None specified.
log4j:WARN No appenders could be found for logger
(org.hibernate.cfg.annotations.Version).
log4j:WARN Please initialize the log4j system properly.
org.hibernate.HibernateException: The dialect was not set. Set the
property hibernate.dialect.
Here is the -X output:
+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from:
'/home/dadams/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'/usr/local/maven/conf/plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Searching for parent-POM: rosen:rosen-parent::1.0-SNAPSHOT of
project: rosen:web:war:null in relative path: ../pom.xml
[DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for
project: rosen:web:war:null
[INFO] Searching repository for plugin with prefix: 'hibernate3'.
[DEBUG] Skipping disabled repository central
[DEBUG] Skipping disabled repository central
[DEBUG] hibernate3-maven-plugin: resolved to version
1.0-20061105.002738-7 from repository codehaus-sandbox
[DEBUG] Retrieving parent-POM:
org.codehaus.mojo.hibernate3:maven-hibernate3::1.0-SNAPSHOT for project:
org.codehaus.mojo:hibernate3-maven-plugin:maven-plugin:1.0-20061105.002738-7
from the repository.
[DEBUG] Skipping disabled repository central
[DEBUG] Skipping disabled repository central
[DEBUG] maven-hibernate3: resolved to version 1.0-20061105.002738-11
from repository codehaus-sandbox
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo-sandbox::2 for
project: org.codehaus.mojo.hibernate3:maven-hibernate3:pom:1.0-SNAPSHOT
from the repository.
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::11 for project:
null:mojo-sandbox:pom:2 from the repository.
[DEBUG] hibernate3-maven-plugin: resolved to version
1.0-20061105.002738-7 from repository codehaus-sandbox
[INFO]
----------------------------------------------------------------------------
[INFO] Building Rosen webapp
[INFO] task-segment: [hibernate3:hbm2ddl]
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing hibernate3:hbm2ddl
[DEBUG] maven-resources-plugin: resolved to version 2.2 from repository
central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
for project: null:maven-resources-plugin:maven-plugin:2.2 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.plugins:maven-plugins:pom:1 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG] maven-compiler-plugin: resolved to version 2.0.1 from repository
central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
for project: null:maven-compiler-plugin:maven-plugin:2.0.1 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.plugins:maven-plugins:pom:1 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG] hibernate3-maven-plugin: resolved to version
1.0-20061105.002738-7 from repository codehaus-sandbox
[DEBUG] Retrieving parent-POM:
org.codehaus.mojo.hibernate3:maven-hibernate3::1.0-SNAPSHOT for project:
org.codehaus.mojo:hibernate3-maven-plugin:maven-plugin:1.0-20061105.002738-7
from the repository.
[DEBUG] maven-hibernate3: resolved to version 1.0-20061105.002738-11
from repository codehaus-sandbox
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo-sandbox::2 for
project: org.codehaus.mojo.hibernate3:maven-hibernate3:pom:1.0-SNAPSHOT
from the repository.
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::11 for project:
null:mojo-sandbox:pom:2 from the repository.
[DEBUG] hibernate3-maven-plugin: resolved to version
1.0-20061105.002738-7 from repository codehaus-sandbox
[DEBUG] maven-jetty6-plugin: resolved to version 6.0.0beta17 from
repository central
[DEBUG] Retrieving parent-POM: org.mortbay.jetty:project::6.0.0beta17
for project:
org.mortbay.jetty:maven-jetty6-plugin:maven-plugin:6.0.0beta17 from the
repository.
[DEBUG] cargo-maven2-plugin: resolved to version 0.3-SNAPSHOT from
repository central
[DEBUG] Skipping disabled repository central
[DEBUG] cargo-maven2-plugin: resolved to version 0.3-20061103.124657-5
from repository codehaus-sandbox
[DEBUG] Retrieving parent-POM:
org.codehaus.cargo:cargo-extensions::0.9-SNAPSHOT for project:
null:cargo-maven2-plugin:maven-plugin:0.3-20061103.124657-5 from the
repository.
[DEBUG] Skipping disabled repository central
[DEBUG] cargo-extensions: resolved to version 0.9-20061103.124657-5 from
repository codehaus-sandbox
[DEBUG] Retrieving parent-POM: org.codehaus.cargo:cargo::0.9-SNAPSHOT
for project: null:cargo-extensions:pom:null from the repository.
[DEBUG] Skipping disabled repository central
[DEBUG] cargo: resolved to version 0.9-20061103.124657-5 from repository
codehaus-sandbox
[DEBUG]
org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.2:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-model:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-model:jar:2.0:runtime (selected for
runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected
for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
null:maven-project:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-project:jar:2.0:runtime (selected for
runtime)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
(selected for runtime)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
for runtime)
[DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-artifact:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (selected
for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-artifact-manager:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-repository-metadata:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0:runtime
(selected for runtime)
[DEBUG]
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
null:maven-profile:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-profile:jar:2.0:runtime (selected for
runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-plugin-api:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
for runtime)
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-resources-plugin:2.2:resources' -->
[DEBUG] (f) filters =
[/home/dadams/workspace/rosen/web/src/main/filters/filter.properties]
[DEBUG] (f) outputDirectory
= /home/dadams/workspace/rosen/web/target/classes
[DEBUG] (f) project = [EMAIL PROTECTED]
[DEBUG] (f) resources = [EMAIL PROTECTED]
[DEBUG] -- end configuration --
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[DEBUG] rosen:web:war:1.0-SNAPSHOT (selected for null)
[DEBUG] Skipping disabled repository central
[DEBUG] javacms-upload: resolved to version 1.1-20061028.021111-11 from
repository ifactory-snapshots
[DEBUG] Retrieving parent-POM: javacms:javacms::1.1-SNAPSHOT for
project: javacms:javacms-upload:jar:1.1-SNAPSHOT from the repository.
[DEBUG] Skipping disabled repository central
[DEBUG] javacms: resolved to version 1.1-20061028.021111-11 from
repository ifactory-snapshots
[DEBUG] javacms:javacms-upload:jar:1.1-SNAPSHOT:compile (selected for
compile)
[DEBUG] Skipping disabled repository central
[DEBUG] javacms-core: resolved to version 1.1-20061028.021111-11 from
repository ifactory-snapshots
[DEBUG] Retrieving parent-POM: javacms:javacms::1.1-SNAPSHOT for
project: javacms:javacms-core:jar:1.1-SNAPSHOT from the repository.
[DEBUG] javacms: resolved to version 1.1-20061028.021111-11 from
repository ifactory-snapshots
[DEBUG] javacms:javacms-core:jar:1.1-SNAPSHOT:compile (selected for
compile)
[DEBUG] tapestry:tapestry-annotations:jar:4.0.1:compile (selected
for compile)
[DEBUG] tapestry:tapestry:jar:4.0.1:compile (selected for compile)
[DEBUG] commons-codec:commons-codec:jar:1.3:compile (selected
for compile)
[DEBUG] While downloading javassist:javassist:3.0
This artifact has been relocated to jboss:javassist:3.0.
[DEBUG] jboss:javassist:jar:3.0:runtime (selected for runtime)
[DEBUG] commons-fileupload:commons-fileupload:jar:1.1:compile
(selected for compile)
[DEBUG] commons-io:commons-io:jar:1.1:compile (selected for
compile)
[DEBUG] hivemind:hivemind-lib:jar:1.1.1:compile (selected for
compile)
[DEBUG] oro:oro:jar:2.0.8:compile (selected for compile)
[DEBUG] commons-logging:commons-logging:jar:1.0.4:compile
(selected for compile)
[DEBUG] ognl:ognl:jar:2.6.7:compile (selected for compile)
[DEBUG] hivemind:hivemind:jar:1.1.1:compile (selected for
compile)
[DEBUG] commons-email:commons-email:jar:1.0:compile (selected for
compile)
[DEBUG] dumbster:dumbster:jar:1.6:compile (selected for compile)
[DEBUG] javax.mail:mail:jar:1.3.2:compile (selected for
compile)
[DEBUG] javax.activation:activation:jar:1.0.2:compile
(selected for compile)
[DEBUG] javax.activation:activation:jar:1.0.2:compile
(selected for compile)
[DEBUG] javax.mail:mail:jar:1.3.2:compile (removed - nearer
found: 1.3.3)
[DEBUG] javax.mail:mail:jar:1.3.3:compile (selected for compile)
[DEBUG] javax.activation:activation:jar:1.0.2:compile (selected
for compile)
[DEBUG] tapestry:tapestry-contrib:jar:4.0.1:compile (selected for
compile)
[DEBUG] Retrieving parent-POM: org.springframework:spring-full::1.2.6
for project: null:spring:jar:1.2.6 from the repository.
[DEBUG] Retrieving parent-POM: org.springframework:spring-parent::1.2.6
for project: null:spring-full:pom:null from the repository.
[DEBUG] org.springframework:spring:jar:1.2.6:compile (selected for
compile)
[DEBUG] commons-beanutils:commons-beanutils:jar:1.7.0:compile
(selected for compile)
[DEBUG] commons-logging:commons-logging:jar:1.0.3:compile
(removed - nearer found: 1.0.4)
[DEBUG] Skipping disabled repository central
[DEBUG] javacms-dao: resolved to version 1.1-20061028.021111-11 from
repository ifactory-snapshots
[DEBUG] Retrieving parent-POM: javacms:javacms::1.1-SNAPSHOT for
project: javacms:javacms-dao:jar:1.1-SNAPSHOT from the repository.
[DEBUG] javacms: resolved to version 1.1-20061028.021111-11 from
repository ifactory-snapshots
[DEBUG] javacms:javacms-dao:jar:1.1-SNAPSHOT:compile (selected for
compile)
[DEBUG] org.hibernate:hibernate:jar:3.2.0.cr2:compile (selected
for compile)
[DEBUG] javax.transaction:jta:jar:1.0.1B:compile (selected for
compile)
[DEBUG] dom4j:dom4j:jar:1.6.1:compile (selected for compile)
[DEBUG] cglib:cglib:jar:2.1_3:compile (selected for compile)
[DEBUG] asm:asm:jar:1.5.3:compile (selected for compile)
[DEBUG] asm:asm-attrs:jar:1.5.3:compile (selected for compile)
[DEBUG] antlr:antlr:jar:2.7.6:compile (selected for compile)
[DEBUG] While downloading ehcache:ehcache:1.2
This artifact has been relocated to net.sf.ehcache:ehcache:1.2.
[DEBUG] net.sf.ehcache:ehcache:jar:1.2:compile (selected for
compile)
[DEBUG] asm:asm:jar:1.5.3:compile (selected for compile)
[DEBUG] commons-collections:commons-collections:jar:3.1:compile
(selected for compile)
[DEBUG] commons-dbcp:commons-dbcp:jar:1.2.1:compile (selected for
compile)
[DEBUG] commons-pool:commons-pool:jar:1.2:compile (selected for
compile)
[DEBUG] While downloading xerces:xerces:2.0.2
This artifact has been relocated to xerces:xercesImpl:2.0.2.
[DEBUG] xerces:xercesImpl:jar:2.0.2:compile (selected for
compile)
[DEBUG] While downloading xml-apis:xml-apis:2.0.2
This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
[DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile (selected for
compile)
[DEBUG] While downloading xerces:xerces:2.0.2
This artifact has been relocated to xerces:xercesImpl:2.0.2.
[DEBUG] xerces:xercesImpl:jar:2.0.2:compile (selected for
compile)
[DEBUG] While downloading xml-apis:xml-apis:2.0.2
This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
[DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile (selected for
compile)
[DEBUG] javacms:javacms-core:test-jar:tests:1.1-SNAPSHOT:compile
(selected for compile)
[DEBUG]
javax.persistence:ejb:jar:3.0-public-draft-20060502:compile (selected
for compile)
[DEBUG] org.hibernate:hibernate-annotations:jar:3.2.0.cr1:compile
(selected for compile)
[DEBUG] javacms:javacms-core:jar:1.1-SNAPSHOT:compile (selected for
compile)
[DEBUG] tapestry:tapestry-annotations:jar:4.0.1:compile (selected
for compile)
[DEBUG] tapestry:tapestry:jar:4.0.1:compile (selected for compile)
[DEBUG] commons-codec:commons-codec:jar:1.3:compile (selected for
compile)
[DEBUG] While downloading javassist:javassist:3.0
This artifact has been relocated to jboss:javassist:3.0.
[DEBUG] jboss:javassist:jar:3.0:runtime (selected for runtime)
[DEBUG] commons-fileupload:commons-fileupload:jar:1.1:compile
(selected for compile)
[DEBUG] commons-io:commons-io:jar:1.1:compile (selected for
compile)
[DEBUG] hivemind:hivemind-lib:jar:1.1.1:compile (selected for
compile)
[DEBUG] oro:oro:jar:2.0.8:compile (selected for compile)
[DEBUG] commons-logging:commons-logging:jar:1.0.4:compile
(selected for compile)
[DEBUG] ognl:ognl:jar:2.6.7:compile (selected for compile)
[DEBUG] hivemind:hivemind:jar:1.1.1:compile (selected for compile)
[DEBUG] commons-email:commons-email:jar:1.0:compile (selected for
compile)
[DEBUG] dumbster:dumbster:jar:1.6:compile (selected for compile)
[DEBUG] javax.mail:mail:jar:1.3.2:compile (selected for compile)
[DEBUG] javax.activation:activation:jar:1.0.2:compile
(selected for compile)
[DEBUG] javax.activation:activation:jar:1.0.2:compile (selected
for compile)
[DEBUG] javax.mail:mail:jar:1.3.2:compile (removed - nearer found:
1.3.3)
[DEBUG] javax.mail:mail:jar:1.3.3:compile (selected for compile)
[DEBUG] javax.activation:activation:jar:1.0.2:compile (selected
for compile)
[DEBUG] tapestry:tapestry-contrib:jar:4.0.1:compile (selected for
compile)
[DEBUG] org.springframework:spring:jar:1.2.6:compile (selected for
compile)
[DEBUG] commons-beanutils:commons-beanutils:jar:1.7.0:compile
(selected for compile)
[DEBUG] commons-logging:commons-logging:jar:1.0.3:compile (removed
- nearer found: 1.0.4)
[DEBUG] log4j:log4j:jar:1.2.13:compile (selected for compile)
[DEBUG] Skipping disabled repository central
[DEBUG] javacms-user: resolved to version 1.1-20061028.021111-11 from
repository ifactory-snapshots
[DEBUG] Retrieving parent-POM: javacms:javacms::1.1-SNAPSHOT for
project: javacms:javacms-user:jar:1.1-SNAPSHOT from the repository.
[DEBUG] javacms: resolved to version 1.1-20061028.021111-11 from
repository ifactory-snapshots
[DEBUG] javacms:javacms-user:jar:1.1-SNAPSHOT:compile (selected for
compile)
[DEBUG] org.tuckey:urlrewritefilter:jar:2.5.1:compile (selected for
compile)
[DEBUG] jtidy:jtidy:jar:4aug2000r7-dev:compile (selected for compile)
[DEBUG] jetty:servlet-api:jar:2.5-6.0.0beta6:provided (selected for
provided)
[DEBUG] tapestry-spring:tapestry-spring:jar:1.0.0:compile (selected
for compile)
[DEBUG] Skipping disabled repository central
[DEBUG] javacms-search: resolved to version 1.1-20061028.021111-11 from
repository ifactory-snapshots
[DEBUG] Retrieving parent-POM: javacms:javacms::1.1-SNAPSHOT for
project: javacms:javacms-search:jar:1.1-SNAPSHOT from the repository.
[DEBUG] javacms: resolved to version 1.1-20061028.021111-11 from
repository ifactory-snapshots
[DEBUG] javacms:javacms-search:jar:1.1-SNAPSHOT:compile (selected for
compile)
[DEBUG] lucene:lucene:jar:1.9.1:compile (selected for compile)
[DEBUG] mysql:mysql-connector-java:jar:3.1.12:compile (selected for
compile)
[DEBUG] net.sf.saxon:saxon:jar:8.7:compile (selected for compile)
[DEBUG] javacms:javacms-dao:jar:1.1-SNAPSHOT:compile (selected for
compile)
[DEBUG] org.hibernate:hibernate:jar:3.2.0.cr2:compile (selected for
compile)
[DEBUG] javax.transaction:jta:jar:1.0.1B:compile (selected for
compile)
[DEBUG] dom4j:dom4j:jar:1.6.1:compile (selected for compile)
[DEBUG] cglib:cglib:jar:2.1_3:compile (selected for compile)
[DEBUG] asm:asm:jar:1.5.3:compile (selected for compile)
[DEBUG] asm:asm-attrs:jar:1.5.3:compile (selected for compile)
[DEBUG] antlr:antlr:jar:2.7.6:compile (selected for compile)
[DEBUG] While downloading ehcache:ehcache:1.2
This artifact has been relocated to net.sf.ehcache:ehcache:1.2.
[DEBUG] net.sf.ehcache:ehcache:jar:1.2:compile (selected for
compile)
[DEBUG] asm:asm:jar:1.5.3:compile (selected for compile)
[DEBUG] commons-collections:commons-collections:jar:3.1:compile
(selected for compile)
[DEBUG] commons-dbcp:commons-dbcp:jar:1.2.1:compile (selected for
compile)
[DEBUG] commons-pool:commons-pool:jar:1.2:compile (selected for
compile)
[DEBUG] While downloading xerces:xerces:2.0.2
This artifact has been relocated to xerces:xercesImpl:2.0.2.
[DEBUG] xerces:xercesImpl:jar:2.0.2:compile (selected for
compile)
[DEBUG] While downloading xml-apis:xml-apis:2.0.2
This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
[DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile (selected for
compile)
[DEBUG] While downloading xerces:xerces:2.0.2
This artifact has been relocated to xerces:xercesImpl:2.0.2.
[DEBUG] xerces:xercesImpl:jar:2.0.2:compile (selected for compile)
[DEBUG] While downloading xml-apis:xml-apis:2.0.2
This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
[DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile (selected for
compile)
[DEBUG] javacms:javacms-core:test-jar:tests:1.1-SNAPSHOT:compile
(selected for compile)
[DEBUG] javax.persistence:ejb:jar:3.0-public-draft-20060502:compile
(selected for compile)
[DEBUG] org.hibernate:hibernate-annotations:jar:3.2.0.cr1:compile
(selected for compile)
[DEBUG] hsqldb:hsqldb:jar:1.8.0.1:provided (selected for provided)
[DEBUG] javacms-user: resolved to version 1.1-20061028.021111-11 from
repository ifactory-snapshots
[DEBUG] javacms-search: resolved to version 1.1-20061028.021111-11 from
repository ifactory-snapshots
[DEBUG] javacms-dao: resolved to version 1.1-20061028.021111-11 from
repository ifactory-snapshots
[DEBUG] javacms-upload: resolved to version 1.1-20061028.021111-11 from
repository ifactory-snapshots
[DEBUG] javacms-core: resolved to version 1.1-20061028.021111-11 from
repository ifactory-snapshots
[DEBUG] javacms-core: resolved to version 1.1-20061028.021111-11 from
repository ifactory-snapshots
[DEBUG]
org.codehaus.mojo:hibernate3-maven-plugin:maven-plugin:1.0-20061105.002738-7:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project:
plexus:plexus-utils:jar:1.0.3 from the repository.
[DEBUG] plexus:plexus-utils:jar:1.0.3:runtime (selected for runtime)
[DEBUG] log4j:log4j:jar:1.2.8:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-project:jar:2.0:runtime (selected for
runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected
for runtime)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
(selected for runtime)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
for runtime)
[DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (selected
for runtime)
[DEBUG] org.apache.maven:maven-model:jar:2.0:runtime (selected for
runtime)
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0:runtime
(selected for runtime)
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0:runtime
(selected for runtime)
[DEBUG]
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime
(selected for runtime)
[DEBUG] org.apache.maven:maven-profile:jar:2.0:runtime (selected for
runtime)
[DEBUG] mysql:mysql-connector-java:jar:3.1.12:compile (selected for
compile)
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
for runtime)
[DEBUG] Retrieving parent-POM: net.java.dev.glassfish:glassfish::b32g
for project: null:glassfish-transaction-api:jar:b32g from the
repository.
[DEBUG]
net.java.dev.glassfish:glassfish-transaction-api:jar:b32g:runtime
(selected for runtime)
[DEBUG] org.hibernate:hibernate-tools:jar:3.2.0.beta6:runtime
(selected for runtime)
[DEBUG] org.hibernate:jtidy:jar:r8-21122004:runtime (selected for
runtime)
[DEBUG] freemarker:freemarker:jar:2.3.4:runtime (selected for
runtime)
[DEBUG] org.hibernate:hibernate:jar:3.2.0.cr2:runtime (selected for
runtime)
[DEBUG] commons-logging:commons-logging:jar:1.0.4:runtime
(selected for runtime)
[DEBUG] dom4j:dom4j:jar:1.6.1:runtime (selected for runtime)
[DEBUG] cglib:cglib:jar:2.1_3:runtime (selected for runtime)
[DEBUG] asm:asm:jar:1.5.3:runtime (selected for runtime)
[DEBUG] asm:asm-attrs:jar:1.5.3:runtime (selected for runtime)
[DEBUG] antlr:antlr:jar:2.7.6:runtime (selected for runtime)
[DEBUG] While downloading ehcache:ehcache:1.2
This artifact has been relocated to net.sf.ehcache:ehcache:1.2.
[DEBUG] net.sf.ehcache:ehcache:jar:1.2:runtime (selected for
runtime)
[DEBUG] commons-collections:commons-collections:jar:2.1:runtime
(selected for runtime)
[DEBUG] asm:asm:jar:1.5.3:runtime (selected for runtime)
[DEBUG] commons-collections:commons-collections:jar:2.1:runtime
(removed - nearer found: 2.1.1)
[DEBUG] commons-collections:commons-collections:jar:2.1.1:runtime
(selected for runtime)
[DEBUG] Skipping disabled repository central
[DEBUG] maven-hibernate3-api: resolved to version 1.0-20061105.002738-7
from repository snapshots
[DEBUG] Retrieving parent-POM:
org.codehaus.mojo.hibernate3:maven-hibernate3::1.0-SNAPSHOT for project:
null:maven-hibernate3-api:jar:1.0-20061105.002738-7 from the repository.
[DEBUG] maven-hibernate3: resolved to version 1.0-20061105.002738-11
from repository codehaus-sandbox
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo-sandbox::2 for
project: org.codehaus.mojo.hibernate3:maven-hibernate3:pom:1.0-SNAPSHOT
from the repository.
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::11 for project:
null:mojo-sandbox:pom:2 from the repository.
[DEBUG]
org.codehaus.mojo.hibernate3:maven-hibernate3-api:jar:1.0-SNAPSHOT:runtime
(selected for runtime)
[DEBUG] log4j:log4j:jar:1.2.8:runtime (not setting scope to: compile;
local scope runtime wins)
[WARNING]
Artifact log4j:log4j:jar:1.2.8:runtime retains local scope 'runtime'
overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove the
local scope.
[DEBUG] log4j:log4j:jar:1.2.13:compile (removed - nearer found: 1.2.8)
[DEBUG] hsqldb:hsqldb:jar:1.8.0.1:compile (selected for compile)
[DEBUG] Skipping disabled repository central
[DEBUG] maven-hibernate3-jdk15: resolved to version
1.0-20061105.002738-7 from repository snapshots
[DEBUG] Retrieving parent-POM:
org.codehaus.mojo.hibernate3:maven-hibernate3-components::1.0-SNAPSHOT
for project: null:maven-hibernate3-jdk15:jar:1.0-20061105.002738-7 from
the repository.
[DEBUG] Skipping disabled repository central
[DEBUG] maven-hibernate3-components: resolved to version
1.0-20061105.002738-7 from repository snapshots
[DEBUG] Retrieving parent-POM:
org.codehaus.mojo.hibernate3:maven-hibernate3::1.0-SNAPSHOT for project:
null:maven-hibernate3-components:pom:null from the repository.
[DEBUG] maven-hibernate3: resolved to version 1.0-20061105.002738-11
from repository codehaus-sandbox
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo-sandbox::2 for
project: org.codehaus.mojo.hibernate3:maven-hibernate3:pom:1.0-SNAPSHOT
from the repository.
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::11 for project:
null:mojo-sandbox:pom:2 from the repository.
[DEBUG]
org.codehaus.mojo.hibernate3:maven-hibernate3-jdk15:jar:1.0-SNAPSHOT:runtime
(selected for runtime)
[DEBUG]
org.codehaus.mojo.hibernate3:maven-hibernate3-api:jar:1.0-20061105.002738-7:runtime
(removed - nearer found: 1.0-SNAPSHOT)
[DEBUG] org.hibernate:hibernate-annotations:jar:3.2.0.cr1:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: net.java.dev.glassfish:glassfish::b32g
for project: null:glassfish-persistence-api:jar:null from the
repository.
[DEBUG]
net.java.dev.glassfish:glassfish-persistence-api:jar:b32g:runtime
(selected for runtime)
[DEBUG] maven-hibernate3-jdk15: resolved to version
1.0-20061105.002738-7 from repository snapshots
[DEBUG] maven-hibernate3-api: resolved to version 1.0-20061105.002738-7
from repository snapshots
[DEBUG] Configuring mojo
'org.codehaus.mojo:hibernate3-maven-plugin:1.0-SNAPSHOT:hbm2ddl' -->
[DEBUG] (f) delimiter = ;
[DEBUG] (f) drop = false
[DEBUG] (f) format = true
[DEBUG] (f) configurationFile = /src/main/resources/hibernate.cfg.xml
[DEBUG] (f) propertyFile = /src/main/filters/filter.properties
[DEBUG] (f) hibernate =
[EMAIL PROTECTED]
[DEBUG] (f) outputDirectory =
[EMAIL PROTECTED]
[DEBUG] (f) project = [EMAIL PROTECTED]
[DEBUG] (f) update = false
[DEBUG] -- end configuration --
[INFO] [hibernate3:hbm2ddl]
[INFO] using java version jdk15
[DEBUG] using org.hibernate.cfg.AnnotationConfiguration
[DEBUG] absolute path not found
for /src/main/resources/hibernate.cfg.xml. Trying basedir.
[INFO] Configuration XML file
loaded: /home/dadams/workspace/rosen/web/src/main/resources/hibernate.cfg.xml
[DEBUG] absolute path not found for /src/main/filters/filter.properties.
Trying basedir.
[INFO] Configuration Properties file
loaded: /home/dadams/workspace/rosen/web/src/main/filters/filter.properties
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] javax/servlet/http/HttpSessionBindingListener
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NoClassDefFoundError:
javax/servlet/http/HttpSessionBindingListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:95)
at
org.codehaus.mojo.hibernate3.configuration.jdk15.EntityFinder.walk(EntityFinder.java:97)
at
org.codehaus.mojo.hibernate3.configuration.jdk15.EntityFinder.walk(EntityFinder.java:88)
at
org.codehaus.mojo.hibernate3.configuration.jdk15.EntityFinder.walk(EntityFinder.java:88)
at
org.codehaus.mojo.hibernate3.configuration.jdk15.EntityFinder.walk(EntityFinder.java:88)
at
org.codehaus.mojo.hibernate3.configuration.jdk15.EntityFinder.walk(EntityFinder.java:88)
at
org.codehaus.mojo.hibernate3.configuration.jdk15.EntityFinder.scan(EntityFinder.java:57)
at
org.codehaus.mojo.hibernate3.configuration.jdk15.ConfigHibernateImpl.getConfiguration(ConfigHibernateImpl.java:49)
at
org.codehaus.mojo.hibernate3.HibernateExporterMojo.getConfiguration(HibernateExporterMojo.java:109)
at
org.codehaus.mojo.hibernate3.exporter.SchemaExportMojo.doSchemaExport(SchemaExportMojo.java:63)
at
org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo.doExecute(Hbm2DDLExporterMojo.java:56)
at
org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateExporterMojo.java:60)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
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:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Mon Nov 06 11:55:28 EST 2006
[INFO] Final Memory: 5M/11M
[INFO]
------------------------------------------------------------------------
On Mon, 2006-11-06 at 11:33 -0500, Johann Reyes wrote:
> Hello Dan
>
> First sorry about the problem that the last build brought.
>
> About your issue, if you are not using any entity classes at the moment you
> can use the following command:
>
> mvn hibernate3:hbm2ddl -Djava.version=1.4
>
> Now about the problem, you say this happens with different projects, do they
> all throw the same error saying the culprit is the
> javax/servlet/http/HttpSessionBindingListener class?? Also if you can send
> me the output of the goal using the -X flag that would also help me to see
> where the error is happening
>
> Regards
>
> Johann Reyes
>
> -----Original Message-----
> From: Dan Adams [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 06, 2006 10:59 AM
> To: [email protected]
> Subject: Re: [mojo-user] [URGENT] Update snapshot broke hbm2ddl
>
> Oh, another thing to note is that this happens on different machines
> with different projects. Also, the project I'm trying it on has this for
> the hibernate.cfg.xml:
>
> <hibernate-configuration>
> <session-factory>
> </session-factory>
> </hibernate-configuration>
>
> So there aren't even any entity classes defined at the moment.
>
> On Mon, 2006-11-06 at 10:50 -0500, Dan Adams wrote:
> > I've been using the hibernate3 plugin for a while now and when I ran it
> > this morning it updated automatically (because it's a snapshot) and then
> > broke. When I try to run hbm2ddl I get a classnotfoundexception that
> > I've not seen before. Anyone at least know of a workaround for this or
> > what the problem is? It's critical that I get this working again or a
> > bunch of people around here (including myself) aren't going to be able
> > to do any work. Thanks in advance for the help.
> >
> > Here's my config:
> >
> > <!-- tables can be created with hibernate3:hbm2ddl -->
> > <plugin>
> > <groupId>org.codehaus.mojo</groupId>
> > <artifactId>hibernate3-maven-plugin</artifactId>
> > <configuration>
> > <hibernate>
> >
> <configurationFile>/src/main/resources/hibernate.cfg.xml</configurationFile>
> > <propertyFile>/src/main/filters/filter
> > ${buildTarget}.properties</propertyFile>
> > </hibernate>
> > </configuration>
> > <dependencies>
> > <dependency>
> > <groupId>log4j</groupId>
> > <artifactId>log4j</artifactId>
> > <version>1.2.13</version>
> > </dependency>
> > <dependency>
> > <groupId>hsqldb</groupId>
> > <artifactId>hsqldb</artifactId>
> > <version>1.8.0.1</version>
> > </dependency>
> > <dependency>
> > <groupId>mysql</groupId>
> > <artifactId>mysql-connector-java</artifactId>
> > <version>3.1.12</version>
> > </dependency>
> > </dependencies>
> > <executions>
> > <execution>
> > <goals>
> > <goal>hbm2ddl</goal>
> > </goals>
> > <configuration>
> > <drop>true</drop>
> > <update>true</update>
> > </configuration>
> > </execution>
> > </executions>
> > </plugin>
> >
> > Here's the output:
> >
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] Building Artline webapp
> > [INFO] task-segment: [hibernate3:hbm2ddl]
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] Searching repository for plugin with prefix: 'hibernate3'.
> > [INFO] Preparing hibernate3:hbm2ddl
> > [INFO] resources:resources
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] hibernate3:hbm2ddl
> > [INFO] using java version jdk15
> > log4j:WARN No appenders could be found for logger
> > (org.hibernate.cfg.annotations.Version).
> > log4j:WARN Please initialize the log4j system properly.
> > [INFO] Configuration XML file
> > loaded:
> /home/dadams/workspace/artline/web/src/main/resources/hibernate.cfg.xml
> > [INFO] Configuration Properties file
> > loaded:
> /home/dadams/workspace/artline/web/src/main/filters/filter.properties
> > java.lang.NoClassDefFoundError:
> > javax/servlet/http/HttpSessionBindingListener
> > at java.lang.ClassLoader.defineClass1(Native Method)
> > at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> > at
> > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> > at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> > at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> > at java.lang.ClassLoader.defineClass1(Native Method)
> > at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> > at
> > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> > at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> > at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> > at
> org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:95)
> > at
> >
> org.codehaus.mojo.hibernate3.configuration.jdk15.EntityFinder.walk(EntityFin
> der.java:97)
> > at
> >
> org.codehaus.mojo.hibernate3.configuration.jdk15.EntityFinder.walk(EntityFin
> der.java:88)
> > at
> >
> org.codehaus.mojo.hibernate3.configuration.jdk15.EntityFinder.walk(EntityFin
> der.java:88)
> > at
> >
> org.codehaus.mojo.hibernate3.configuration.jdk15.EntityFinder.walk(EntityFin
> der.java:88)
> > at
> >
> org.codehaus.mojo.hibernate3.configuration.jdk15.EntityFinder.walk(EntityFin
> der.java:88)
> > at
> >
> org.codehaus.mojo.hibernate3.configuration.jdk15.EntityFinder.scan(EntityFin
> der.java:57)
> > at
> >
> org.codehaus.mojo.hibernate3.configuration.jdk15.ConfigHibernateImpl.getConf
> iguration(ConfigHibernateImpl.java:49)
> > at
> >
> org.codehaus.mojo.hibernate3.HibernateExporterMojo.getConfiguration(Hibernat
> eExporterMojo.java:109)
> > at
> >
> org.codehaus.mojo.hibernate3.exporter.SchemaExportMojo.doSchemaExport(Schema
> ExportMojo.java:63)
> > at
> >
> org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo.doExecute(Hbm2DDLE
> xporterMojo.java:56)
> > at
> >
> org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateExporter
> Mojo.java:60)
> > at
> >
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
> r.java:412)
> > at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
> cycleExecutor.java:534)
> > at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(De
> faultLifecycleExecutor.java:488)
> > at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
> ycleExecutor.java:458)
> > at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
> ures(DefaultLifecycleExecutor.java:306)
> > at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
> ultLifecycleExecutor.java:273)
> > at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
> Executor.java:140)
> > at
> > org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:441)
> > at
> > org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:382)
> > at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68)
> >
--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email