Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
slandelle committed Jul 7, 2023
1 parent 5045e7c commit 2e4d43b
Showing 1 changed file with 67 additions and 72 deletions.
139 changes: 67 additions & 72 deletions pom.xml
Expand Up @@ -449,6 +449,14 @@
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgument>-Xlint:deprecation</compilerArgument>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
Expand Down Expand Up @@ -477,46 +485,30 @@
<!-- -sourceclasspath ${project.build.outputDirectory} -->
<excludePackageNames>${project.groupId}.example*:${project.groupId}.util.internal*</excludePackageNames>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgument>-Xlint:deprecation</compilerArgument>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<configuration>
<java>
<includes>
<include>src/main/java/**/*.java</include>
<include>src/test/java/**/*.java</include>
</includes>
<excludes>
<exclude>src/main/java/scala_maven/ScalaCompilerLoader.java</exclude>
</excludes>
<googleJavaFormat />
<licenseHeader>
<file>${project.basedir}/src/etc/header.txt</file>
</licenseHeader>
</java>
</configuration>
<artifactId>maven-plugin-plugin</artifactId>
<executions>
<execution>
<id>spotless-apply</id>
<phase>process-resources</phase>
<id>default-addPluginArtifactMetadata</id>
<phase>package</phase>
<goals>
<goal>apply</goal>
<goal>addPluginArtifactMetadata</goal>
</goals>
</execution>
<execution>
<id>spotless-verify</id>
<phase>verify</phase>
<id>default-descriptor</id>
<phase>process-classes</phase>
<goals>
<goal>check</goal>
<goal>descriptor</goal>
</goals>
</execution>
</executions>
Expand All @@ -540,38 +532,6 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java18</artifactId>
<version>1.0</version>
</signature>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus-snapshots</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
Expand All @@ -594,34 +554,69 @@
</configuration>
</plugin>
<plugin>
<artifactId>maven-plugin-plugin</artifactId>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<configuration>
<java>
<includes>
<include>src/main/java/**/*.java</include>
<include>src/test/java/**/*.java</include>
</includes>
<excludes>
<exclude>src/main/java/scala_maven/ScalaCompilerLoader.java</exclude>
</excludes>
<googleJavaFormat />
<licenseHeader>
<file>${project.basedir}/src/etc/header.txt</file>
</licenseHeader>
</java>
</configuration>
<executions>
<execution>
<id>default-addPluginArtifactMetadata</id>
<phase>package</phase>
<id>spotless-apply</id>
<phase>process-resources</phase>
<goals>
<goal>addPluginArtifactMetadata</goal>
<goal>apply</goal>
</goals>
</execution>
<execution>
<id>default-descriptor</id>
<phase>process-classes</phase>
<id>spotless-verify</id>
<phase>verify</phase>
<goals>
<goal>descriptor</goal>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java18</artifactId>
<version>1.0</version>
</signature>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus-snapshots</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<reportSets>
<reportSet>
Expand Down

0 comments on commit 2e4d43b

Please sign in to comment.