Blueprint Developer Manual / Version 2512.0
Table Of ContentsAs an alternative to the IDEA integration, you can start most of the applications using the spring-boot-maven-plugin.
Exception: The Studio Client must be started via pnpm.
Using CoreMedia’s configuration facade makes it very simple to use remote services when developing a single app. Simply run the application via Spring Boot Maven plugin, like:
mvn spring-boot:run \ -Dspring-boot.run.jvmArguments="-Dinstallation.host=<FQDN> ..." \ -Dspring-boot.run.profiles=<profiles>
The Spring profiles are most likely to be dev,local,private (in that particular order)
but can vary depending on the spring profiles defined for the application.
If more than one app is started locally, simply add the required convenience host properties to the apps' private
Spring profile or the environment variables.
To activate gRPC on the started application, export the corresponding
environment variable REPOSITORY_USEGRPC set to true or precede the command with a local variable definition:
REPOSITORY_USEGRPC=true mvn spring-boot:run \ -Dspring-boot.run.jvmArguments="-Dinstallation.host=<FQDN> ..." \ -Dspring-boot.run.profiles=<profiles>
Note
Maven’s mvnDebug command does not work with current Spring Boot versions.
Instead, you can enable debugging by adding the debug configuration like
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:8000
to the JVM arguments.


