Maven 2.x WAR Plugin

Current project overlay ordering doesn't work

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.1-alpha-1
  • Fix Version/s: None
  • Component/s: overlay
  • Labels:
    None
  • Testcase included:
    yes
  • Number of attachments :
    1

Description

I cannot get the current project overlaying to work. In my "overlays" I have the empty overlay specified after the "my-overlay" project but the Project index.jsp is the file that gets included in the my-project final war.

I've included a test case. I hope this can make it into alpha-2 before it is released.

Activity

Hide
Dennis Lundberg added a comment -

I tried your sample project and can confirm that it doesn't work. Since I have this working on my own project I compared the two to try to find how they are different. My main project has the WAR Plugin configured in <build><plugins> instead of <build><pluginManagement><plugins>, and that seems to make your project work as well.

Why this makes a difference is not something I can answer.

Show
Dennis Lundberg added a comment - I tried your sample project and can confirm that it doesn't work. Since I have this working on my own project I compared the two to try to find how they are different. My main project has the WAR Plugin configured in <build><plugins> instead of <build><pluginManagement><plugins>, and that seems to make your project work as well. Why this makes a difference is not something I can answer.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: