I am not sure I have caught you very well, but to my understanding, by
setting POM-3 as one of POM-4's dependencies would get java source in POM-3
inside war module (POM-4).

Hope it helps.

2011/12/7 AK-47 <[email protected]>

> Hi
>
> i want to create any EAR build which suppose to have web module as well
> but my issue is i am having different folder sturcture then the standard
> given by maven
>
> i have java source and web module in two different folders, usually it
> happens as in java web project (WTP)
>
> <root>
> POM-1
>    <F1>
>       POM-2
>            <JavaModule>
>                 POM-3
>             <WebContent>
>                  POM-4
>
> POM-1 for just aggregation with build - POM
> POM-2 for creating EAR
> POM-4 for creating WAR module
>
> I wish to get comipled java files from folder <java module> to war build to
> POM-4
>
> i don't know what to do between  <JavaModule> POM-3 and <WebContent> POM-4
> to get java source inside war module
>
> please help to advice a smalll maven trick to solve the issue
> Thanks
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Building-war-for-different-project-structure-from-maven-j2ee-statndard-one-tp5055483p5055483.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to