You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Pierre De Rop (JIRA)" <ji...@apache.org> on 2017/01/18 15:12:26 UTC

[jira] [Commented] (FELIX-5499) Remove usage of json.org from dependency manager

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

Pierre De Rop commented on FELIX-5499:
--------------------------------------

Thanks Carsten for reporting.
I will read carefully the link you mentioned. In the meantime, I have a question:

DM annotation and runtime are currently using this json library:

<dependency>
    <groupId>de.twentyeleven.skysail</groupId>
    <artifactId>org.json-osgi</artifactId>
    <version>20080701</version>
</dependency>

so, I'd like to check whether I have to completely remove usage of json at all (and use xml instead), or if it is possible to
replace the de.twentyeleven.skysail by another alternate json parser ? if I'm correct, there is a jackson json library from [1] which seems to have an Apache 2.0 license. So may I simply just use the jackson json library instead of the de.twentyeleven.skysail json lib ?

thanks for clarifying.

[1] http://wiki.fasterxml.com/JacksonDownload

> Remove usage of json.org from dependency manager
> ------------------------------------------------
>
>                 Key: FELIX-5499
>                 URL: https://issues.apache.org/jira/browse/FELIX-5499
>             Project: Felix
>          Issue Type: Improvement
>          Components: Dependency Manager
>            Reporter: Carsten Ziegeler
>            Priority: Blocker
>             Fix For: dependencymanager-4.3.0
>
>
> As explained in [1] we have to remove the usage of the json.org
> library from our code base as the licence is not in the excepted
> category anymore. This does not affect released code.
> [1]
> https://mail-archives.apache.org/mod_mbox/www-legal-discuss/201611.mbox/%3C0CE2E8C9-D9B7-404D-93EF-A1F8B07189BF@apache.org%3E
> This is the list of files using json.org:
> ./dependencymanager/org.apache.felix.dependencymanager.annotation/src/org/apache/felix/dm/annotation/plugin/bnd/AnnotationCollector.java:import org.json.JSONArray;
> ./dependencymanager/org.apache.felix.dependencymanager.annotation/src/org/apache/felix/dm/annotation/plugin/bnd/AnnotationCollector.java:import org.json.JSONException;
> ./dependencymanager/org.apache.felix.dependencymanager.annotation/src/org/apache/felix/dm/annotation/plugin/bnd/AnnotationCollector.java:import org.json.JSONObject;
> ./dependencymanager/org.apache.felix.dependencymanager.annotation/src/org/apache/felix/dm/annotation/plugin/bnd/EntryWriter.java:import org.json.JSONArray;
> ./dependencymanager/org.apache.felix.dependencymanager.annotation/src/org/apache/felix/dm/annotation/plugin/bnd/EntryWriter.java:import org.json.JSONException;
> ./dependencymanager/org.apache.felix.dependencymanager.annotation/src/org/apache/felix/dm/annotation/plugin/bnd/EntryWriter.java:import org.json.JSONObject;
> ./dependencymanager/org.apache.felix.dependencymanager.runtime/src/org/apache/felix/dm/runtime/DescriptorParser.java:import org.json.JSONObject;
> ./dependencymanager/org.apache.felix.dependencymanager.runtime/src/org/apache/felix/dm/runtime/JSONMetaData.java:import org.json.JSONArray;
> ./dependencymanager/org.apache.felix.dependencymanager.runtime/src/org/apache/felix/dm/runtime/JSONMetaData.java:import org.json.JSONException;
> ./dependencymanager/org.apache.felix.dependencymanager.runtime/src/org/apache/felix/dm/runtime/JSONMetaData.java:import org.json.JSONObject;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)