سؤال

I am using Maven version 2.2.1 for deploying an application on Weblogic Server 12.1.1 .

I have written the pom.xml file and is deploying the application in the weblogic server.

Now if the application is missing in the server the stop app goal is getting failed.

So in my case, if the application is not present, it should skip the rest of the processes and deploy the the application onto the server.

هل كانت مفيدة؟

المحلول

The maven tag <failOnError> can be used for this.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top