Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updated resulting pom to Java 8
Updated the Maven Compiler Plugin config to use Java 1.8 as source and target. Adjusted the configurations of the Maven Enforcer Plugin and the Maven Idea Plugin accordingly.

Fixes #69

Signed-off-by: Robert Munteanu <rmuntean@adobe.com>
  • Loading branch information
Tomasz Niedźwiedź authored and rombert committed Jan 19, 2017
1 parent 3a4d236 commit ebbf7e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,7 +1,7 @@
sudo: false
language: java
install: true
jdk: openjdk7
jdk: oraclejdk8
script: mvn verify
cache:
directories:
Expand Down
10 changes: 5 additions & 5 deletions src/main/archetype/pom.xml
Expand Up @@ -87,8 +87,8 @@
<version>[2.2.1,)</version>
</requireMavenVersion>
<requireJavaVersion>
<message>Project must be compiled with Java 6 or higher</message>
<version>1.6.0</version>
<message>Project must be compiled with Java 8 or higher</message>
<version>1.8.0</version>
</requireJavaVersion>
</rules>
</configuration>
Expand All @@ -100,8 +100,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<!-- Maven IntelliJ IDEA Plugin -->
Expand All @@ -110,7 +110,7 @@
<artifactId>maven-idea-plugin</artifactId>
<version>2.2.1</version>
<configuration>
<jdkLevel>1.6</jdkLevel>
<jdkLevel>1.8</jdkLevel>
<linkModules>true</linkModules>
<downloadSources>true</downloadSources>
</configuration>
Expand Down

0 comments on commit ebbf7e5

Please sign in to comment.