You can do this with Maven profiles. Define your plugin's settings in there and trigger the profiles.
Different configuration for run and run-war
-
24-03-2022 - |
Frage
is it possible to have to configurations of jetty? I mean situation such as this: if I've started jetty with jetty:run, do this [ different webAppDirecotry ] if I've typed jetty:run-war, do something else, for example set scanIntervalSeconds to 4.
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow