akavasis / mvn-example

An example for how to run a java application on the command line with maven

Home Page:https://sohamkamani.com/java/cli-app-with-maven/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

{TITLE}

This is the example repo for my blog post on Running a Java Application on the Command Line With Maven

To run this example:

  1. Make sure you have Java, the JDK, and Maven installed
  2. Clone the repo
  3. Run mvn clean compile assembly:single - this should give you a JAR file in the target folder
  4. Run java -jar target/mvn-example-1.0-SNAPSHOT.jar to run the JAR file

About

An example for how to run a java application on the command line with maven

https://sohamkamani.com/java/cli-app-with-maven/


Languages

Language:Java 100.0%