Class VersionPropertyValidator
java.lang.Object
com.atlassian.platform.pomcheck.VersionPropertyValidator
Checks the version-property conventions on the block between the
BEGIN.DEPENDENCY.VERSIONS and END.DEPENDENCY.VERSIONS marker comments:
entries are sorted alphabetically, and a comment separates every pair of entries.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe number of version blocks found, so a caller that knows the POM under test is supposed to have one can assert that the check is actually checking something.
-
Constructor Details
-
VersionPropertyValidator
- Throws:
XPathExpressionException
-
-
Method Details
-
validateProperties
-
getVersionPropertyBlockCount
public int getVersionPropertyBlockCount()The number of version blocks found, so a caller that knows the POM under test is supposed to have one can assert that the check is actually checking something.
-