Skip to content

Commit

Permalink
#924: Switch as Java8 as minimal version.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Nov 17, 2021
1 parent d5bb0da commit b302487
Showing 1 changed file with 3 additions and 40 deletions.
43 changes: 3 additions & 40 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,43 +127,6 @@ Contributors:
<test.exclusion.pattern>nothing</test.exclusion.pattern>
</properties>
</profile>
<profile>
<id>jdk8orGreater</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<javadoc.doclint>all,-missing</javadoc.doclint>
</properties>
</profile>
<profile>
<!-- This profile activate the usage of toolchain to compile using JDK 1.7-->
<id>useToolchain</id>
<properties>
<javadoc.doclint></javadoc.doclint>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-toolchains-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>toolchain</goal>
</goals>
</execution>
</executions>
<configuration>
<toolchains>
<jdk>
<version>1.7</version>
</jdk>
</toolchains>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- Release nightly/snapshot build on eclipse nexus -->
<id>release-nightly</id>
Expand Down Expand Up @@ -345,8 +308,8 @@ Contributors:
<version>3.8.1</version>
<configuration>
<encoding>UTF-8</encoding>
<source>1.7</source>
<target>1.7</target>
<source>1.8</source>
<target>1.8</target>
<debug>true</debug>
<optimize>true</optimize>
<showDeprecations>true</showDeprecations>
Expand Down Expand Up @@ -384,7 +347,7 @@ Contributors:
<configuration>
<excludePackageNames>org.eclipse.leshan.core.util</excludePackageNames>
<quiet>true</quiet>
<doclint>${javadoc.doclint}</doclint>
<doclint>all,-missing</doclint>
<failOnWarnings>true</failOnWarnings>
</configuration>
</plugin>
Expand Down

0 comments on commit b302487

Please sign in to comment.