|
1456 | 1456 | </executions> |
1457 | 1457 | </plugin> |
1458 | 1458 | <plugin> |
1459 | | - <groupId>com.diffplug.spotless</groupId> |
1460 | | - <artifactId>spotless-maven-plugin</artifactId> |
1461 | | - <version>3.1.0</version> |
1462 | | - <configuration> |
1463 | | - <java> |
1464 | | - <licenseHeader> |
1465 | | - <file>${maven.multiModuleProjectDirectory}/tika-parent/license-header.txt</file> |
1466 | | - <delimiter>package </delimiter> |
1467 | | - </licenseHeader> |
1468 | | - <indent> |
1469 | | - <spaces>true</spaces> |
1470 | | - <spacesPerTab>4</spacesPerTab> |
1471 | | - </indent> |
1472 | | - <removeUnusedImports/> |
1473 | | - <importOrder> |
1474 | | - <order>\#,java|javax,,org.apache.tika</order> |
1475 | | - </importOrder> |
1476 | | - </java> |
1477 | | - </configuration> |
1478 | | - <executions> |
1479 | | - <execution> |
1480 | | - <goals> |
1481 | | - <goal>${spotless.goal}</goal> |
1482 | | - </goals> |
1483 | | - <phase>process-sources</phase> |
1484 | | - </execution> |
1485 | | - </executions> |
1486 | | - </plugin> |
1487 | | - <plugin> |
1488 | | - <!-- mvn validate --> |
| 1459 | + <groupId>com.diffplug.spotless</groupId> |
| 1460 | + <artifactId>spotless-maven-plugin</artifactId> |
| 1461 | + <version>3.1.0</version> |
| 1462 | + <configuration> |
| 1463 | + <java> |
| 1464 | + <includes> |
| 1465 | + <include>src/main/java/**/*.java</include> |
| 1466 | + <include>src/test/java/**/*.java</include> |
| 1467 | + </includes> |
| 1468 | + <excludes> |
| 1469 | + <exclude>**/CharsetDetector.java</exclude> |
| 1470 | + <exclude>**/CharsetMatch.java</exclude> |
| 1471 | + <exclude>**/CharsetRecog*.java</exclude> |
| 1472 | + <exclude>**/onenote/fsshttpb/unsigned/U*.java</exclude> |
| 1473 | + <exclude>**/IPTC.java</exclude> |
| 1474 | + <exclude>**/Photoshop.java</exclude> |
| 1475 | + <exclude>**/QuattroPro.java</exclude> |
| 1476 | + <exclude>**/WordPerfect.java</exclude> |
| 1477 | + <exclude>**/XMPRights.java</exclude> |
| 1478 | + </excludes> |
| 1479 | + <licenseHeader> |
| 1480 | + <file>${maven.multiModuleProjectDirectory}/tika-parent/license-header.txt</file> |
| 1481 | + <delimiter>package</delimiter> |
| 1482 | + </licenseHeader> |
| 1483 | + <indent> |
| 1484 | + <spaces>true</spaces> |
| 1485 | + <spacesPerTab>4</spacesPerTab> |
| 1486 | + </indent> |
| 1487 | + <removeUnusedImports/> |
| 1488 | + <importOrder> |
| 1489 | + <order>\#,java|javax,,org.apache.tika</order> |
| 1490 | + </importOrder> |
| 1491 | + </java> |
| 1492 | + </configuration> |
| 1493 | + <executions> |
| 1494 | + <execution> |
| 1495 | + <goals> |
| 1496 | + <goal>${spotless.goal}</goal> |
| 1497 | + </goals> |
| 1498 | + <phase>process-sources</phase> |
| 1499 | + </execution> |
| 1500 | + </executions> |
| 1501 | + </plugin> |
| 1502 | + <plugin> |
| 1503 | + <!-- mvn validate --> |
1489 | 1504 | <groupId>org.apache.maven.plugins</groupId> |
1490 | 1505 | <artifactId>maven-checkstyle-plugin</artifactId> |
1491 | 1506 | <version>${checkstyle.plugin.version}</version> |
|
0 commit comments