Skip to content

waciumawanjohi/java-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Maven Sample Application

Building

pack build applications/maven

Alternatively, if you want to attach a Maven settings.xml file to pass additional configuration to Maven.

pack build applications/maven --volume $(pwd)/bindings:/platform/bindings

The command above will use the sample settings.xml file from this repo. It may be more useful to copy your local settings.xml first.

cp ~/.m2/settings.xml java/maven/bindings/maven/settings.xml
pack build applications/maven --volume $(pwd)/bindings:/platform/bindings

Running

docker run --rm --tty --publish 8080:8080 applications/maven

Viewing

curl -s http://localhost:8080/actuator/health | jq .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages