Skip to content

Commit

Permalink
Performance functional-bug fix for the Maven-plugin (#736 attempting to
Browse files Browse the repository at this point in the history
fix #729)
  • Loading branch information
nedtwigg authored Nov 16, 2020
2 parents 23f8d69 + 59af2fa commit e2d51d5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugin-maven/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (

## [Unreleased]
### Fixed
* 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))
* 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)).
* 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)).
* Whether this helps with the directory scanning time is unconfirmed, please report your experience in the issue above.

## [2.6.0] - 2020-11-13
### Added
Expand Down
6 changes: 6 additions & 0 deletions plugin-maven/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ dependencies {
}

implementation "org.codehaus.plexus:plexus-resources:${VER_PLEXUS_RESOURCES}"
constraints {
implementation("org.codehaus.plexus:plexus-utils:3.3.0") {
because("version pulled by plexus-resources has a functional-bug affecting " +
"directory scanning times")
}
}

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

0 comments on commit e2d51d5

Please sign in to comment.