[Git][java-team/openrefine-butterfly][upstream] New upstream version 1.2.5
Markus Koschany (@apo)
gitlab at salsa.debian.org
Wed Sep 13 15:36:12 BST 2023
Markus Koschany pushed to branch upstream at Debian Java Maintainers / openrefine-butterfly
Commits:
287c2998 by Markus Koschany at 2023-09-13T16:27:57+02:00
New upstream version 1.2.5
- - - - -
3 changed files:
- main/pom.xml
- main/src/edu/mit/simile/butterfly/ButterflyModuleImpl.java
- pom.xml
Changes:
=====================================
main/pom.xml
=====================================
@@ -7,12 +7,12 @@
<parent>
<groupId>org.openrefine.dependencies</groupId>
<artifactId>butterfly-container</artifactId>
- <version>1.2.4</version>
+ <version>1.2.5</version>
</parent>
<groupId>org.openrefine.dependencies</groupId>
<artifactId>butterfly</artifactId>
- <version>1.2.4</version>
+ <version>1.2.5</version>
<name>SIMILE Butterfly Engine</name>
<url>https://github.com/OpenRefine/simile-butterfly/</url>
@@ -51,7 +51,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.22.2</version>
+ <version>3.0.0</version>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>tests/conf/tests.xml</suiteXmlFile>
@@ -117,7 +117,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
- <version>5.0.0</version>
+ <version>5.2.0</version>
<scope>test</scope>
</dependency>
</dependencies>
=====================================
main/src/edu/mit/simile/butterfly/ButterflyModuleImpl.java
=====================================
@@ -342,7 +342,7 @@ public class ButterflyModuleImpl implements ButterflyModule {
// ------------------------------------------------------------------------------------------------
- protected Pattern images_pattern = Pattern.compile("^/?.*\\.(jpg|gif|png|svg)$");
+ protected Pattern images_pattern = Pattern.compile("^/?.*\\.(jpg|gif|png)$");
protected Pattern mod_inf_pattern = Pattern.compile("^.*/MOD-INF/.*$");
protected String encoding = "UTF-8";
@@ -458,6 +458,10 @@ public class ButterflyModuleImpl implements ButterflyModule {
if (path.endsWith(".xml")) {
return sendText(request, response, path, encoding, "application/xml",false);
}
+
+ if (path.endsWith(".svg")) {
+ return sendText(request, response, path, encoding, "image/svg+xml",false);
+ }
m = mod_inf_pattern.matcher(path);
if (m.matches()) {
=====================================
pom.xml
=====================================
@@ -12,7 +12,7 @@
<groupId>org.openrefine.dependencies</groupId>
<artifactId>butterfly-container</artifactId>
- <version>1.2.4</version>
+ <version>1.2.5</version>
<packaging>pom</packaging>
<name>SIMILE Butterfly</name>
@@ -78,7 +78,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.10.1</version>
+ <version>3.11.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
View it on GitLab: https://salsa.debian.org/java-team/openrefine-butterfly/-/commit/287c2998856b48f99f50fd78bc8703a85b58b9f5
--
View it on GitLab: https://salsa.debian.org/java-team/openrefine-butterfly/-/commit/287c2998856b48f99f50fd78bc8703a85b58b9f5
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20230913/8ba553a9/attachment.htm>
More information about the pkg-java-commits
mailing list