Skip to content

Commit 36c412f

Browse files
Enable spotless for automatic code formatting
1 parent e0c011f commit 36c412f

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
<description>Maven plugin to download and collect license files from project dependencies.</description>
4040
<url>https://www.mojohaus.org/license-maven-plugin</url>
4141
<inceptionYear>2010</inceptionYear>
42+
4243
<licenses>
4344
<license>
4445
<name>The GNU Lesser General Public License, Version 3.0</name>
@@ -96,17 +97,20 @@
9697
<url>https://github.com/mojohaus/license-maven-plugin/tree/master</url>
9798
<tag>HEAD</tag>
9899
</scm>
100+
99101
<issueManagement>
100102
<system>github</system>
101103
<url>https://github.com/mojohaus/license-maven-plugin/issues/</url>
102104
</issueManagement>
105+
103106
<ciManagement>
104107
<system>github</system>
105108
<url>https://github.com/mojohaus/license-maven-plugin/actions</url>
106109
</ciManagement>
107110

108111
<properties>
109112
<mavenVersion>3.5.4</mavenVersion>
113+
<recommendedJavaBuildVersion>11</recommendedJavaBuildVersion>
110114
<mojo.java.target>8</mojo.java.target>
111115

112116
<processorVersion>1.3</processorVersion>
@@ -617,5 +621,19 @@
617621
</plugins>
618622
</reporting>
619623
</profile>
624+
<profile>
625+
<id>java11+</id>
626+
<activation>
627+
<jdk>[11,)</jdk>
628+
</activation>
629+
<build>
630+
<plugins>
631+
<plugin>
632+
<groupId>com.diffplug.spotless</groupId>
633+
<artifactId>spotless-maven-plugin</artifactId>
634+
</plugin>
635+
</plugins>
636+
</build>
637+
</profile>
620638
</profiles>
621639
</project>

0 commit comments

Comments
 (0)