Getting Started - dleskov/excelsior-jet-maven-plugin GitHub Wiki

Contents

Plain Java SE Applications

If your project is a plain Java SE application, you need to copy and paste the following configuration into the <plugins> section of your pom.xml file:

<plugin>
	<groupId>com.excelsiorjet</groupId>
	<artifactId>excelsior-jet-maven-plugin</artifactId>
	<version>1.1.0</version>
	<configuration>
		<mainClass></mainClass>
	</configuration>
</plugin>

set the <mainClass> parameter, and use the following command line to build the application:

mvn jet:build

Other Application Types

* For a Tomcat Web application, the <mainClass> parameter is not needed. Instead, you would need to add the <tomcatHome> parameter pointing to a clean Tomcat installation, a copy of which will be used for the deployment of your Web application at build time. See the Tomcat Web Applications section for more details.

An Invocation Dynamic Library does not need a main class either, and the main class of a Windows Service application must extend a special class com.excelsior.service.WinService of the Excelsior JET WinService API.

Configurations Other Than <mainClass>

For the complete list of parameters, refer to the Javadoc of @Parameter field declarations of the AbstractJetMojo and JetMojo classes. Most of them have default values derived from your pom.xml project, such as the <outputName> parameter specifying the name of the resulting executable.

⚠️ **GitHub.com Fallback** ⚠️