Simplified start procedure for Wildfly runtime

Former-commit-id: df5539b676
pull/4/head
Jens Pelzetter 2020-06-19 13:02:22 +02:00
parent fba55946ae
commit 0c83a5762b
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` To run LibreCCM in this environment, use the `enable-runtime` profile and the `wildfly:start`
goal: goal:
mvn -Penable-runtime -pl ccm-bundle-devel-wildfly wildfly:start mvn -pl ccm-bundle-devel-wildfly wildfly:start
To shutdown the server: 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,13 +237,23 @@
</filesets> </filesets>
</configuration> </configuration>
</plugin> </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> </plugins>
</build> </build>
<profiles> <profiles>
<profile> <profile>
<id>setup-runtime</id> <id>setup-runtime</id>
<!-- <properties> <!-- <properties>
<libreccm.datasource.connectionUrl>jdbc:postgresql://localhost:5432/ccm-devel</libreccm.datasource.connectionUrl> <libreccm.datasource.connectionUrl>jdbc:postgresql://localhost:5432/ccm-devel</libreccm.datasource.connectionUrl>
<libreccm.datasource.username>ccm</libreccm.datasource.username> <libreccm.datasource.username>ccm</libreccm.datasource.username>
<libreccm.datasource.password>ccm</libreccm.datasource.password> <libreccm.datasource.password>ccm</libreccm.datasource.password>
@ -353,27 +363,6 @@
</plugins> </plugins>
</build> </build>
</profile> </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> </profiles>
</project> </project>