Skip to content

romenrg/java-maven-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Maven Quickstart Archetype, Adding JAR Archive Config

Creation

Archetype

mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4

Jar packaging

Added maven-jar-pluginconfig

Test

mvn test

Build

mvn clean package

Run

Before jar config

java -cp target/basic-archetype-test-1.0-SNAPSHOT.jar org.example.App

After jar config

java -jar target/basic-archetype-test-1.0-SNAPSHOT.jar

About

Added jar config to maven quickstart archetype

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages