appsody / stacks

Appsody application stacks. This repo will be archived soon.
https://appsody.dev
Apache License 2.0
89 stars 121 forks source link

java-openliberty: In template(s) use property to reference app name from server.xml config #822

Open scottkurz opened 4 years ago

scottkurz commented 4 years ago

Instead of:

 <webApplication location="starter-app.war" contextRoot="/"/>

in templates/default/src/main/liberty/config/server.xml we should be referencing the artifactId or the finalName which is I think what the MP starter does: (https://github.com/eclipse/microprofile-starter)