Jetty
  1. Jetty
  2. JETTY-1046

maven-jetty-jspc-plugin keepSources takes affect only in packageRoot

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1.18
    • Fix Version/s: 7.0.0.RC5, 6.1.20
    • Component/s: Maven
    • Labels:
      None
    • Number of attachments :
      0

      Description

      maven-jetty-jspc-plugin keepSources takes affect only in packageRoot but not in other directories.

      e.g if configuration has:
      <configuration>
      <packageRoot>$

      {pom.groupId}.webapp.jsp</packageRoot>

      only *.java under:
      \target\classes\${pom.groupId}

      \webapp\jsp*.java
      are deleted but not:
      \target\classes\$

      {pom.groupId}

      \webapp\jsp\otherDirectory*.java

      The same if packageRoot is not defined.

      It doesn't work for tags either which are even more those are compiled into org\apache\jsp\tag\web directory ignoring packageRoot.

        Activity

        Hide
        David Yu added a comment -

        Fixed for jetty-6.1.19

        Show
        David Yu added a comment - Fixed for jetty-6.1.19
        Hide
        Oleksandr Maksymchuk added a comment -

        Sorry but only first part of this resolved (e.g. packageRoot directory is cleaned up from sources) but tags which are compiled by default into:
        org\apache\jsp\tag\web
        ignoring packageRoot still have sources.

        Show
        Oleksandr Maksymchuk added a comment - Sorry but only first part of this resolved (e.g. packageRoot directory is cleaned up from sources) but tags which are compiled by default into: org\apache\jsp\tag\web ignoring packageRoot still have sources.

          People

          • Assignee:
            Jan Bartel
            Reporter:
            Oleksandr Maksymchuk
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: