To install weblogic application server, I unpacked 2 files that I received, or oracle using these links:
http://download.oracle.com/otn/nt/middleware/12c/wls/1212/wls1212_dev.zip http://download.oracle.com/otn/nt/middleware/12c/wls/1212/wls1212_dev_supplemental.zip
.. found on this page .
I just unpacked both files, and they are automatically unpacked to the same folder. setting the environment variables MW_HOME and JAVA_HOME to point to the folder with the unpacked folders and Java 7 JDK locations respectively, I ran the configure.cmd file and it ended successfully.
The problem is that I cannot achieve the same result on this page if I follow the instructions on it. Here I summarized these instructions: ( ORACLE_HOME is identical to MW_HOME , both pointing to the installation folder.)
%ORACLE_HOME%/wlserver/server/bin/setWLSEnv cd %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=D:/oracle_home mvn help:describe -DgroupId=com.oracle.weblogic -DartifactId=weblogic-maven-plugin -Dversion=12.1.2-0-0
Where oracle-maven-sync.oracleHome is The path to the Oracle home that you wish to populate the Maven repository from. . This is mainly a Weblogic directory, which has a wlserver directory.
The problem is that the last line (the line requesting the installed plugin for the description) shows the following error message (Ignore the masked IP addresses, I masked them manually in this question):
[INFO] Scanning for projects... [INFO] [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Stub Project (No POM) 1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-help-plugin:2.2:describe (default-cli) @ standalone-pom --- [WARNING] The POM for com.oracle.weblogic:weblogic-maven-plugin:jar:12.1.2-0-0 is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.775 s [INFO] Finished at: 2014-05-04T13:00:03+02:00 [INFO] Final Memory: 7M/152M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-help-plugin:2.2:describe (default-cli) on project standalone-pom: Plugin does not exist: Plugin could not be found, please check its coordinates fo typos and ensure the required plugin repositories are defined in the POM [ERROR] com.oracle.weblogic:weblogic-maven-plugin:maven-plugin:12.1.2-0-0 [ERROR] [ERROR] from the specified remote repositories: [ERROR] central (http://xxxx:xxxx/artifactory/plugins-release, releases=true, snapshots=false), [ERROR] snapshots (http://xxxx:xxxx/artifactory/plugins-snapshot, releases=true, snapshots=true), [ERROR] central-se (http://xxxx:xxxx/artifactory/plugins-release, releases=true, snapshots=false), [ERROR] snapshots-se (http://xxxx:xxxx/artifactory/plugins-snapshot, releases=true, snapshots=true) [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http:
What makes me think that this is NOT a network problem, it is that I have successfully installed this plugin before, but I donβt remember exactly how I can skip a few steps?
How can i solve this? My goal is to be able to reference maven's weblogic libraries as dependencies as follows:
<dependency> <groupId>com.oracle.weblogic</groupId> <artifactId>weblogic-server-pom</artifactId> <version>12.1.2-0-0</version> <type>pom</type> <scope>provided</scope> </dependency>