Skip to content

Commit 5626754

Browse files
committed
TIKA-4251 -- add exclusions
1 parent 4831c2c commit 5626754

1 file changed

Lines changed: 45 additions & 30 deletions

File tree

tika-parent/pom.xml

Lines changed: 45 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,36 +1456,51 @@
14561456
</executions>
14571457
</plugin>
14581458
<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 -->
14891504
<groupId>org.apache.maven.plugins</groupId>
14901505
<artifactId>maven-checkstyle-plugin</artifactId>
14911506
<version>${checkstyle.plugin.version}</version>

0 commit comments

Comments
 (0)