• Stephane Nicoll's avatar
    Auto-detect fork value in stop goal · 97f15d60
    Stephane Nicoll authored
    So far, one has to set the "fork" value to both the start and stop
    goals. Since they have the same name, sharing them in a global
    configuration element does the trick. However, the plugin also supports
    auto-detection of the fork value according to other parameters:
    typically if an agent or jvm arguments are set, forking will be
    automatically enabled. This is a problem since the stop goal is not aware
    of that.
    
    This commit transmits the value in a property attached to the
    `MavenProject`. That way, the stop goal can retrieve that value and
    apply the same defaults. This has the side effect that specifying the
    fork value isn't necessary anymore.
    
    Closes gh-6747
    97f15d60
Name
Last commit
Last update
..
jar Loading commit data...
jar-create-dir Loading commit data...
jar-custom-dir Loading commit data...
jar-custom-launcher Loading commit data...
jar-exclude-artifact Loading commit data...
jar-exclude-entry Loading commit data...
jar-exclude-group Loading commit data...
jar-executable Loading commit data...
jar-lib-name-conflict Loading commit data...
jar-non-executable Loading commit data...
jar-pom Loading commit data...
jar-skip Loading commit data...
jar-test-scope Loading commit data...
jar-with-unpack Loading commit data...
module Loading commit data...
prop Loading commit data...
run Loading commit data...
run-disable-fork Loading commit data...
run-exclude Loading commit data...
run-fork Loading commit data...
run-jvmargs Loading commit data...
run-profiles Loading commit data...
run-profiles-fork Loading commit data...
run-use-test-classpath Loading commit data...
start-stop Loading commit data...
start-stop-automatic-fork Loading commit data...
start-stop-fork Loading commit data...
start-stop-skip Loading commit data...
war Loading commit data...
war-with-unpack Loading commit data...
settings.xml Loading commit data...