Using Maven to Deploy to a WebLogic Server

Use the Maven plug-in to deploy, redeploy applications built using Maven to WebLogic Server from within the Maven environment.

How to Deploy using Maven to a Running WebLogic Server

Use the command line to deploy using Maven to a running WebLogic server instance.

To Use the Command Line to Deploy using Maven to a Running WebLogic Server:

  1. Open a command prompt and navigate to …/{artifactId}/App, where {artifactId} is the name specified during archetype creation.

  2. Run the following command:

    mvn com.oracle.weblogic:weblogic-maven-plugin:redeploy -Dwls.adminurl=t3://localhost:7001 -Dwls.user=weblogic -Dwls.password=welcome1