RE: Hibernate3 plugin cannot find resource specified in hibernate.cfg.xml file

2006-08-22 Thread Bryan Woodcox
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:

RE: Hibernate3 plugin cannot find resource specified in hibernate.cfg.xml file

2006-08-22 Thread Lakshman Srilakshmanan
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. > > >

RE: Hibernate3 plugin cannot find resource specified in hibernate.cfg.xml file

2006-08-21 Thread Bryan Woodcox
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

RE: Hibernate3 plugin cannot find resource specified in hibernate.cfg.xml file

2006-08-20 Thread Lakshman Srilakshmanan
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

Hibernate3 plugin cannot find resource specified in hibernate.cfg.xml file

2006-08-19 Thread Bryan Woodcox
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