Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is weblogic-maven-plugin available from maven center repository?

Tags:

maven

weblogic

When i run my maven build script i get

Plugin com.oracle.weblogic:weblogic-maven-plugin:2.9.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.oracle.weblogic:weblogic-maven-plugin:jar:2.9.1: Could not find artifact com.oracle.weblogic:weblogic-maven-plugin:pom:2.9.1 in central (http://repo1.maven.org/maven2) 

But when i search in repository i can see it there http://search.maven.org/#search|ga|1|weblogic-maven-plugin Why this plugin is not available?

like image 583
Ivan Oval Avatar asked Feb 15 '12 15:02

Ivan Oval


People also ask

What is WebLogic Maven plugin?

The weblogic-maven-plugin provides enhanced functionality to install, start and stop servers, create domains, execute WLST scripts, and compile and deploy applications. With the weblogic-maven-plugin , you can install WebLogic Server from within your Maven environment to fulfill the local WebLogic Server requirement.

What is the use of Maven central repository?

What is a Maven Repository? In Maven terminology, a repository is a directory where all the project jars, library jar, plugins or any other project specific artifacts are stored and can be used by Maven easily.


Video Answer


2 Answers

As Oracle WebLogic is not an open source product, Oracle has decided not to publish their Maven plugins in the Maven Central repository (providing the sources for each published artifact has now become a requirement, according to the Maven Central Repository Usage Guide).

Until recently, the only way was to build and install the WebLogic JAR file into the local Maven cache.

Starting from 2015, Oracle has set up a Maven repository which can be accessed by anyone having a valid OTN account - see abarisone's answer.

like image 137
Alessandro Menti Avatar answered Sep 22 '22 16:09

Alessandro Menti


From the early months of 2015 Oracle has at last made its Maven repository available for Continuous Integration purposes.

This means that you will be able to find not only all Oracle Database artifacts but also those related to Fusion Middleware, Oracle Service Bus, ADF and so on. You can find more info reading this blog post.

Obviously you need to have a valid OTN account to log in, and the same is required to configure maven proxies and Nexus.

Once registered you will have access to the following link which explains all the instructions in order to configure the repository.

About Sonatype Nexus, you need at least version 2.11.2 to be able to add the Oracle repository, as reported here

like image 45
abarisone Avatar answered Sep 21 '22 16:09

abarisone