java - Building both war and ear files for same project using maven -



in project have both web related stuff(jsps, controllers, ..) , ejb beans.
need build war file web related stuff , deploy tomcat and
need build ear file ejb's , deploy jboss using maven.

can suggest me solution modify pom.xml accordingly.

thank you,
pavan

the best way split project multiple sub-projects: 1 builds ejbs, 1 builds war, , third packages them together. described in maven: complete reference, , example in better builds maven.


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -