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: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • 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.

          People

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

            Dates

            • Created:
              Updated: