Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7623

Reintroduce jspc plugin in templating-jsp

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Neutral
    • None
    • 5.6.11, 5.7.5
    • None

    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.
      See https://git.magnolia-cms.com/projects/BUILD/repos/poms/commits/88a0e4616b7439b70e09719e876c450d22a09fc4

      [[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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              fgrilli Federico Grilli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoR