Commit 90c18454 authored by 王品堯's avatar 王品堯

調整打包及執行方式

parent 0b869c30
......@@ -9,7 +9,7 @@ mvn package
可以在target下找到JsonFileCompare-exec.jar
```
java -cp LanguageFileCompare-exec.jar LanguageFileCompare /xxx/locale-zh_TW.json /xxx/locale-zh_CN.json /xxx/locale-en_US.json
java -jar LanguageFileCompare-exec.jar /xxx/locale-zh_TW.json /xxx/locale-zh_CN.json /xxx/locale-en_US.json
```
* 第一個參數為基準的json, 後面為要找出缺少key的目標檔案
......
......@@ -42,6 +42,11 @@
</execution>
</executions>
<configuration>
<archive>
<manifest>
<mainClass>LanguageFileCompare</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment