Maven 1.x Application Generation Plugin

The genapp wizard creates POM that doens't conform to model-3.0.0 xsd.

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.2
  • Fix Version/s: 2.3
  • Component/s: None
  • Labels:
    None
  • Environment:
    Not of importance.
  • Number of attachments :
    0

Description

Using the genapp wizard in maven-1.1-beta-1, I created a simple jar project. However, the created POM isn't conform to the model-3.0.0 xsd (e.g. <package> element isn't allowed anymore in model-3.0.0).

Regards,
Davy Toch

Activity

Hide
David Levitt added a comment -

It would be nice if the template project.xml file had all the correct schema attributes, so XML aware editors could

Something like:

<project xmlns="http://maven.apache.org/POM/3.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/3.0.0
http://maven.apache.org/maven-v3_0_0.xsd">

[ tag from a maven-users message sent by Andy Glick]

Show
David Levitt added a comment - It would be nice if the template project.xml file had all the correct schema attributes, so XML aware editors could Something like: <project xmlns="http://maven.apache.org/POM/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd"> [ tag from a maven-users message sent by Andy Glick]

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: