Ah! OK, I hadn't seen all those docs before, due to lack of time to keep up with maven 2. Thanks for the pointer.

Half of the generated code and docs that I have produced is never going to be generated again. But you gave me the answer to one question (generated docs), thanks.

How about the other artifacts:

Where would I put SQL scripts? Under src/main/sql
or src/main/resources/data?
dbunit test data files -> src/test/resources ?
dbunit test data DTD -> as above?
hibernate & spring config files -> src/main/resources?


thanks
Adam

Edwin Punzalan on 01/12/05 08:47, wrote:

I'm not one of the generated of the mvn gurus here, but I'll give my two cents ^_^


Maven is not really strict on your directory structure and you can actually setup your directory tree as you want it to. But there are still advantages to having a common setup as this page explains: http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html

For generated sources, you should put them in target/generated-sources/<source-group> where source group can be hibernate, javacc, etc as suggested by this doc: http://maven.apache.org/guides/mini/guide-generating-sources.html




Adam Hardy wrote:

I just started using the hibernate-tools plugin and dbunit for a new project and I suddenly have a whole ream of sql scripts, DTDs, schemas, generated documentation and such like strewn across my project directory tree.

Could one of the mvn gurus out there tell me where should I put all of this stuff?

dbunit test data files -> src/test/resources ?

dbunit test data DTD -> as above?

hibernate generated schema documentation -> ???

hibernate & spring config files -> src/main/resources?

db schema DDL sql script -> src/main/resources/data?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to