Hello,

I am using maven2 and I am trying to setup shared jsps in separate module, which can be included by web applications.

 

Web-common\

Pom.xml (packaged is war)

\src\main\webapp\includes\footer.jsp

\src\main\webapp\includes\header.jsp

 

Webapp1\

                  Pom.xml (war; depends on web-common)

                         \src\main\webapp\**

 

Webapp2\

                  Pom.xml (war; depends on web-common)

                         \src\main\webapp\**

 

I can’t compile jsps in webapp1/webapp2 because dependency jsps on web-common.  What’s the best way to go about it? Jspc plugin expects src to be in one place.

 

Maybe, it’s possible to do jspcompile after war files have been overlaid?

 

It seems to me as fairly common case, so it would be interesting to know what others are doing to overcome the issue.

Thanks

Leonard Gestrin

 

                         

Reply via email to