mirror of https://github.com/apache/maven.git
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:
parent
48eb55f658
commit
b2a3374ac6
|
@ -163,6 +163,13 @@ public class DefaultModelValidator
|
||||||
validateStringNotEmpty( "build.plugins.plugin.artifactId", result, p.getArtifactId() );
|
validateStringNotEmpty( "build.plugins.plugin.artifactId", result, p.getArtifactId() );
|
||||||
|
|
||||||
validateStringNotEmpty( "build.plugins.plugin.groupId", result, p.getGroupId() );
|
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(); )
|
for ( Iterator it = build.getResources().iterator(); it.hasNext(); )
|
||||||
|
|
Loading…
Reference in New Issue