Maven 2.x WAR Plugin

overlay without web.xml fails when run from parent

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Incomplete
  • Affects Version/s: 2.0.1, 2.0.2
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

This is similar to MWAR-3.

I am overlaying a war. My project has no web.xml. When I run package from the project base, it works fine. When I run it from the parent project, it fails.

[INFO] Generating war c:\Documents and Settings\Ken Geis\workspace\ggsuite\fillerchecker\ucb-webapp\target\ucb-fillerchecker-webapp-1.0-SNAPSHOT.war
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error assembling WAR

Embedded error: Deployment descriptor: c:\Documents and Settings\Ken Geis\workspace\ggsuite\fillerchecker\ucb-webapp\target\ucb-fillerchecker-webapp-1.0-SNAPSHOT\WEB-INF\web.xml does not exist.

Activity

Hide
Dennis Lundberg added a comment -

Without a sample project, or at least a complete description of the project layout, it is impossible for us to try to fix this.

Show
Dennis Lundberg added a comment - Without a sample project, or at least a complete description of the project layout, it is impossible for us to try to fix this.

People

  • Assignee:
    Unassigned
    Reporter:
    Ken Geis
Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: