Skip to content

Commit e2d51d5

Browse files
authored
Performance functional-bug fix for the Maven-plugin (#736 attempting to fix #729)
2 parents 23f8d69 + 59af2fa commit e2d51d5

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

plugin-maven/CHANGES.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
44

55
## [Unreleased]
66
### Fixed
7-
* Fixed a bug which occurred if the root directory of the project was also the filesystem root ([#732](https://github.com/diffplug/spotless/pull/732))
7+
* Fixed a bug which occurred if the root directory of the project was also the filesystem root ([#732](https://github.com/diffplug/spotless/pull/732)).
8+
* Upgraded org.codehaus.plexus:plexus-utils to its latest version (3.3.0) to improve directory scanning time ([#729](https://github.com/diffplug/spotless/pull/729)).
9+
* Whether this helps with the directory scanning time is unconfirmed, please report your experience in the issue above.
810

911
## [2.6.0] - 2020-11-13
1012
### Added

plugin-maven/build.gradle

+6
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ dependencies {
7070
}
7171

7272
implementation "org.codehaus.plexus:plexus-resources:${VER_PLEXUS_RESOURCES}"
73+
constraints {
74+
implementation("org.codehaus.plexus:plexus-utils:3.3.0") {
75+
because("version pulled by plexus-resources has a functional-bug affecting " +
76+
"directory scanning times")
77+
}
78+
}
7379

7480
compileOnly "org.apache.maven:maven-plugin-api:${VER_MAVEN_API}"
7581
compileOnly "org.apache.maven.plugin-tools:maven-plugin-annotations:${VER_MAVEN_API}"

0 commit comments

Comments
 (0)