How to setup the maven deployment from Jdeveloper 12c

(Doc ID 2331178.1)

Last updated on NOVEMBER 27, 2017

Applies to:

Oracle JDeveloper - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Symptoms

Using JDeveloper 12.2.1.1.0 and integrated WebLogic server while  deploying application as  Maven Deploy, the following exception can occurs


[INFO] Command flags are: -adminurl t3://localhost:7101
weblogic.Deployer invoked with options: -noexit -deploy -user weblogic -name MyMavenTestDeploymentPj-1.0-SNAPSHOT -source C:\JDeveloper\mywork\MyMavenTestDeployment\MyMavenTestDeploymentPj\target\MyMavenTestDeploymentPj-1.0-SNAPSHOT.war -targets DefaultServer -upload -verbose -adminurl t3://localhost:8001
weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 't3://localhost:8001': No available router to destination.. Ensure the url represents a compatible running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:349)
at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)

(or)

[WARNING] The POM for com.oracle.weblogic:weblogic-maven-plugin:jar:12.2.1-1-0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
...

[ERROR] Plugin com.oracle.weblogic:weblogic-maven-plugin:12.2.1-1-0 or one of its dependencies could not be resolved: Failure to find com.oracle.weblogic:weblogic-maven-plugin:jar:12.2.1-1-0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms