diff --git a/build.xml b/build.xml index 81db0c20..d1b8b958 100644 --- a/build.xml +++ b/build.xml @@ -105,8 +105,8 @@ - - + + @@ -672,6 +672,8 @@ + + diff --git a/src/main/java/de/thetaphi/forbiddenapis/maven/AbstractCheckMojo.java b/src/main/java/de/thetaphi/forbiddenapis/maven/AbstractCheckMojo.java index de754d0f..02b74ee9 100644 --- a/src/main/java/de/thetaphi/forbiddenapis/maven/AbstractCheckMojo.java +++ b/src/main/java/de/thetaphi/forbiddenapis/maven/AbstractCheckMojo.java @@ -137,8 +137,8 @@ public abstract class AbstractCheckMojo extends AbstractMojo implements Constant * signatures that refer to methods or field in classes that are not on classpath, * e.g. This is useful in multi-module Maven builds where a common set of signatures is used, * that are not part of every sub-modules dependencies. - * @see #ignoreSignaturesOfMissingClasses) - * @deprecated The setting 'failOnUnresolvableSignatures' was deprecated and will be removed in next version. Use 'ignoreSignaturesOfMissingClasses' instead. + * @see #ignoreSignaturesOfMissingClasses + * @deprecated The setting {@code failOnUnresolvableSignatures} was deprecated and will be removed in next version. Use {@link #ignoreSignaturesOfMissingClasses} instead. * @since 1.4 */ @Deprecated @@ -196,9 +196,11 @@ public abstract class AbstractCheckMojo extends AbstractMojo implements Constant private String releaseVersion; /** - * List of patterns matching all class files to be parsed from the classesDirectory. - * Can be changed to e.g. exclude several files (using excludes). - * The default is a single include with pattern '**/*.class' + * List of Ant patterns which must match all relative class paths to be considered. + * All relative class paths matching one or more of the given patterns and not matching any of the ones from {@link #excludes} are considered. + * The given paths are relative to {@code classesDirectory}. + * Can be changed to e.g. exclude several files (using {@link #excludes}). + * The default is a single include with pattern {@code **/*.class}. * @see #excludes * @since 1.0 */ @@ -206,7 +208,10 @@ public abstract class AbstractCheckMojo extends AbstractMojo implements Constant private String[] includes; /** - * List of patterns matching class files to be excluded from checking. + * List of Ant patterns. + * All relative class paths matching one or more of the given patterns are skipped. + * The given paths are relative to {@code classesDirectory}. + * * @see #includes * @since 1.0 */ @@ -488,4 +493,4 @@ public void debug(String msg) { } } -} \ No newline at end of file +} diff --git a/src/main/maven/pom-build.xml.template b/src/main/maven/pom-build.xml.template index 53340dc4..fec0a25f 100644 --- a/src/main/maven/pom-build.xml.template +++ b/src/main/maven/pom-build.xml.template @@ -43,6 +43,9 @@ java-javadoc java-annotations + + https://docs.oracle.com/javase/7/docs/api/ +