Maven 1.x War Plugin
  1. Maven 1.x War Plugin
  2. MPWAR-62

maven-war-plugin doesn't compile java sources when used with maven-test-plugin 1.8

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.6.3
    • Labels:
      None
    • Number of attachments :
      3

      Description

      I've found an issue when using latest versions of maven-test-plugin (1.8) :
      when maven.test.skip=true is set, the <test:compile> goal is not executed. This sounds good, BUT the maven-war-plugin use "test:test" goal to attain the "java:compile" goal, so the generated war has no classes !

      The war:resources plugin should have prereqs="war:war-resources,java:compile,test:test".

      1. MPWAR-62
        0.6 kB
        Shinobu Kawai
      2. MPWAR-62.patch
        0.7 kB
        nicolas de loof
      3. MPWAR-62.patch
        0.7 kB
        nicolas de loof

        Issue Links

          Activity

          Hide
          nicolas de loof added a comment -

          Latest patch should also solve this. I'll try it ASAP.

          Show
          nicolas de loof added a comment - Latest patch should also solve this. I'll try it ASAP.
          Hide
          nicolas de loof added a comment -

          Please apply this patch to solve this issue.

          Show
          nicolas de loof added a comment - Please apply this patch to solve this issue.
          Hide
          nicolas de loof added a comment -

          Sounds like latests comments on this issue had no effect on SVN.
          This issue is not yet fully solved.

          Show
          nicolas de loof added a comment - Sounds like latests comments on this issue had no effect on SVN. This issue is not yet fully solved.
          Hide
          Lukas Theussl added a comment -

          Sorry, please open a new issue with a detailed description of what exactly is still not working.

          Show
          Lukas Theussl added a comment - Sorry, please open a new issue with a detailed description of what exactly is still not working.
          Hide
          Shinobu Kawai added a comment -

          This should be revisited once MPTEST-66 is fixed one way or another.

          Show
          Shinobu Kawai added a comment - This should be revisited once MPTEST-66 is fixed one way or another.

            People

            • Assignee:
              Lukas Theussl
              Reporter:
              nicolas de loof
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: