iie
iie

Reputation: 501

Different configuration for run and run-war

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.

Upvotes: 1

Views: 72

Answers (1)

carlspring
carlspring

Reputation: 32567

You can do this with Maven profiles. Define your plugin's settings in there and trigger the profiles.

Upvotes: 1

Related Questions