How to install weblogic maven plugin for weblogic v12.1.2 (12c)?

后端 未结 2 672
死守一世寂寞
死守一世寂寞 2021-01-11 23:23

To install weblogic application server I decompressed 2 files I got from or oracle using these links:

http://download.oracle.com/otn/nt/middleware/12c/wls/1212/wls12

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-11 23:35

    The answer is on this page which mentions how to install weblogic's maven dependencies in the local repository. For installing them on the remote repository, follow the instructions in this section.

    For quick reference, I had to run this command (Please read the comments after the command before running it):

    mvn com.oracle.maven:oracle-maven-sync:push -Doracle-maven-sync.oracleHome=%ORACLE_HOME% -Doracle-maven-sync.testingOnly=false
    

    Where -Doracle-maven-sync.oracleHome represents weblogic's installation folder. Its a folder that should hold directories like and not only:

    • oracle_common
    • user_projects
    • wlserver

    In my question I already ran the plugin mvn com.oracle.maven:oracle-maven-sync:push but I didn't specify the parameters mentioned here.

提交回复
热议问题