Simplified start procedure for Wildfly runtime

Jens Pelzetter 2020-06-19 13:02:22 +02:00
parent ecff915dad
commit df5539b676
2 changed files with 14 additions and 25 deletions

View File

@ -33,10 +33,10 @@ To use these runtime some prepration steps are necessary.
To run LibreCCM in this environment, use the `enable-runtime` profile and the `wildfly:start`
goal:
mvn -Penable-runtime -pl ccm-bundle-devel-wildfly wildfly:start
mvn -pl ccm-bundle-devel-wildfly wildfly:start
To shutdown the server:
mvn -Penable-runtime -pl ccm-bundle-devel-wildfly wildfly:shutdown
mvn -pl ccm-bundle-devel-wildfly wildfly:shutdown

View File

@ -237,6 +237,16 @@
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<configuration>
<skip>false</skip>
<propertiesFile>${project.basedir}/wildfly.properties</propertiesFile>
</configuration>
</plugin>
</plugins>
</build>
@ -354,26 +364,5 @@
</build>
</profile>
<profile>
<id>enable-runtime</id>
<build>
<plugins>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<configuration>
<skip>false</skip>
<propertiesFile>${project.basedir}/wildfly.properties</propertiesFile>
<!-- <serverArgs>
<serverArg>-Djboss.http.port=${runtime.http.port}</serverArg>
<serverArg>-Djboss.https.port=${runtime.https.port}</serverArg>
</serverArgs>-->
<!-- <hostname>${runtime.hostname}</hostname>
<port>${runtime.port}</port>-->
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>