diff --git a/README.md b/README.md
index c327e3a..6f8564b 100644
--- a/README.md
+++ b/README.md
@@ -1,27 +1,27 @@
# BioFormatsImageInfo
Metadata extraction tool based on Bio-Formats
-### Compile
-```shell
-mvn compile
-```
-
-### run
-```shell
-mvn exec:java -Dexec.mainClass=jp.riken.neurodata.tools.BioFormatsImageInfo -Dexec.args="'[path to image file]'"
-```
-
-### make jar package
+### make package
```shell
mvn package
```
-### run by jar
+### run
```shell
-java -jar target/bioformats-imageinfo-1.0.0.jar "[path to image file]"
+./target/dist/bin/bioformats-imageinfo "[path to image file]"
```
-### run by class
+### run by jar
+```shell
+java -jar ./target/dist/lib/bioformats-imageinfo-1.0.0.jar "[path to image file]"
+```
+
+### run by fat jar
+```shell
+java -jar ./target/bioformats-imageinfo-1.0.0-jar-with-dependencies.jar "[path to image file]"
+```
+
+### library usage
```java
import java.util.LinkedHashMap;
import java.util.Map;
diff --git a/pom.xml b/pom.xml
index 9ebe57a..acaecd9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,17 +11,21 @@
https://neurodata.riken.jp
- UTF-8
+ 6.10.0
+ jp.riken.neurodata.tools.BioFormatsImageInfo
+
1.8
1.8
+
+ UTF-8
+ UTF-8
ome
- bioformats_package
- 6.10.0
- pom
+ bio-formats-tools
+ ${bio-formats.version}
@@ -39,8 +43,8 @@
copy-dependencies
- ${project.build.directory}/libs
-
+ true
+
@@ -52,8 +56,7 @@
true
- libs/
- jp.riken.neurodata.tools.BioFormatsImageInfo
+ ${bioformats-imageinfo.mainClass}
@@ -61,14 +64,14 @@
org.apache.maven.plugins
maven-assembly-plugin
- 3.4.1
+ 3.4.1
jar-with-dependencies
- jp.riken.neurodata.tools.BioFormatsImageInfo
+ ${bioformats-imageinfo.mainClass}
@@ -82,6 +85,42 @@
+
+ org.codehaus.mojo
+ appassembler-maven-plugin
+ 1.10
+
+ ${project.build.directory}/dist
+ flat
+ lib
+
+
+ ${bioformats-imageinfo.mainClass}
+ ${project.name}
+
+
+
+
+
+ package
+
+ assemble
+
+
+
+
+
+ org.owasp
+ dependency-check-maven
+ 7.1.1
+
+
+
+ check
+
+
+
+
@@ -98,17 +137,16 @@
central
Central Repository
https://repo.maven.apache.org/maven2
-
-
- unidata.releases
- https://artifacts.unidata.ucar.edu/content/repositories/unidata-releases
- false
ome
OME Artifactory
https://artifacts.openmicroscopy.org/artifactory/maven/
+
+ unidata.releases
+ https://artifacts.unidata.ucar.edu/content/repositories/unidata-releases
+