Details
Description
After some discussion on the dev-list "pom.id versus pom.artifactId - which is correct?" there seems to be some inconsistencies in the 1.0 release.
The discussion resulted in the following conclusions:
1. The element project.id should be removed from the XML schema
2. The element project.artifactId should be added to the XML schema
3. Documentation needs to be updated to reflect the above issues
1 and 2 should probably be done by one of the core developers, including decisions regarding version numbers for the XML schema. I can make a patch for it if you think that's ok.
I can make patches for the xdocs to fix 3. On which branch should I create the patches?
Issue Links
- is related to
-
MPPOM-6
Id in POM is deprecated.
-
-
MPGENAPP-27
Generated poms contain deprecated id elements
-
Please do not change the schema for POM-3. Please only update the documentation. Otherwise existent projects may break (my will, as I've had problems with the POM, found the schema and corrected my POMs to contain id instead of artifactId. However, there are inconsistencies I know about: $
{pom.id}returns groupId:artifactId, while $
{pom.artifactId}returns the id. IMO it would be better to release POM-4, so projects can be moved to this. Please provide a doc then, how to move, or - better - provide a tool/plugin for this move.