Skip to content

Commit

Permalink
sync with wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
hgschmie committed Oct 28, 2019
1 parent a776aca commit 7efd884
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion docs/Default ignored elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ The duplicate finder plugin ignores the following classes by default unless the

| Regular expression | Description |
| ------------------ | ----------- |
| `^.*\$/.*` | matches Java inner and nested classes. Before plugin version 1.2.1, this match was implicit and could not be turned off. |
| `^.*\$/.*` | matches Java inner and nested classes. Before plugin version 1.2.1, this match was implicit and could not be turned off. **Plugin version up to 1.3.0** |
| `module-info` | JDK 9 module-info class. **Plugin version 1.3.0+** |
| `^(.*\.)?.*\$.*$` | matches Java inner and nested classes in any package. **Plugin version 1.4.0+** |
| `^(.*\.)?package-info$` | matches Java `package-info` class files in any package. **Plugin version 1.4.0+** |
| `^(.*\.)?module-info$` | matches Java `module-info` class files in any package. **Plugin version 1.4.0+** |

The following local directory names will also always be ignored. Files in these directory are never checked or touched by the plugins:

Expand Down
5 changes: 3 additions & 2 deletions docs/Simple Options.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ Default: **false**

### `failBuildInCaseOfConflict`

Fail the build if any class or resource on the classpath is duplicate
and their SHA256 hash is different.
Fail the build if any class or resource on the classpath is duplicate, regardless of the SHA256 checksum.

Maven command line property: `duplicate-finder.failBuildInCaseOfConflict` (**Plugin version 1.1.1+**)

Expand Down Expand Up @@ -143,6 +142,8 @@ Maven command line property: `duplicate-finder.includeBootClasspath`

Default: **false**

**Warning! This option no longer works in JDK9+ because of changes in the classpath mechanism in JDK9. A warning was added in version 1.3.0+.**

### `bootClasspathProperty`

**Available in plugin version 1.1.1 and later.**
Expand Down

0 comments on commit 7efd884

Please sign in to comment.