[MAGNOLIA-7623] Reintroduce jspc plugin in templating-jsp Created: 04/Sep/19 Updated: 18/Aug/21 |
|
| Status: | Accepted |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 5.6.11, 5.7.5 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Federico Grilli | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoR: |
Empty
|
| Description |
|
When trying to release 5.7.5 with latest parent pom 37 an error occurred while trying to compile JSPs since the jspc plugin was removed from ppom 37, due to the fact that latest Magnolia versions no longer support JSP. [[ERROR] testOutput(info.magnolia.templating.jsp.cms.PageBarTagTest) Time elapsed: 0.814 s <<< ERROR! com.meterware.httpunit.HttpInternalErrorException: Error on HTTP request: 500 org.apache.jasper.JasperException: The absolute uri: http://magnolia-cms.com/taglib/templating-components/cms cannot be resolved in either web.xml or the jar files deployed with this application [http://localhost/test-context/info/magnolia/templating/jsp/cms/PageBarTagTest.jsp] at info.magnolia.templating.jsp.cms.PageBarTagTest.testOutput(PageBarTagTest.java:73) Caused by: org.apache.jasper.JasperException: The absolute uri: http://magnolia-cms.com/taglib/templating-components/cms cannot be resolved in either web.xml or the jar files deployed with this application at info.magnolia.templating.jsp.cms.PageBarTagTest.testOutput(PageBarTagTest.java:73) In order to benefit from the latest ppom also in 5.7.x, consider reintroducing a more recent version of the plugin, such as https://github.com/leonardehrenfried/jspc-maven-plugin, directly in magnolia-templating-jsp sub-module. |