From 705e7f7e7de1f27e30f4c24acfa6f7edabca1adf Mon Sep 17 00:00:00 2001 From: Yoshihiro OKUMURA Date: Thu, 20 Apr 2023 12:25:50 +0900 Subject: [PATCH] update bio-formats version to 6.12.0. --- README.md | 4 +- pom.xml | 94 ++++++++++++++++++++++------------ src/main/assembly/assembly.xml | 35 +++++++++++++ 3 files changed, 99 insertions(+), 34 deletions(-) create mode 100644 src/main/assembly/assembly.xml diff --git a/README.md b/README.md index f706563..0f55a2c 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,12 @@ mvn package ### run by jar ```shell -java -jar ./target/dist/lib/bioformats-imageinfo-1.1.2.jar "[path to image file]" +java -jar ./target/dist/lib/bioformats-imageinfo-1.1.3.jar "[path to image file]" ``` ### run by fat jar ```shell -java -jar ./target/bioformats-imageinfo-1.1.2-jar-with-dependencies.jar "[path to image file]" +java -jar ./target/bioformats-imageinfo-1.1.3-jar-with-dependencies.jar "[path to image file]" ``` ### library usage diff --git a/pom.xml b/pom.xml index edbf3e5..74394a3 100644 --- a/pom.xml +++ b/pom.xml @@ -3,13 +3,13 @@ 4.0.0 jp.riken.neurodata.tools.BioFormatsImageInfo bioformats-imageinfo - 1.1.2 + 1.1.3 bioformats-imageinfo https://neurodata.riken.jp - 6.11.1 + 6.12.0 jp.riken.neurodata.tools.BioFormatsImageInfo 1.8 @@ -25,14 +25,39 @@ bio-formats-tools ${bio-formats.version} + + org.slf4j + slf4j-nop + 1.7.30 + org.apache.maven.plugins - maven-dependency-plugin + maven-enforcer-plugin 3.3.0 + + + enforce-maven + + enforce + + + + + 3.2.5 + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.5.0 copy-dependencies @@ -49,7 +74,7 @@ org.apache.maven.plugins maven-jar-plugin - 3.2.2 + 3.3.0 @@ -59,34 +84,10 @@ - - org.apache.maven.plugins - maven-assembly-plugin - 3.4.1 - - - jar-with-dependencies - - - - ${bioformats-imageinfo.mainClass} - - - - - - make-assembly - package - - single - - - - org.codehaus.mojo appassembler-maven-plugin - 1.10 + 2.1.0 ${project.build.directory}/dist flat @@ -107,10 +108,37 @@ + + org.apache.maven.plugins + maven-assembly-plugin + 3.5.0 + + + jar-with-dependencies + + + + ${bioformats-imageinfo.mainClass} + + + + src/main/assembly/assembly.xml + + + + + make-assembly + package + + single + + + + org.owasp dependency-check-maven - 7.4.1 + 8.2.1 @@ -126,7 +154,8 @@ central Central Repository - https://repo.maven.apache.org/maven2 + + https://repo1.maven.org/maven2/ default @@ -135,7 +164,8 @@ central Central Repository - https://repo.maven.apache.org/maven2 + + https://repo1.maven.org/maven2/ ome diff --git a/src/main/assembly/assembly.xml b/src/main/assembly/assembly.xml new file mode 100644 index 0000000..f117a78 --- /dev/null +++ b/src/main/assembly/assembly.xml @@ -0,0 +1,35 @@ + + + bin + + tar.gz + tar.bz2 + zip + + + + target/dist/bin + bin + + *.bat + + 0755 + 0755 + + + target/dist/bin + bin + + *.bat + + 0755 + 0644 + + + + + lib + + +