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

ASF GitHub Bot commented on APEXMALHAR-2461:
--------------------------------------------

tweise closed pull request #678: APEXMALHAR-2461 fix dependencies with license 
in category x
URL: https://github.com/apache/apex-malhar/pull/678
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/contrib/pom.xml b/contrib/pom.xml
index 1434c49f26..8ddacd30f0 100755
--- a/contrib/pom.xml
+++ b/contrib/pom.xml
@@ -642,7 +642,7 @@
     <dependency>
       <groupId>com.github.fge</groupId>
       <artifactId>json-schema-validator</artifactId>
-      <version>2.0.1</version>
+      <version>2.2.6</version>
       <optional>true</optional>
     </dependency>
     <dependency>
diff --git 
a/contrib/src/main/java/com/datatorrent/contrib/parser/JsonParser.java 
b/contrib/src/main/java/com/datatorrent/contrib/parser/JsonParser.java
index bb95f9c261..1b81e6f1c1 100644
--- a/contrib/src/main/java/com/datatorrent/contrib/parser/JsonParser.java
+++ b/contrib/src/main/java/com/datatorrent/contrib/parser/JsonParser.java
@@ -31,12 +31,12 @@
 import com.fasterxml.jackson.databind.DeserializationFeature;
 import com.fasterxml.jackson.databind.JsonNode;
 import com.fasterxml.jackson.databind.ObjectMapper;
-import com.github.fge.jsonschema.exceptions.ProcessingException;
+import com.github.fge.jackson.JsonLoader;
+import com.github.fge.jsonschema.core.exceptions.ProcessingException;
+import com.github.fge.jsonschema.core.report.ProcessingMessage;
+import com.github.fge.jsonschema.core.report.ProcessingReport;
 import com.github.fge.jsonschema.main.JsonSchema;
 import com.github.fge.jsonschema.main.JsonSchemaFactory;
-import com.github.fge.jsonschema.report.ProcessingMessage;
-import com.github.fge.jsonschema.report.ProcessingReport;
-import com.github.fge.jsonschema.util.JsonLoader;
 import com.google.common.annotations.VisibleForTesting;
 
 import com.datatorrent.api.AutoMetric;
diff --git a/examples/csvformatter/pom.xml b/examples/csvformatter/pom.xml
index ddddab0635..1dea403a2e 100644
--- a/examples/csvformatter/pom.xml
+++ b/examples/csvformatter/pom.xml
@@ -60,7 +60,7 @@
         <dependency>
             <groupId>com.github.fge</groupId>
             <artifactId>json-schema-validator</artifactId>
-            <version>2.0.1</version>
+            <version>2.2.6</version>
             <optional>true</optional>
         </dependency>
         <dependency>
diff --git a/examples/enricher/pom.xml b/examples/enricher/pom.xml
index e4845c01f8..c18fd38c28 100644
--- a/examples/enricher/pom.xml
+++ b/examples/enricher/pom.xml
@@ -50,7 +50,7 @@
     <dependency>
       <groupId>com.github.fge</groupId>
       <artifactId>json-schema-validator</artifactId>
-      <version>2.0.1</version>
+      <version>2.2.6</version>
       <optional>true</optional>
     </dependency>
     <dependency>
diff --git a/examples/parser/pom.xml b/examples/parser/pom.xml
index aa41cfaad6..405af222f0 100644
--- a/examples/parser/pom.xml
+++ b/examples/parser/pom.xml
@@ -74,7 +74,7 @@
     <dependency>
       <groupId>com.github.fge</groupId>
       <artifactId>json-schema-validator</artifactId>
-      <version>2.0.1</version>
+      <version>2.2.6</version>
       <optional>true</optional>
     </dependency>
     <dependency>
diff --git a/examples/twitter/pom.xml b/examples/twitter/pom.xml
index e17db401a3..2781b836cc 100644
--- a/examples/twitter/pom.xml
+++ b/examples/twitter/pom.xml
@@ -70,6 +70,7 @@
       <groupId>mysql</groupId>
       <artifactId>mysql-connector-java</artifactId>
       <version>5.1.22</version>
+      <optional>true</optional>
     </dependency>
     <dependency>
       <groupId>org.apache.apex</groupId>
diff --git a/sql/pom.xml b/sql/pom.xml
index c0be2585d6..1f6c856079 100644
--- a/sql/pom.xml
+++ b/sql/pom.xml
@@ -147,7 +147,7 @@
     <dependency>
       <groupId>com.github.fge</groupId>
       <artifactId>json-schema-validator</artifactId>
-      <version>2.0.1</version>
+      <version>2.2.6</version>
     </dependency>
 
     <!-- Kafka Dependency -->


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Fix dependencies on libraries licensed under Category X
> -------------------------------------------------------
>
>                 Key: APEXMALHAR-2461
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2461
>             Project: Apache Apex Malhar
>          Issue Type: Bug
>            Reporter: Vlad Rozov
>            Assignee: Ananth
>            Priority: Major
>             Fix For: 3.8.0
>
>
> There are few samples and the benchmark application in Malhar that depend
> on libraries licensed under Category X. All such dependencies need to be
> either optional, be replaced with libraries that are compatible with Apache
> license or be removed. Any newly introduced dependency should be either
> compatible with the Apache license or be optional.



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

Reply via email to