Hi Guys,
I'm having a problem building myEclipse project using m2.
The main issue is that it's not in default maven file structure.
It looks like this
myProject
src
com/company... all java sources go here
WebRoot
*.jsp all jsp files are here
WEB-INF
Xmls
Classes compiled classes should be placed here
POM.xml
The first task is to get maven to compile it and place classes to
WebRoot/WEB-INF/classes
It could be done by saying following
<build>
<sourceDirectory>src</sourceDirectory>
<outputDirectory>WebRoot/WEB-INF/classes</outputDirectory>
</build>
But how can I manage to create war file when it doesn't really know
where my jsps/xmls are? Basically after the compilation all it has to do
is to grab WebRoot and just work with it... I couldn't really find a
solution, any help would be appreciated.
Cheers
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]