Last active
August 29, 2015 13:56
-
-
Save virgium03/9249229 to your computer and use it in GitHub Desktop.
Deploy webapps with Weblogic Maven plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn com.oracle.weblogic:weblogic-maven-plugin:undeploy com.oracle.weblogic:weblogic-maven-plugin:deploy -pdev -Dweblogic.server.target=ms1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>com.oracle.weblogic</groupId> | |
<artifactId>weblogic-maven-plugin</artifactId> | |
<version>10.3.6.0</version> | |
<configuration> | |
<adminurl>${weblogic.admin.url}</adminurl> | |
<user>${weblogic.user}</user> | |
<password>${weblogic.password}</password> | |
<upload>true</upload> | |
<action>deploy</action> | |
<stage>true</stage> | |
<targets>${weblogic.server.targets}</targets> | |
<remote>true</remote> | |
<verbose>true</verbose> | |
<source>${project.build.directory}/${project.build.finalName}</source> | |
<!-- <source>${project.build.directory}/classes</source> --> | |
<name>${project.build.finalName}</name> | |
</configuration> | |
</plugin> | |
<profile> | |
<id>dev</id> | |
<properties> | |
<environment>dev</environment> | |
<weblogic.admin.url>t3://${weblogic.host}:7001</weblogic.admin.url> | |
<weblogic.user>${weblogic.user}</weblogic.user> | |
<weblogic.password>${weblogic.password}</weblogic.password> | |
<weblogic.server.targets>${weblogic.server.target}</weblogic.server.targets> | |
</properties> | |
</profile> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment