Archive for the ‘maven’ Category

This is a short description of how to generate wlfullclient.jar so you can handle all your weblogic dependencies with maven.

1) Generate wlfullclient.jar
Go to the installation folder of your weblogic server and use the jarbuilder-tool:

$> cd wlserver_10.3/server/lib/
$> java -jar wljarbuilder.jar

It will now have generated the file wlserver_10.3/server/lib/wlfullclient.jar

2) Add it to your local maven repository:

$> mvn install:install-file -Dfile=wlserver_10.3/server/lib/wlfullclient.jar -DgroupId=weblogic -DartifactId=wlfullclient -Dversion=10.3 -Dpackaging=jar -DgeneratePom=true

3) Use it as an dependency - add the following in your pom.xml:

<dependency>
   <groupId>weblogic</groupId>
   <artifactId>wlfullclient</artifactId>
   <version>10.3</version>
   <scope>provided</scope>
 </dependency>