Simplified start procedure for Wildfly runtime
parent
de45d2eb93
commit
8b78a5aff2
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -237,13 +237,23 @@
|
|||
</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>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>setup-runtime</id>
|
||||
<!-- <properties>
|
||||
<!-- <properties>
|
||||
<libreccm.datasource.connectionUrl>jdbc:postgresql://localhost:5432/ccm-devel</libreccm.datasource.connectionUrl>
|
||||
<libreccm.datasource.username>ccm</libreccm.datasource.username>
|
||||
<libreccm.datasource.password>ccm</libreccm.datasource.password>
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue