Uploaded image for project: 'WildFly Maven Plugin'
  1. WildFly Maven Plugin
  2. WFMP-62

Execute CLI commands in a new process

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Final
    • None
    • Maven Plugin
    • None

      CLI commands are executed in the same process maven is running in. In WildFly Core CLI has the option to run an embedded server. When the CLI high level commands are initialized it also initializes org.jboss.modules.Module which has some initialization for JAXP. Because of the way JAXP works problems can occur if another version of JAXP was initialized first in the maven process. This leads to the execute-commands goal failing if another plugin is executed first. See WFMP-48 for some details there.

      This would also potentially solve WFMP-11 as we could use a real modular environment. We could also allow the embedded server to be used to actually configure a container as well.

      One of the issues is going to be processing stdout results. We may need the process to use specific return codes to indicate errors and only read stdout or stderr if an unsuccessful return code was found for the process.

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: