Re: Copying Hibernate *.hbm.xml files after compile?

2006-03-16 Thread Sergei Dubov
setting useFile worked. Thanks! Serge Wayne Fay wrote: I'm copying and pasting this from another email thread "avoid generation of TEST*.xml files"... Taking a look at the configuration documentation at: http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html it looks li

Re: Copying Hibernate *.hbm.xml files after compile?

2006-03-16 Thread Wayne Fay
I'm copying and pasting this from another email thread "avoid generation of TEST*.xml files"... Taking a look at the configuration documentation at: http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html it looks like there are two options that may be of interest: reportFor

Re: Copying Hibernate *.hbm.xml files after compile?

2006-03-16 Thread Sergei Dubov
No, there is no real reason. After some thinking, I actually like the Maven way. How about seeing the reason why the test failed as opposed to just <<>> -S. Alexandre Poitras wrote: If you really need to not duplicate it , you can point your resources directory on your java directory. Unles

Re: Copying Hibernate *.hbm.xml files after compile?

2006-03-16 Thread Alexandre Poitras
If you really need to not duplicate it , you can point your resources directory on your java directory. Unless you really need to (because of some tools), I suggest you to go the standard way and duplicate your directory structure, it will make your life easier :) On 3/16/06, Sergei Dubov <[EMAIL

Re: Copying Hibernate *.hbm.xml files after compile?

2006-03-16 Thread Sergei Dubov
Thanks, Wayne. Too bad that the directory structure will have to be duplicated as well. But I am going to push ahead. :-) Also, is there a simple way to show on the console why your test fails as opposed to seeing just <<>> -Serge Wayne Fay wrote: Put them in src/main/resources instead of

Re: Copying Hibernate *.hbm.xml files after compile?

2006-03-16 Thread Wayne Fay
Put them in src/main/resources instead of src/main/java. Wayne On 3/16/06, Sergei Dubov <[EMAIL PROTECTED]> wrote: > Hi guys, > > How do I make Maven 2 copy '**/*.hbm.xml" Hibernate files from > src/main/java/** to target/classes on running 'mvn compile'? > > Thanks! > > Serge > > --

Copying Hibernate *.hbm.xml files after compile?

2006-03-16 Thread Sergei Dubov
Hi guys, How do I make Maven 2 copy '**/*.hbm.xml" Hibernate files from src/main/java/** to target/classes on running 'mvn compile'? Thanks! Serge - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: