o Added note about need to tighten model validator with regard to plugin version

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777240 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-05-21 20:14:26 +00:00
parent 48eb55f658
commit b2a3374ac6
1 changed files with 7 additions and 0 deletions

View File

@ -163,6 +163,13 @@ public class DefaultModelValidator
validateStringNotEmpty( "build.plugins.plugin.artifactId", result, p.getArtifactId() );
validateStringNotEmpty( "build.plugins.plugin.groupId", result, p.getGroupId() );
/*
* FIXME: Enforce the existence of a version, no more guessing but reproducibility. We can't do this
* right now as it would affect dependency resolution via the metadata source. As a prerequisite, we
* need to tell the validator which level of strictness we want or alternatively disable validation
* completely for the metadata source.
*/
}
for ( Iterator it = build.getResources().iterator(); it.hasNext(); )