oltu-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasha Joachimsthal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OLTU-209) remove org.json
Date Fri, 27 Oct 2017 05:26:00 GMT

    [ https://issues.apache.org/jira/browse/OLTU-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16221726#comment-16221726
] 

Jasha Joachimsthal commented on OLTU-209:
-----------------------------------------

When I do {{mvn clean install}} it complains about an incorrect Java version for the JSON
library. Maven compiles the project with Java 6, but the JSON library is compiled with Java
8.

{noformat}
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] [...]/oltu/commons/json/src/main/java/org/apache/oltu/commons/json/CustomizableEntityReader.java:[78,-1]
cannot access javax.json.JsonValue
bad class file: javax/json/JsonValue.class(javax/json:JsonValue.class)
class file has wrong version 52.0, should be 50.0
{noformat}

Maven:
{noformat}
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
Maven home: /usr/local/Cellar/maven/3.5.0/libexec
Java version: 1.8.0_144, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre
Default locale: nl_NL, platform encoding: UTF-8
OS name: "mac os x", version: "10.13", arch: "x86_64", family: "mac"
{noformat}

Toolchain:
{code:xml}
<?xml version="1.0" encoding="UTF8"?>
<toolchains>
        <toolchain>
                <type>jdk</type>
                <provides>
                        <version>1.6</version>
                        <vendor>oracle</vendor>
                </provides>
                <configuration>
                        <jdkHome>/Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home</jdkHome>
                </configuration>
        </toolchain>
        <toolchain>
                <type>jdk</type>
                <provides>
                        <version>1.7</version>
                        <vendor>oracle</vendor>
                </provides>
                <configuration>
                        <jdkHome>/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home</jdkHome>
                </configuration>
        </toolchain>
        <toolchain>
                <type>jdk</type>
                <provides>
                        <version>1.8</version>
                        <vendor>oracle</vendor>
                </provides>
                <configuration>
                        <jdkHome>/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home</jdkHome>
                </configuration>
        </toolchain>
</toolchains>
{code}

> remove org.json
> ---------------
>
>                 Key: OLTU-209
>                 URL: https://issues.apache.org/jira/browse/OLTU-209
>             Project: Apache Oltu
>          Issue Type: Improvement
>          Components: commons-json
>            Reporter: Antonio Sanso
>            Assignee: Simone Tripodi
>             Fix For: oauth2-1.0.3
>
>
> The Apache Software Foundation recently removed the org.json license from the list of
allowed licenses for Apache projects. The reason is the clause "The Software shall be used
for Good, not Evil."
> All Apache projects must remove the usage of this license 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message