Releases: CAFapi/caf-common-parent
v5.0.0
Version Number
5.0.0-431
New Features
- US361030: Plugin versions updated
The Maven plugins have been updated to their latest versions.
Breaking Changes
-
Java version update
Java 17 is now the default target. This can be overridden by setting the
maven.compiler.release
property. -
Java EE banned
The Java EE artifacts have been added to the list of banned dependencies.
It has been many years since the move to Jakarta EE so this is being added to
the banned list to prevent any accidental reintroduction. -
Enforce correct dependencies
TheenforceCorrectDependencies
flag has been enabled by default. -
Enforce compatible dependencies
Conflicts between dependencies will now cause the build to fail. These can be
ignored by setting theenforceCompatibleDependencies
flag tofalse
. -
License header configuration changes
There have been a number of changes to the default license headers configuration.
The new<licenseSets>
option is being used for configuration so any overrides
will also have to be similarly updated. -
Banned inapplicable test artifacts
Thehamcrest-all
andmockito-all
artifacts have been banned since they are
not meant to be used with dependency management systems like Maven.
Known Issues
- None
Release Artifacts
Maven
v4.1.0
v4.0.0
v3.0.0
v2.4.0
Version Number
2.4.0-254
New Features
- SCMOD-12630: Add BanDuplicatePomDependencyVersions
This has been included as part of themaven-enforcer-plugin
withinenforceBannedDependencies
and will check for dependency duplicates, failing the build ifenforceBannedDependencies
property is set to true.
Known Issues
- None
Release Artifacts
Maven
v2.3.0
v2.2.0
Version Number
2.2.0-203
New Features
- SCMOD-9303: New OpenSUSE-based maven image is updated.
- SCMOD-5674: Updated to exclude sql files from license file detection and copyright updated to year 2020.
Known Issues
- None
v1.2.0
Version Number
1.2.0-3
New Features
- Added maven-enforcer-plugin to force the removal of unauthorized logging implementations from inheriting projects.
- Added duplicate-finder-maven-plugin to show warnings when duplicate classes are found on the classpath, this will also highlight where the duplicate classes come from.
Known Issues
- None
v2.1.0
Version Number
2.1.0-129
New Features
- Added maven-enforcer-plugin to force the removal of unauthorized logging implementations from inheriting projects.
- Added duplicate-finder-maven-plugin to show warnings when duplicate classes are found on the classpath, this will also highlight where the duplicate classes come from.
Known Issues
- None
v2.0.0
Version Number
2.0.0-63
New Features
-
Dependency Analysis and Enforcement
Themaven-dependency-plugin
has been added to analyze the project's dependencies. By default warnings are added to the build log if dependency issues are found.The
enforceCorrectDependencies
property can be set so that any dependency issues result in build failures:<properties> <enforceCorrectDependencies>true</enforceCorrectDependencies> </properties>
Breaking Changes
- The
integration-test
profile has been removed. - The profiles that configured the
caf.integrationtests.fs.path
property have been removed. - Custom configuration of the
maven-surefire-plugin
andmaven-failsafe-plugin
have been removed. - The reference to the
sonar-maven-plugin
has been removed. - Most version control properties have been removed.
Other Changes
- Updated Maven plugin versions
- Reduced verbosity of Javadoc logging
- Added JDK version hint for NetBeans
Known Issues
- None