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
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:
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.
As per the WebLogic 12.1.2 documentation page, follow these instructions:
Install the Oracle Maven sync plug-in and run the push goal:
Change directory to ORACLE_HOME\oracle_common\plugins\maven\com\oracle\maven\oracle-maven-sync\12.1.2.
mvn install:install-file -DpomFile=oracle-maven-sync.12.1.2.pom -Dfile=oracle-maven-sync.12.1.2.jar.
mvn com.oracle.maven:oracle-maven-sync:push -Doracle-maven-sync.oracleHome=c:\oracle\middleware\oracle_home.
You can validate whether you have successfully installed the plug-in using the Maven help:describe goal. See the Apache help plug-in describe goal documentation for additional information.
- mvn help:describe -DgroupId=com.oracle.weblogic -DartifactId=weblogic-maven-plugin -Dversion=12.1.2-0-0