Have you ever wondered if it is possible to install Oracle Weblogic Server using Maven? Well, it is.
- Install the Weblogic plugin
- Use the Weblogic plugin
1. Install the Weblogic plugin
Here is a bit of a chicken and the egg story. You will have to have an existing Weblogic install to
perform this step. Go to the $MW_HOME/wlserver/server/lib directory and issue the following command:
mvn install:install-file -Dfile=wls-maven-plugin.jar -DpomFile=pom.xml
That installs the wls-maven-plugin into your local Maven repository. Now you can use it.
Note this step does only need to be done once. Once the plugin is in your local Maven repository
you can keep repeating step #2 below.
2. Use the Weblogic plugin
Add the following snippet to your POM Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.