Hi,
I am trying to migrate a project from
Ant to Maven.
The framework we are using is
Struts. For the front end, have used Tiles, JSPs, Javascript, CSS. Database is queried using SQL files.
The project has 3 parts - of which I have managed to migrate the first part. It wasnt too complex. We arent using JUnits, so I am not concerned with
test classes and test resources.
I am confused about the second part.
The default directory structure of Maven is:
project home - which contains pom.xml
src\main\java - which contains the
Java sourcecode
src\main\resources - which contains property files
What I am confused about is - where do I put the Tiles, JSPs, Javascript, CSS, and SQL files???
If I make a separate folder for them, how do I include that in the pom.xml file?
Another option I just thought of - would be to stuck to the existing directory structure of the project, and just make changes in pom.xml. But I dont think this is recommended since the Java code, SQL code, Tiles etc are in different places and in pom.xml, only the java and resources location can be specified.
Any suggestions?
Thanks,
Praneet