Skip to content

migetapp/java-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java-hello-world

A barebones Java app using Apache Maven.

Running Locally

Make sure you have Apache Maven and Java installed.

$ git clone https://github.com/migetapp/java-hello-world.git # or clone your own fork
$ cd java-hello-world
$ mvnw --batch-mode -Dmaven.test.skip=true --no-transfer-progress package
$ java -jar target/java-hello-world-1.0.0-SNAPSHOT.jar

Your app should now be running on localhost:5000.

Running Locally using Paketo Buildpack and Docker

Make sure you have pack CLI and Docker installed.

$ pack config default-builder paketobuildpacks/builder-jammy-base
$ pack build java-hello-world
$ docker run -p 5000:5000 java-hello-world

Your app should now be running on localhost:5000.

About

Getting Started with Java on Miget.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published