Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.0-alpha-3
-
Component/s: POM
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
this needs to go beyond basic construction.
In particular, the group and artifact ID should always be constrained to valid characters.
Perhaps this could be done via the modello model.
Issue Links
- relates to
-
MNG-2747
Maven doesn't detect invalid dependency descriptions in the pom
-
-
MNG-4383
Uninterpolated expressions should cause an error for dependency versions
-
-
MNG-4717
Repository Ids containing ":" will lead to checksum errors on Windows machines
-
-
MNG-3991
POM validator allows <scope>optional</scope> but it is not valid.
-
-
MNG-4005
Throw Validation Error if pom contains a dependency with two different versions.
-
-
MNG-4402
Improve duplicated modules error
-
-
MNG-4405
Uninterpolated expressions should cause an error for plugin versions
-
-
MNG-4193
Throw validation error upon multiple repository declarations with the same id
-
-
MNG-4404
Throw validation error upon duplicate profile id
-
-
MNG-4732
Version string validation
-
-
MNG-1701
Validate that a plugin is not configured twice in the pom
-
-
MNG-4403
Create an IT to test that strict model validation does not apply to dependency POMs
-
- supercedes
-
MNG-1592
Top level element in POM is not correctly validated
-
I believe this should be done via the modello model. It would be worth reusing something for this (particularly in light of JSR 303). commons-validator may be a good alternative for now (not sure using the stuff from xwork is appropriate).