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 + + +