问题
I have tried to configure it like this but there will be an exception!
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<skip></skip>
<executable>true</executable>
<embeddedLaunchScriptProperties>
<property>
<name>inlinedConfScript</name>
<value>/app/knowledge-base.conf</value>
</property>
</embeddedLaunchScriptProperties>
</configuration>
</plugin>
</plugins>
</build>
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.1.7.RELEASE:repackage (repackage) on project knowledge-base: \app\knowledge-base.conf
来源:https://stackoverflow.com/questions/58763182/how-to-use-inlinedconfscript-to-configure-java-opts-with-maven