Maven 1

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

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: