domingo, 21 de octubre de 2018

How to Create an Executable JAR with Maven

In this quick article we will focus on packaging a Maven project into an executable Jar file. In order to create an executable jar, we don’t need any additional dependencies. We just need to create Maven Java project, and have at least one class with the main(…) method.

We also need to make sure that our pom.xml contains the the following elements:
In this article, we described the simplest way of creating an executable jar with a Maven plugin.

No hay comentarios.:

Publicar un comentario