Project

General

Profile

Actions

How to Build Single Executable Jar Files

SourceEditor

In "sqs-editor" directory,

mvn assembly:single

As a result of this command, a single file "target/SourceEditor-2.1-SNAPSHOT-jar-with-dependencies.jar" will be built.

Copy and execute this jar file.

java -jar SourceEditor-2.1-SNAPSHOT-jar-with-dependencies.jar

Also you may be able to execute this jar file by double click of this jar.

MarkReader

In "sqs-reader" directory,

mvn assembly:single

As a result of this command, a single file "target/MarkReader-2.1-SNAPSHOT-jar-with-dependencies.jar" will be built.

Copy and execute this jar file.

java -jar MarkReader-2.1-SNAPSHOT-jar-with-dependencies.jar

Also you may be able to execute this jar file by double click of this jar.

Updated by Hiroya Kubo almost 12 years ago · 1 revisions