Maven 1.x War Plugin

webapp-cache.xml schema available online

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.6.3
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Any - it is a validation problem so it is not affected by operational systems or IDEs, but the issue was primarily detected on the Eclipse IDE version 3.5.
  • Number of attachments :
    0

Description

When packaging a web-application, maven-war-plugin generates a cache file, as described here: http://maven.apache.org/plugins/maven-war-plugin/exploded-mojo.html#cacheFile

This cache file is an XML file but the generated file doesn't contains an Schema or DTD declaration on its header. This makes impossible to validate such file, generating warnings in the most common Java IDEs.

Since it is an XML file I believe it should has a model specification somewhere (a XSD Schema I hope), eventually just not released for public usage.

So, please publish the XSD Schema (or dtd) of the cache file in order to give the developers a chance to detect potential bugs before to deploy their web-application.

Issue Links

Activity

Hide
Dennis Lundberg added a comment -

Isn't this issue for the WAR Plugin for Maven 2?

Show
Dennis Lundberg added a comment - Isn't this issue for the WAR Plugin for Maven 2?
Hide
Felipe Gaścho added a comment -

As pointed by Lundberg, this issue is for Maven 2. I am moving the issue to there.

Show
Felipe Gaścho added a comment - As pointed by Lundberg, this issue is for Maven 2. I am moving the issue to there.
Hide
Felipe Gaścho added a comment -

the issue was moved to the maven 2 war plugin.

Show
Felipe Gaścho added a comment - the issue was moved to the maven 2 war plugin.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: