How to use inlinedConfScript to configure JAVA_OPTS with maven?

ε祈祈猫儿з 提交于 2019-12-13 03:39:20

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!