This is an automated email from the ASF dual-hosted git repository. khmarbaise pushed a change to branch MENFORCER-267 in repository https://gitbox.apache.org/repos/asf/maven-enforcer.git.
discard ee27104 Added patch from MENFORCER-277 Not yet compiling. discard 59370c0 Continued..not compiling yet. discard 8c4df95 Upgraded to 3.0.1 fails the builds. add cd47545 fixed dist directory add 554dde3 removed configuration inherited from old svn days add f388633 [MNGSITE-328] use sha1 checksum instead of md5 add 8b7c40a Set surefire to 2.21.0 to support java 10 Normalize LICENSE file for Windows in IT to get same checksums add eac2712 Upgrade mockito to support Java 10 add 84f2c66 Fix Javadoc errors add 62e3682 [maven-release-plugin] prepare release enforcer-3.0.0-M2 add 7a98f2b [maven-release-plugin] prepare for next development iteration add 9c4ab3e [MENFORCER-142] - Specify enforcer rule in command line without modifying any pom o Merged initial PoC implementation o Added some basic integration tests. add ae18153 [MENFORCER-305] - Add documentation information for GitHub add 8269426 Updated version. add 94843f0 MENFORCER-142: documentation - add example for checking rules via cli add 389bcc1 Merge pull request #36 from sparsick/master add 6cf25ef Code improvements o Removed unused class. o Some minore improvements. add 95b22be Update dependencyConvergence.apt.vm add b7b9911 Switch to asfMavenTlpPlgnBuild add 32c6034 [INFRA-16467] move components documentation out of CMS space add 100eb8c [MNGSITE-341] use https for sigs, hashes and KEYS add fd64d87 [MPOM-205] use sha512 checksums instead of sha1 add 7b02571 Changed configuration for allowedPluginRepositories add df77932 [MENFORCER-315] - Add thirdparty rules page to the enforcer site o Add thirdparty-rules page to site for enumerating thirdparty Maven Enforcer rules; o Add link to Sonatype OSS Index rules documentation add 208c5c7 [MENFORCER-317] - Fix RequireFileChecksum ignores configured message - Introduce configurable message for nonexistent file - Including small refactoring: extract checksum calculation into private method. add caef332 [MENFORCER-320] - RequireProfileIdsExist check fails if no profiles have been specified - RequireProfileIdsExist check must not fail if there are no profiles in the pom.xml and no profiles have been specified in the command line - fix site: breadcrumbs on the "requireProfileIdsExist" page. add 02ab1b2 [MENFORCER-312] - Upgrade maven-parent to 33 add 3f49c2f Removed $Id$ from SVN add 9106689 [MENFORCER-322] requireProfileIdsExist triggers if profile is defined at parent o Fixed iterating over parent poms. Added IT. add 5ac7679 [MENFORCER-323] - Improve output of "Some plugins are missing valid versions" error add 7e2a57b [MENFORCER-324] - Use System.lineSeparator() instead of '\n' add bb6ef07 Add Travis CI configuration file add c2f1ce2 [MENFORCER-319] Handle parsing of pom.xml in BanDuplicatePomDependencyVersions.java similarly to how actual Maven model parser handles it to fix handling of pom.xml files with UTF-8 BOM. add 9bf2bac [MENFORCER-314] - Warn if EnforcerRuleException has no message add 546d285 [MENFORCER-328] - Lift JDK Minimum to 7 add bd34060 [MENFORCER-306] - [REGRESSION] RequirePluginVersions fails o Added simple IT's for this case. o Make it Maven 3.0.5 compatible. o Changed IT's according to parameter definition with List. o Cleaned up code. new c69ce6a Upgraded to 3.0.1 fails the builds. new ee4dea4 Continued..not compiling yet. new 5c78dde Added patch from MENFORCER-277 Not yet compiling. new 530ef47 Safe state. new 5f5d826 Fixed prerequisites This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (ee27104) \ N -- N -- N refs/heads/MENFORCER-267 (5f5d826) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 5 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .github/pull_request_template.md | 28 ++ .../invoker.properties => .travis.yml | 17 +- CONTRIBUTING.md | 80 ++++ Jenkinsfile | 2 +- README.TXT | 24 -- README.md | 96 +++++ .../maven/enforcer/rule/api/EnforcerRule.java | 1 - .../maven/enforcer/rule/api/EnforcerRule2.java | 1 - .../plugins/enforcer/AbstractBanDependencies.java | 5 +- .../enforcer/AbstractNonCacheableEnforcerRule.java | 1 - .../enforcer/AbstractPropertyEnforcerRule.java | 1 - .../plugins/enforcer/AbstractRequireFiles.java | 6 +- .../plugins/enforcer/AbstractVersionEnforcer.java | 1 - .../apache/maven/plugins/enforcer/AlwaysFail.java | 2 +- .../apache/maven/plugins/enforcer/AlwaysPass.java | 2 +- .../BanDuplicatePomDependencyVersions.java | 14 +- .../enforcer/BanTransitiveDependencies.java | 4 +- .../maven/plugins/enforcer/BannedDependencies.java | 1 - .../maven/plugins/enforcer/BannedPlugins.java | 4 +- .../maven/plugins/enforcer/BannedRepositories.java | 6 +- .../enforcer/DefaultEnforcementRuleHelper.java | 1 - .../plugins/enforcer/DependencyConvergence.java | 9 +- .../plugins/enforcer/ReactorModuleConvergence.java | 8 +- .../plugins/enforcer/RequireActiveProfile.java | 4 +- .../plugins/enforcer/RequireFileChecksum.java | 118 ++++-- .../plugins/enforcer/RequireFilesDontExist.java | 2 +- .../maven/plugins/enforcer/RequireFilesExist.java | 2 +- .../maven/plugins/enforcer/RequireJavaVersion.java | 1 - .../plugins/enforcer/RequireMavenVersion.java | 3 +- .../plugins/enforcer/RequireNoRepositories.java | 2 +- .../apache/maven/plugins/enforcer/RequireOS.java | 1 - .../plugins/enforcer/RequirePluginVersions.java | 420 ++++++++++++--------- .../plugins/enforcer/RequireProfileIdsExist.java | 39 +- .../maven/plugins/enforcer/RequireReleaseDeps.java | 1 - .../plugins/enforcer/RequireReleaseVersion.java | 2 +- .../plugins/enforcer/RequireSameVersions.java | 7 +- .../plugins/enforcer/RequireSnapshotVersion.java | 2 +- .../plugins/enforcer/RequireUpperBoundDeps.java | 8 +- .../src/site/apt/dependencyConvergence.apt.vm | 2 +- .../src/site/apt/requireProfileIdsExist.apt.vm | 2 +- .../maven/plugins/enforcer/MockPathTranslator.java | 76 ---- .../plugins/enforcer/MockPlexusContainer.java | 4 +- .../plugins/enforcer/TestRequireFileChecksum.java | 60 ++- .../enforcer/TestRequirePluginVersions.java | 1 + .../utils/MockEnforcerExpressionEvaluator.java | 11 +- maven-enforcer-plugin/pom.xml | 9 +- .../parent}/pom.xml | 218 +++++------ .../menforcer281-module => MENFORCER-306}/pom.xml | 67 ++-- .../src/it/projects/always-fail-warn/pom.xml | 7 + .../src/it/projects/always-fail/pom.xml | 7 + .../src/it/projects/always-pass/pom.xml | 7 + .../pom.xml | 9 +- .../pom.xml | 9 +- .../projects/ban-distribution-management/pom.xml | 7 + .../invoker.properties | 0 .../pom.xml | 17 +- .../verify.groovy | 50 +-- .../it/projects/ban-pom-dependency-version/pom.xml | 11 +- .../ban-transitive-dependencies-fail/pom.xml | 11 +- .../projects/ban-transitive-dependencies/pom.xml | 11 +- .../banned-dependencies-versionrange-fail/pom.xml | 9 +- .../banned-dependencies-versionrange/pom.xml | 9 +- .../projects/banned-dependencies-wildcards/pom.xml | 9 +- .../src/it/projects/banned-dependencies/pom.xml | 7 + .../src/it/projects/banned-plugins/pom.xml | 7 + .../it/projects/builds_a_pom_noop/module/pom.xml | 3 +- .../src/it/projects/builds_a_pom_noop/pom.xml | 10 +- .../invoker.properties | 2 +- .../{always-pass => cli-always-fail}/pom.xml | 20 +- .../invoker.properties | 2 +- .../{always-pass => cli-always-pass}/pom.xml | 7 + .../projects/dependencies_converge/module/pom.xml | 3 +- .../src/it/projects/dependencies_converge/pom.xml | 10 +- .../dependencies_not_converging/module/pom.xml | 3 +- .../projects/dependencies_not_converging/pom.xml | 10 +- .../module/pom.xml | 3 +- .../dependencies_not_converging_test_scope/pom.xml | 12 +- .../src/it/projects/display-info/pom.xml | 7 + .../src/it/projects/evaluate-beanshell/pom.xml | 14 + .../src/it/projects/multimodule/pom.xml | 9 +- .../it/projects/require-active-profile-all/pom.xml | 7 + .../require-active-profile-from-settings/pom.xml | 7 + .../src/it/projects/require-active-profile/pom.xml | 7 + .../src/it/projects/require-file-checksum/pom.xml | 15 +- .../it/projects/require-file-checksum/setup.groovy | 8 +- .../it/projects/require-files-dont-exist/pom.xml | 7 + .../src/it/projects/require-files-exist/pom.xml | 7 + .../src/it/projects/require-files-size/pom.xml | 14 + .../src/it/projects/require-java-version/pom.xml | 7 + .../src/it/projects/require-maven-version/pom.xml | 14 + .../pom.xml | 11 +- .../require-no-repositories-allow-repo/pom.xml | 11 +- .../it/projects/require-no-repositories/pom.xml | 7 + .../require-no-repositories_failure/pom.xml | 9 +- .../pom.xml | 16 +- .../pom.xml | 7 + .../pom.xml | 11 +- .../it/projects/require-no-repositories_mm/pom.xml | 7 + .../projects/require-no-repositories_mm_ci/pom.xml | 7 + .../it/projects/require-plugin-versions-ci/pom.xml | 7 + .../require-plugin-versions-ci/verify.groovy | 2 +- .../pom.xml | 7 + .../require-plugin-versions-expressions/pom.xml | 45 ++- .../require-plugin-versions-mm-ci-friendly/pom.xml | 15 +- .../pom.xml | 10 +- .../pom.xml | 14 +- .../pom.xml | 17 +- .../it/projects/require-plugin-versions/pom.xml | 8 + .../MENFORCER-322-module}/pom.xml | 22 +- .../invoker.properties | 45 ++- .../pom.xml | 18 +- .../verify.groovy | 4 +- .../require-profile-ids-exist_failure/pom.xml | 9 +- .../require-profile-ids-exist_success/pom.xml | 9 +- .../src/it/projects/require-property/pom.xml | 14 + .../require-release-dependencies-excludes/pom.xml | 12 +- .../pom.xml | 12 +- .../projects/require-release-dependencies/pom.xml | 7 + .../it/projects/require-release-version/pom.xml | 7 + .../projects/require-same-versions_failure/pom.xml | 23 +- .../projects/require-same-versions_success/pom.xml | 23 +- .../require-snapshot-version_failure/pom.xml | 7 + .../require-snapshot-version_success/pom.xml | 7 + .../pom.xml | 10 +- .../pom.xml | 10 +- .../pom.xml | 12 +- .../pom.xml | 12 +- .../module/pom.xml | 3 +- .../require-upper-bound-deps_failure/pom.xml | 10 +- .../module/pom.xml | 3 +- .../require-upper-bound-deps_ignored/pom.xml | 10 +- .../module/pom.xml | 3 +- .../require-upper-bound-deps_success/pom.xml | 10 +- .../projects/resolve_collect_dependencies/pom.xml | 9 +- .../maven/plugins/enforcer/DisplayInfoMojo.java | 1 - .../apache/maven/plugins/enforcer/EnforceMojo.java | 69 +++- .../examples/check-specific-rule-via-cli.apt.vm | 34 ++ maven-enforcer-plugin/src/site/apt/index.apt | 4 + .../src/site/apt/thirdparty-rules.apt | 14 +- maven-enforcer-plugin/src/site/site.xml | 4 + .../maven/plugins/enforcer/TestEnforceMojo.java | 92 ++++- pom.xml | 20 +- src/site/xdoc/download.xml.vm | 10 +- 143 files changed, 1788 insertions(+), 753 deletions(-) create mode 100644 .github/pull_request_template.md copy maven-enforcer-plugin/src/it/projects/ban-distribution-management-multi-module-build/invoker.properties => .travis.yml (81%) create mode 100644 CONTRIBUTING.md delete mode 100644 README.TXT create mode 100644 README.md delete mode 100644 enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockPathTranslator.java copy maven-enforcer-plugin/src/it/projects/{require-plugin-versions-mm-ci-friendly => MENFORCER-306/parent}/pom.xml (65%) copy maven-enforcer-plugin/src/it/projects/{require-plugin-versions-mm-ci-friendly/menforcer281-module => MENFORCER-306}/pom.xml (66%) copy maven-enforcer-plugin/src/it/projects/{require-upper-bound-deps_failure => ban-pom-dependency-version-utf8-with-bom}/invoker.properties (100%) copy maven-enforcer-plugin/src/it/projects/{ban-pom-dependency-version => ban-pom-dependency-version-utf8-with-bom}/pom.xml (81%) copy maven-enforcer-plugin/src/it/projects/{ban-pom-dependency-version => ban-pom-dependency-version-utf8-with-bom}/verify.groovy (97%) copy maven-enforcer-plugin/src/it/projects/{ban-transitive-dependencies-fail => cli-always-fail}/invoker.properties (88%) copy maven-enforcer-plugin/src/it/projects/{always-pass => cli-always-fail}/pom.xml (79%) copy maven-enforcer-plugin/src/it/projects/{always-fail-warn => cli-always-pass}/invoker.properties (88%) copy maven-enforcer-plugin/src/it/projects/{always-pass => cli-always-pass}/pom.xml (88%) copy Jenkinsfile => maven-enforcer-plugin/src/it/projects/require-file-checksum/setup.groovy (90%) copy maven-enforcer-plugin/src/it/projects/{require-profile-ids-exist_success => require-profile-id-exist_defined_in_parent/MENFORCER-322-module}/pom.xml (75%) copy maven-enforcer-plugin/src/it/projects/{ban-distribution-management-multi-module-build => require-profile-id-exist_defined_in_parent}/invoker.properties (74%) copy maven-enforcer-plugin/src/it/projects/{require-profile-ids-exist_success => require-profile-id-exist_defined_in_parent}/pom.xml (80%) copy maven-enforcer-plugin/src/it/projects/{require-profile-ids-exist_failure => require-profile-id-exist_defined_in_parent}/verify.groovy (82%) create mode 100644 maven-enforcer-plugin/src/site/apt/examples/check-specific-rule-via-cli.apt.vm copy enforcer-api/src/site/apt/index.apt => maven-enforcer-plugin/src/site/apt/thirdparty-rules.apt (67%)