Last active
November 11, 2015 22:45
-
-
Save jalex19100/6dc574538bd7d9ba3f43 to your computer and use it in GitHub Desktop.
Maven Weblogic Deploy plugin
This file contains 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
@REM store user credentials | |
@REM setDomainEnv.cmd only seems to work when you are in the same PWD | |
C:\Oracle\middleware\user_projects\domains\base_domain\bin>setDomainEnv.cmd | |
C:\Oracle\middleware\user_projects\domains\base_domain>java weblogic.WLST | |
wls:/offline> connect ('myUserid','myPassword','t3s://localhost:7001'); | |
wls:/CLUSTERNAME/serverConfig> storeUserConfig(userConfigFile='wls.local.config', userKeyFile='wls.local.key'); | |
@Deploying with maven weblogic plugin | |
mvn weblogic:wlst -nsu -Penv-local -DfileName=etc\redeploy.py -DfailOnError=false -Dargs="${wls.userConfigFile} ${wls.userKeyFile} ${wls.adminurl}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment