Maven 1
  1. Maven 1
  2. MAVEN-1834

Java sources in War file not build unless at least 1 unit test is present

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.1-beta-3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Win2000
    • Number of attachments :
      0

      Description

      Within a multiproject (have not tested standalone), when a war subproject contains java code and/or resources, but no test cases, the java code does not get compiled/the resources do not get copied and therefore not packaged.

      Works fine in maven 1.0.2

      Workaround: Adding a dummy unit test

        Activity

        Hide
        Lukas Theussl added a comment -

        What command are you running, ie what are you trying to do? A test project to reproduce the issue would also help.

        Show
        Lukas Theussl added a comment - What command are you running, ie what are you trying to do? A test project to reproduce the issue would also help.
        Hide
        Michael Osipov added a comment -

        Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

        Show
        Michael Osipov added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

          People

          • Assignee:
            Unassigned
            Reporter:
            Axel Fontaine
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: