I was using this plugin for local and remote deployment to weblogic 10,
everything was easy to get started except for manually installing all
weblogic dependency as mention in documentation.

http://mojo.codehaus.org/weblogic-maven-plugin/usage.html

I was able to manage to use single weblogic dependency following this
instruction from BEA
http://edocs.bea.com/wls/docs100/client/jarbuilder.html

Using the WebLogic JarBuilder Tool

Use the following steps to create a wlfullclient.jar file for a client
application:

   1. Change directories to the server/lib directory.

      cd WL_HOME/server/lib

   2. Use the following command to create wlfullclient.jar in the server/lib
directory:

      java -jar ../../../modules/com.bea.core.jarbuilder_X.X.X.X.jar

      where X.X.X.X is the version number of the jarbuilder module in the
WL_HOME/server/lib directory. For example:

      java -jar ../../../modules/com.bea.core.jarbuilder_1.0.1.0.jar

   3. You can now copy and bundle the wlfullclient.jar with client
applications.
   4. Add the wlfullclient.jar to the client application’s classpath.


So, now my pom is much simpler using single "wlfullclient.jar" as dependency

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>weblogic-maven-plugin</artifactId>
                <version>2.9.1</version>
                <dependencies>
                    <dependency>
                        <groupId>weblogic</groupId>
                        <artifactId>wlfullclient</artifactId>
                        <version>10</version>
                        <scope>provided</scope>
                    </dependency>
                </dependencies>
            </plugin>

Anyway, thanks to Scott for writing this plugin 

-Gopal
-- 
View this message in context: 
http://www.nabble.com/Simplifying-Weblogic-dependency-for-weblogic-maven-plugin-tp22614673p22614673.html
Sent from the mojo - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to