[prev in list] [next in list] [prev in thread] [next in thread] 

List:       maven-user
Subject:    [ANN] Apache Maven Enforcer Plugin + Extension 3.0.0 Released
From:       "Robert Scholte" <rfscholte () apache ! org>
Date:       2021-07-30 9:46:52
Message-ID: Mailbird-40b5321c-c2d3-4b31-88ed-0ae77969df6e () apache ! org
[Download RAW message or body]


The Apache Maven team is pleased to announce the release of the Apache Mave=
n Enforcer Plugin and=C2=A0Extension, version 3.0.0

The Enforcer plugin is the Loving Iron Fist of Maven and provides goals to =
control certain environmental constraints such as Maven version, JDK versio=
n and OS family along with many more built-in rules and user created rules.

https://maven.apache.org/enforcer/maven-enforcer-plugin/

You should specify the version in your project's plugin configuration:

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0</version>
</plugin>

You can download the appropriate sources etc. from the download page:

https://maven.apache.org/enforcer/download.html


Release Notes - Maven Enforcer Plugin - Version 3.0.0

** Bug

=C2=A0 =C2=A0 * [MENFORCER-168] - In a multi module project "bannedDependen=
cies" rule tries to resolve project artifacts from external repository
=C2=A0 =C2=A0 * [MENFORCER-185] - Require Release Dependencies ignorant abo=
ut aggregator build
=C2=A0 =C2=A0 * [MENFORCER-301] - banDuplicatePomDependencyVersions does no=
t check managementDependencies
=C2=A0 =C2=A0 * [MENFORCER-336] - Beanshell rule is not thread-safe
=C2=A0 =C2=A0 * [MENFORCER-346] - RequireSnapshotVersion not compatible wit=
h CI Friendly Versions (${revision})
=C2=A0 =C2=A0 * [MENFORCER-351] - NPE when using new <?m2e execute ?> synta=
x with maven-enforcer-plugin
=C2=A0 =C2=A0 * [MENFORCER-352] - Broken links on Maven Enforcer Plugin site
=C2=A0 =C2=A0 * [MENFORCER-357] - RequirePluginVersions not recognizing ver=
sions-from-properties
=C2=A0 =C2=A0 * [MENFORCER-359] - [REGRESSION] RequirePluginVersions fails =
when versions are inherited
=C2=A0 =C2=A0 * [MENFORCER-364] - requireFilesExist rule should be case sen=
sitive
=C2=A0 =C2=A0 * [MENFORCER-366] - Broken Links on Project Home Page
=C2=A0 =C2=A0 * [MENFORCER-373] - TestRequireOS uses hamcrest via transitiv=
e dependency
=C2=A0 =C2=A0 * [MENFORCER-374] - plexus-container-default in enforcer-api =
is very outdated
=C2=A0 =C2=A0 * [MENFORCER-381] - classifier not included in output of fail=
ed RequireUpperBoundDeps test

** New Feature
=C2=A0 =C2=A0 * [MENFORCER-358] - requireUpperBounds deps should have inclu=
des
=C2=A0 =C2=A0 * [MENFORCER-361] - Introduce RequireTextFileChecksum with li=
ne separator normalization

** Improvement
=C2=A0 =C2=A0 * [MENFORCER-211] - wildcard ignore in requireReleaseDeps
=C2=A0 =C2=A0 * [MENFORCER-245] - Improve documentation about writing own E=
nforcer Rule
=C2=A0 =C2=A0 * [MENFORCER-257] - RequireActiveProfile should respect inher=
ited activated profiles
=C2=A0 =C2=A0 * [MENFORCER-277] - Upgrade maven-dependency-tree to 3.x
=C2=A0 =C2=A0 * [MENFORCER-304] - Improve dependency resolving in multiple =
modules project
=C2=A0 =C2=A0 * [MENFORCER-313] - requireUpperBoundDeps: add [<scope>] and =
colors to the output
=C2=A0 =C2=A0 * [MENFORCER-329] - Example for writing a custom rule should =
be upgraded
=C2=A0 =C2=A0 * [MENFORCER-338] - Along with JavaVersion, allow enforcement=
 of the JavaVendor
=C2=A0 =C2=A0 * [MENFORCER-349] - Include Java vendor in display-info output
=C2=A0 =C2=A0 * [MENFORCER-350] - requireMavenVersion x.y.z is processed as=
 (,x.y.z] instead of [x.y.z,)
=C2=A0 =C2=A0 * [MENFORCER-353] - Consistently format artifacts same as dep=
endency:tree
=C2=A0 =C2=A0 * [MENFORCER-355] - make build Reproducible
=C2=A0 =C2=A0 * [MENFORCER-376] - Add support for excludes/includes in requ=
ireJavaVendor rule
=C2=A0 =C2=A0 * [MENFORCER-384] - Introduce Maven Enforcer Extension
=C2=A0 =C2=A0 * [MENFORCER-388] - Extends RequirePluginVersions with banMav=
enDefaults

** Task
=C2=A0 =C2=A0 * [MENFORCER-377] - Remove reference to travis or switch to t=
ravis.com
=C2=A0 =C2=A0 * [MENFORCER-380] - Fix maven assembly links
=C2=A0 =C2=A0 * [MENFORCER-387] - Require Java 8

** Dependency upgrade
=C2=A0 =C2=A0 * [MENFORCER-267] - Upgrade to make Maven 3.1+
=C2=A0 =C2=A0 * [MENFORCER-371] - Require Maven 3.1.1
=C2=A0 =C2=A0 * [MENFORCER-379] - Update maven-common-artifact-filters to 3=
.2.0

Note: Thanks to all the individual contributors and OpenValue: they've prov=
ided several PR during an Open Source Contribution Training Day.=C2=A0

Enjoy,

-The Apache Maven team


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic