Here are the steps to setup the weblogic-maven-plugin on 10.3: -- Weblogic Admin Console --
In the protocols section of your server settings page verify that Enable Tunneling is checked. -- Dependencies -- In a Weblogic 10.3 JDK 1.6 environment the weblogic-maven-plugin requires 17 dependencies (listed at the end of this e-mail). This can be reduced to just two by creating the wlfullclient.jar. The link below details the steps required for creating the wlfullclient.jar. http://edocs.bea.com/wls/docs103/client/jarbuilder.html http://edocs.bea.com/wls/docs103/client/jarbuilder.html Once you have created the wlfullclient.jar install it to your local maven repository or deploy it to your shared repository. Next from your bea/modules directory install com.bea.core.descriptor.wl_1.1.0.0.jar into your local maven repository or deploy it to your shared repository. -- Your POM -- It is important that <noExit> is set to true or maven will exit improperly! Note that in the example below the ${weblogic-maven-plugin.password} property is defined externally in the settings.xml <properties> <weblogic-maven-plugin.version>2.9.2-20090126.222231-5</weblogic-maven-plugin.version> <weblogic-maven-plugin.adminServerProtocol>t3</weblogic-maven-plugin.adminServerProtocol> <weblogic-maven-plugin.upload>false</weblogic-maven-plugin.upload> <weblogic-maven-plugin.verbose>true</weblogic-maven-plugin.verbose> <weblogic-maven-plugin.debug>true</weblogic-maven-plugin.debug> <weblogic-maven-plugin.exploded>false</weblogic-maven-plugin.exploded> <weblogic-maven-plugin.continueOnFailure>false</weblogic-maven-plugin.continueOnFailure> <weblogic-maven-plugin.noExit>true</weblogic-maven-plugin.noExit> <weblogic-maven-plugin.adminServerHostName>weblogicHost</weblogic-maven-plugin.adminServerHostName> <weblogic-maven-plugin.adminServerPort>7001</weblogic-maven-plugin.adminServerPort> <weblogic-maven-plugin.userId>weblogicUserID</weblogic-maven-plugin.userId> <weblogic-maven-plugin.targetNames>AdminServer</weblogic-maven-plugin.targetNames> <weblogic-maven-plugin.remote>true</weblogic-maven-plugin.remote> </properties> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>weblogic-maven-plugin</artifactId> <version>${weblogic-maven-plugin.version}</version> <configuration> <upload>${weblogic-maven-plugin.upload}</upload> <verbose>${weblogic-maven-plugin.verbose}</verbose> <debug>${weblogic-maven-plugin.debug}</debug> <exploded>${weblogic-maven-plugin.exploded}</exploded> <noExit>${weblogic-maven-plugin.noExit}</noExit> <continueOnFailure>${weblogic-maven-plugin.continueOnFailure}</continueOnFailure> <adminServerHostName>${weblogic-maven-plugin.adminServerHostName}</adminServerHostName> <adminServerPort>${weblogic-maven-plugin.adminServerPort}</adminServerPort> <adminServerProtocol>${weblogic-maven-plugin.adminServerProtocol}</adminServerProtocol> <userId>${weblogic-maven-plugin.userId}</userId> <password>${weblogic-maven-plugin.password}</password> <remote>${weblogic-maven-plugin.remote}</remote> <targetNames>${weblogic-maven-plugin.targetNames}</targetNames> </configuration> <dependencies> <dependency> <groupId>weblogic</groupId> <artifactId>wlfullclient</artifactId> <version>10.3</version> </dependency> <dependency> <groupId>com.bea</groupId> <artifactId>com.bea.core.descriptor.wl</artifactId> <version>1.1.0.0</version> </dependency> </dependencies> </plugin> -- Weblogic Dependencies -- bea\modules\com.bea.core.descriptor.wl_1.1.0.0.jar bea\modules\com.bea.core.descriptor_1.4.0.0.jar bea\modules\com.bea.core.management.core_2.3.0.0.jar bea\modules\com.bea.core.management.jmx_1.1.0.0.jar bea\modules\com.bea.core.weblogic.lifecycle_1.1.0.0.jar bea\modules\com.bea.core.weblogic.security.digest_1.0.0.0.jar bea\modules\com.bea.core.weblogic.security.identity_1.1.0.0.jar bea\modules\com.bea.core.weblogic.security.wls_2.0.1.0.jar bea\modules\com.bea.core.weblogic.security_2.0.1.0.jar bea\modules\com.bea.core.weblogic.socket.api_1.0.0.0.jar bea\modules\com.bea.core.weblogic.workmanager_1.4.0.0.jar bea\modules\javax.enterprise.deploy_1.2.jar bea\wlserver_10.3\server\lib\wljmsclient.jar bea\wlserver_10.3\server\lib\wls-api.jar bea\wlserver_10.3\server\lib\wlsafclient.jar bea\wlserver_10.3\server\lib\weblogic.jar bea\wlserver_10.3\server\lib\webserviceclient.jar -- View this message in context: http://www.nabble.com/Solved%3A-Remote-Deploy-to-Weblogic-10.3-with-the-Weblogic-Maven-Plugin-and-JDK-1.6-tp23585919p23585919.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org