Skip to content

Commit afc05df

Browse files
committed
Drop support for JDK1.7
1 parent 94051ac commit afc05df

File tree

3 files changed

+2
-37
lines changed

3 files changed

+2
-37
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: java
22
jdk:
3-
- oraclejdk7
43
- oraclejdk8
54
install: mvn -DskipTests=true -Dbasepom.check.skip-all=true -Dbasepom.it.skip=true -B install
65
script: mvn -B verify

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ To use it, add a plugin to your pom like
7979
Changes:
8080

8181
2.0.0 - support ZIP64 format
82+
- require Java 8, drop support for JDK7
8283

8384
1.4.0 - require Java 7, change code to use JDK7 APIs
8485
- Support Windows

pom.xml

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@
5353
</scm>
5454

5555
<properties>
56-
<project.jdk7.home>${env.JAVA7_HOME}</project.jdk7.home>
57-
<project.build.targetJdk>1.7</project.build.targetJdk>
56+
<project.build.targetJdk>1.8</project.build.targetJdk>
5857
<dep.maven-api.version>3.0</dep.maven-api.version>
5958
<dep.plexus.version>1.5.5</dep.plexus.version>
6059
<dep.plexus-utils.version>2.0.4</dep.plexus-utils.version>
@@ -217,38 +216,4 @@
217216
</plugin>
218217
</plugins>
219218
</build>
220-
221-
<profiles>
222-
<profile>
223-
<id>travis</id>
224-
<activation>
225-
<property>
226-
<name>env.TRAVIS</name>
227-
</property>
228-
</activation>
229-
<properties>
230-
<project.jdk7.home>${env.JAVA_HOME}</project.jdk7.home>
231-
</properties>
232-
</profile>
233-
<profile>
234-
<id>cross-compile</id>
235-
<activation>
236-
<jdk>(1.7,]</jdk>
237-
</activation>
238-
<build>
239-
<pluginManagement>
240-
<plugins>
241-
<plugin>
242-
<artifactId>maven-compiler-plugin</artifactId>
243-
<configuration>
244-
<compilerArguments children.combine="append">
245-
<bootclasspath>${project.jdk7.home}/jre/lib/rt.jar:${project.jdk7.home}/jre/lib/jce.jar:${project.jdk7.home}/../classes/classes.jar</bootclasspath>
246-
</compilerArguments>
247-
</configuration>
248-
</plugin>
249-
</plugins>
250-
</pluginManagement>
251-
</build>
252-
</profile>
253-
</profiles>
254219
</project>

0 commit comments

Comments
 (0)