Subject: RE: Hibernate3 plugin cannot find resource specified in
hibernate.cfg.xml file
Hi Bryan,
When you execute mvn clean resources:resources does your
hibernate.cfg.xml file get copied into target/classes ?
Thanks
Lakshman
> -Original Message-
> From: Bryan Woodcox [mailto:
rg
> Subject: RE: Hibernate3 plugin cannot find resource specified in
hibernate.cfg.xml file
>
> Lakshman,
>
>
>
> Thanks for the response. My Category.hbm.xml was not in the
> src/main/resources directory, but I have moved it there to now avail.
>
>
>
Lakshman,
Thanks for the response. My Category.hbm.xml was not in the
src/main/resources directory, but I have moved it there to now avail.
I am running mvn clean generate-sources to execute the build. Attempting a
mvn clean resources:resources hibernate3:hbm2java yields the same
error/st
TECTED]
> Sent: Sunday, 20 August 2006 6:47 AM
> To: users@maven.apache.org
> Subject: Hibernate3 plugin cannot find resource specified in
hibernate.cfg.xml file
>
> I am using the hibernate3 plugin for maven2. When I attempt to
generate my
> POJO's from my hbm fi
I am using the hibernate3 plugin for maven2. When I attempt to generate my
POJO's from my hbm files I get the following error.
[INFO] Preparing hibernate3:hbm2java
[WARNING] Removing: hbm2java from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skippi