earldouglas / sbt-war

Package and run .war files with sbt
BSD 3-Clause "New" or "Revised" License
382 stars 105 forks source link

Create a webapp components plugin #931

Closed earldouglas closed 2 months ago

earldouglas commented 2 months ago

To save on unnecessary IO, we want to identify all of the components of a webapp without needlessly copying files around.

A webapp consists of three sets of files:

In most cases, resources are static and kept in the src/main/webapp directory. Occasionally they might be generated (e.g. via a minifier, a JS compiler, etc.).

The webapp components plugin allows the user to specify/override the locations of these files.

The webapp components plugin will be used by a downstream container runner to launch a container without needing to copy static files around, prepare an exploded .war file, or package a .war file.