Skip to content

Commit

Permalink
Fix build for java11 (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenRover authored Jan 14, 2021
1 parent cd06c6a commit ded251a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
10 changes: 4 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,6 @@
</dependencies>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
</plugin>

<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
Expand All @@ -233,6 +227,10 @@
</goals>
</execution>
</executions>
<configuration>
<source>8</source>
<detectJavaApiLink>false</detectJavaApiLink>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,7 @@

<build>
<plugins>
<plugin>
<!-- JAR will always be empty - suppress build warning that JAR is empty -->
<!-- This warning is triggered when the target/classes directory does not exist -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<classesDirectory>.</classesDirectory>
<excludes>
<exclude>**</exclude>
</excludes>
</configuration>
</plugin>

</plugins>
</build>
</project>

0 comments on commit ded251a

Please sign in to comment.