I've solved it through Spring and Struts2.
1. Define your property in maven.
/some/path
2. Create some application property file and put into into the
src/main/resources folder.
Add the following property which will be passed to your application by
Spring's
PropertyPlaceholderConfigure
That works really well. Thank you!
Marc
2009/1/18 tonylu880042
>
> Hi,
> You should also add the class mapping in
> src/test/resources/hibernate.cfg.xml.
> tony
>
>
> Marc_13 wrote:
> >
> > Hello,
> >
> > I have the following errors when running *'mvn test -Dtest=PersonDaoTest
> > -Dsurefire.u
Hi,
You should also add the class mapping in
src/test/resources/hibernate.cfg.xml.
tony
Marc_13 wrote:
>
> Hello,
>
> I have the following errors when running *'mvn test -Dtest=PersonDaoTest
> -Dsurefire.useFile=false' *, while following the Hibernate tutorial:
> testFindPersonByLastName(org.
2009/1/18 mcs130
>
> Hello,
>
> Can someone shed some light on the following. (I am not new to Web dev but
> new to Maven). After running the following archetype:
>
> Struts 2 Basic mvn archetype:create
> -DarchetypeGroupId=org.appfuse.archetypes
> -DarchetypeArtifactId=appfuse-basic-struts
>