Require plugin-plugin >= 1.7 for pom:validate
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@350058 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8158ed0a6a
commit
9d395e5e29
@ -27,7 +27,8 @@
|
|||||||
xmlns:ant="jelly:ant"
|
xmlns:ant="jelly:ant"
|
||||||
xmlns:x="jelly:xml"
|
xmlns:x="jelly:xml"
|
||||||
xmlns:log="jelly:log"
|
xmlns:log="jelly:log"
|
||||||
xmlns:artifact="artifact">
|
xmlns:artifact="artifact"
|
||||||
|
xmlns:assert="assert">
|
||||||
|
|
||||||
<!-- set up pom tag library -->
|
<!-- set up pom tag library -->
|
||||||
<d:taglib uri="pom">
|
<d:taglib uri="pom">
|
||||||
@ -61,6 +62,12 @@
|
|||||||
name="pom:validate"
|
name="pom:validate"
|
||||||
description="Validate the Maven XML project descriptor">
|
description="Validate the Maven XML project descriptor">
|
||||||
|
|
||||||
|
<assert:assertPluginAvailable
|
||||||
|
groupId="maven"
|
||||||
|
artifactId="maven-plugin-plugin"
|
||||||
|
minRelease="1.7"
|
||||||
|
neededBy="${plugin.artifactId}"/>
|
||||||
|
|
||||||
<j:set var="xsd"
|
<j:set var="xsd"
|
||||||
value="${plugin.resources}/xsd/pom-strict-${pom.pomVersion}.xsd"/>
|
value="${plugin.resources}/xsd/pom-strict-${pom.pomVersion}.xsd"/>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user