Skip to content

Commit de00e27

Browse files
author
Hong-Thai Nguyen
committed
TIKA-1581 - Switch using Jhighlight on CDDL/LGPL dual-licensed and update notices
git-svn-id: https://svn.apache.org/repos/asf/tika/trunk@1669583 13f79535-47bb-0310-9956-ffa450edef68
1 parent dbc5eb7 commit de00e27

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

NOTICE.txt

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ This software contains code derived from UCAR/Unidata's NetCDF library.
1010
Tika-server compoment uses CDDL-licensed dependencies: jersey (http://jersey.java.net/) and
1111
Grizzly (http://grizzly.java.net/)
1212

13+
Tika-server parsers uses CDDL/LGPL dual-licensed dependencies: jhighlight (https://github.com/codelibs/jhighlight)
14+
1315
OpenCSV: Copyright 2005 Bytecode Pty Ltd. Licensed under the Apache License, Version 2.0
1416

1517
IPTC Photo Metadata descriptions Copyright 2010 International Press Telecommunications Council.

tika-parsers/pom.xml

+2-8
Original file line numberDiff line numberDiff line change
@@ -207,15 +207,9 @@
207207
<version>1.0.3</version>
208208
</dependency>
209209
<dependency>
210-
<groupId>com.uwyn</groupId>
210+
<groupId>org.codelibs</groupId>
211211
<artifactId>jhighlight</artifactId>
212-
<version>1.0</version>
213-
<exclusions>
214-
<exclusion>
215-
<groupId>javax.servlet</groupId>
216-
<artifactId>servlet-api</artifactId>
217-
</exclusion>
218-
</exclusions>
212+
<version>1.0.2</version>
219213
</dependency>
220214
<dependency>
221215
<groupId>com.pff</groupId>

tika-parsers/src/main/java/org/apache/tika/parser/code/SourceCodeParser.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
import com.uwyn.jhighlight.renderer.Renderer;
4949
import com.uwyn.jhighlight.renderer.XhtmlRendererFactory;
5050
/**
51-
* Generic Source code parser for Java, Groovy, C++
51+
* Generic Source code parser for Java, Groovy, C++.
52+
* Aware: This parser uses JHightlight library (https://github.com/codelibs/jhighlight) under CDDL/LGPL dual license
5253
*
5354
* @author Hong-Thai.Nguyen
5455
* @since 1.6

0 commit comments

Comments
 (0)