How do I use skipdsfailure-Option in Payara Micro uberjar? #4745
Labels
Status: Abandoned
User has not supplied reproducers for bug report, soon to be closed if user doesn’t come back
Status: Pending
Waiting on the issue requester to give more details or share a reproducer
Description
I am just playin around with payara micro and creation of uber jars by the payara micro maven plugin. From my payara server background I remember an option called skipdsfailure which is used with the deploy command (see https://javadoc.io/doc/fish.payara.extras/payara-embedded-all/5.193.1/org/glassfish/api/deployment/DeployCommandParameters.html)
Is there any chance to use this option in an uber jar like
java -jar -Dskipdsfailure myuber.jar
or append it in the configuration of the micro maven plugin like this:<plugin> <groupId>fish.payara.maven.plugins</groupId> <artifactId>payara-micro-maven-plugin</artifactId> <version>1.0.7</version> <executions> <execution> <phase>package</phase> <goals> <goal>bundle</goal> </goals> </execution> </executions> <configuration> <commandLineOptions> <option> <value>--noCluster</value> </option> <option> <key>--contextroot</key> <value>ROOT</value> </option> <option> <key>--port</key> <value>8080</value> </option> <option> <key>skipdsfailure</key> <value>true</value> </option> </commandLineOptions> <payaraVersion>${payara-micro.version}</payaraVersion> <appendSystemProperties>true</appendSystemProperties> <deployWar>true</deployWar> </configuration> </plugin>
Environment
payara-micro-maven-plugin: 1.0.7
Thanks for your feedback.
Best regards.
Bastian
The text was updated successfully, but these errors were encountered: