wolverine my wrote:
The src/main/resources directory contains only the configurations
which will be loaded by the classloader? So we really need to study
the 3rd party library configurations to see if they are loaded via the
classloader...

Do you want the files to end up in WEB-INF/classes (i.e. loaded from classpath) or just WEB-INF (or some other directory, relative to webapp root)? Maven doesn't really complicate things much here, since you have to make those choices anyway. You don't need to look at the source code of the component that does the loading in most cases.


What should the src/main/config contains?


Nothing that I am aware of.

Typicaly we have the scripts to start application or server, and
scripts for utilities (backup, housekeeping), and what do you think if
we save these scripts in /src/main/bin directory? Or do we save these
scripts into difference directories?

src/main/bin sounds reasonable. You'll probably need to (eventually) consider how you want these files to end up in a build artifact, and then how you are going to tell maven to find them.

-Max


I wish to see more tips and guides in the Maven standard directory
layout description :-)

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


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

Reply via email to