diff common/pom.xml @ 1693:dbe534cdb5f6

New ImageIO-JNR plugin option. Can be activated with "mvn -Dimageio=jnr". Uses BSBs ImageIO-JNR plugin from https://github.com/dbmdz/imageio-jnr Needs native libraries installed separately.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Sat, 07 Apr 2018 20:05:20 +0200
parents 93b59a801711
children
line wrap: on
line diff
--- a/common/pom.xml	Mon Mar 26 20:50:06 2018 +0200
+++ b/common/pom.xml	Sat Apr 07 20:05:20 2018 +0200
@@ -67,6 +67,29 @@
 				</dependency>
 			</dependencies>
 		</profile>
+		<profile>
+			<id>imageio-jnr</id>
+            <!-- use BSBs ImageIO-JNR plugin from https://github.com/dbmdz/imageio-jnr -->
+			<activation>
+				<!-- <activeByDefault>true</activeByDefault> -->
+				<property>
+					<name>imageio</name>
+					<value>jnr</value>
+				</property>
+			</activation>
+			<dependencies>
+				<dependency>
+					<groupId>de.digitalcollections.imageio</groupId>
+					<artifactId>imageio-turbojpeg</artifactId>
+					<version>0.2.5</version>
+				</dependency>
+				<dependency>
+					<groupId>de.digitalcollections.imageio</groupId>
+					<artifactId>imageio-openjpeg</artifactId>
+					<version>0.2.5</version>
+				</dependency>
+			</dependencies>
+		</profile>
 	</profiles>
 
 	<dependencies>