Skip to content

Commit

Permalink
OLTU-215 Upgrade to Java 8
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/oltu/trunk@1813903 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
jashaj committed Oct 31, 2017
1 parent 778c47e commit a847c13
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion commons/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.oltu</groupId>
<artifactId>org.apache.oltu.parent</artifactId>
<version>4</version>
<version>5-SNAPSHOT</version>
<relativePath>../parent</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions demos/client-demo/pom.xml
Expand Up @@ -33,9 +33,9 @@
<oltu.oauth2.version>1.0.3-SNAPSHOT</oltu.oauth2.version>
<oltu.oauth2.jwt.version>1.0.4-SNAPSHOT</oltu.oauth2.jwt.version>
<oltu.oidc.version>0.0.1-SNAPSHOT</oltu.oidc.version>
<org.springframework.version>3.2.4.RELEASE</org.springframework.version>
<org.springframework.version>3.2.18.RELEASE</org.springframework.version>
<servlet-api.version>2.5</servlet-api.version>
<slf4j.version>1.7.18</slf4j.version>
<slf4j.version>1.7.25</slf4j.version>
</properties>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion demos/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.oltu</groupId>
<artifactId>org.apache.oltu.parent</artifactId>
<version>4</version>
<version>5-SNAPSHOT</version>
<relativePath>../parent</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion jose/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.oltu</groupId>
<artifactId>org.apache.oltu.parent</artifactId>
<version>4</version>
<version>5-SNAPSHOT</version>
<relativePath>../parent</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion oauth-2.0/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.oltu</groupId>
<artifactId>org.apache.oltu.parent</artifactId>
<version>4</version>
<version>5-SNAPSHOT</version>
<relativePath>../parent</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion openid-connect/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.oltu</groupId>
<artifactId>org.apache.oltu.parent</artifactId>
<version>4</version>
<version>5-SNAPSHOT</version>
<relativePath>../parent</relativePath>
</parent>

Expand Down
17 changes: 9 additions & 8 deletions parent/pom.xml
Expand Up @@ -354,8 +354,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<javac.src.version>1.6</javac.src.version>
<javac.target.version>1.6</javac.target.version>
<javac.src.version>1.8</javac.src.version>
<javac.target.version>1.8</javac.target.version>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ssZ</maven.build.timestamp.format>
<implementation.build>${scmBranch}@r${buildNumber}</implementation.build>
<!--
Expand Down Expand Up @@ -538,8 +538,8 @@
<configuration>
<rules>
<requireJavaVersion>
<version>[1.6,)</version>
<message>[ERROR] The currently supported version of Java is 1.6 or higher</message>
<version>[1.8,)</version>
<message>[ERROR] The currently supported version of Java is 1.8 or higher</message>
</requireJavaVersion>
<requireMavenVersion>
<version>[2.2.0,)</version>
Expand Down Expand Up @@ -691,7 +691,7 @@
<configuration>
<linkXref>true</linkXref>
<minimumTokens>100</minimumTokens>
<targetJdk>1.6</targetJdk>
<targetJdk>1.8</targetJdk>
</configuration>
</plugin>
</plugins>
Expand Down Expand Up @@ -937,8 +937,9 @@
</reporting>
</profile>
<profile>
<!-- repository.apache.org doesn't accept connections from jdk 1.6 (https://issues.apache.org/jira/browse/BUILDS-85)
so use toolchains to require jdk 1.6 for compiling but deploy using a newer jdk
<!--
Originally added to compile with Java 1.6 while using Java 1.8 to run Maven. Now to make sure the correct JDK
version is used.
-->
<id>toolchain</id>
<build>
Expand All @@ -951,7 +952,7 @@
<configuration>
<toolchains>
<jdk>
<version>1.6</version>
<version>1.8</version>
<vendor>oracle</vendor>
</jdk>
</toolchains>
Expand Down
2 changes: 1 addition & 1 deletion site/pom.xml
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.oltu</groupId>
<artifactId>org.apache.oltu.parent</artifactId>
<version>4</version>
<version>5-SNAPSHOT</version>
<relativePath>../parent</relativePath>
</parent>

Expand Down

0 comments on commit a847c13

Please sign in to comment.