Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-4253

Look at migrate the groovy scripts which configure the WFLY standalone.xml to WFLY cli scripts

XMLWordPrintable

      Look at add/change WFLY configuration with cli scripts like :

                  <plugin>
                      <groupId>org.wildfly.plugins</groupId>
                      <artifactId>wildfly-maven-plugin</artifactId>
                      <executions>
                          <execution>
                              <id>config-with-cli</id>
                              <phase>process-test-resources</phase>
                              <goals>
                                  <goal>execute-commands</goal>
                              </goals>
                              <configuration>
                                  <skip>${skipTests}</skip>
                                  <jboss-home>${jboss.home}</jboss-home>
                                  <offline>true</offline>
                                  <scripts>
                                      <script>/path/to/some.cli</script>
                                  </scripts>
                                  <stdout>${project.build.directory}/result.out</stdout>
                                  <system-properties>
                                      <jboss.server.config.file.name>${jboss.server.config.file.name}</jboss.server.config.file.name>
                                  </system-properties>
                              </configuration>
                          </execution>
                      </executions>
                  </plugin>

            rsearls r searls
            rhn-engineering-ema Jim Ma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: