OpenLiberty / devfile-stack

Application stack for Open Liberty
Apache License 2.0
10 stars 8 forks source link

Can we overload the outer loop to handle a "binary" prereq poject of war, ear, or liberty-assembly package format? #115

Open scottkurz opened 3 years ago

scottkurz commented 3 years ago

In https://github.com/mezarin/application-stack-ta-test we show one approach for providing a sample reflecting the output of a tool like Transformation Advisor.

What if we were to define a POM packaging type project, with Liberty config in src/main/liberty/config/server.xml. Could we use say the assembly plugin to take a dependency WAR and copy it into target then find a devfile command to do inner loop dev?

Or, perhaps we should use the liberty-assembly packaging type, which I think was made for this purpose.

Since I don't know too many WARs already in Maven Central and don't want to have to employ the "Maven repo embedded in the Git repo trick/hack", maybe this would be a good starting point:

net.wasdev.wlp.sample ferret 1.2 war

One of the goals would be to use the stack's outer loop Dockerfile unchanged.