I follow this tutorial to install weblogic plugin:
http://docs.oracle.com/cd/E21764_01/web.1111/e13702/maven_deployer.htm
and now I can see this jar in my local repository
but when I run mvn weblogic:deploy I have still this error:
No versions are present in the repository for the artifact with a range [9.0,11.0)
weblogic:weblogic:jar:null
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
codehaus.org (http://snapshots.repository.codehaus.org)
Path to dependency:
1) org.codehaus.mojo:weblogic-maven-plugin:maven-plugin:3.9.3
maven setting:
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<localRepository>/path...</localRepository>
<profiles>
<profile>
<id>ext</id>
<repositories>
<repository>
<id>central</id>
<url>http://repo1.maven.org/maven2</url>
</repository>
<repository>
<id>java.net</id>
<url>http://download.java.net/maven/2</url>
</repository>
<repository>
<id>maven2-repository.dev.java.net</id>
<url>http://download.java.net/maven/2/</url>
</repository>
<repository>
<id>Mirrors.ibiblio.org</id>
<url>http://mirrors.ibiblio.org/pub/mirrors/maven2/</url>
</repository>
<repository>
<id>mojo-executor-repository</id>
<url>http://mojo-executor.googlecode.com/svn/repo/</url>
</repository>
<repository>
<id>spring-maven-milestone</id>
<name>Springframework Maven Repository</name>
<url>http://maven.springframework.org/milestone</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>java.net</id>
<name>Java.net Repository for Maven2</name>
<url>http://download.java.net/maven/1/</url>
<layout>legacy</layout>
</pluginRepository>
<pluginRepository>
<id>eviwarePluginRepository</id>
<url>http://www.eviware.com/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
You need to check your settings.xml file. You need to add the following into your settings.xml
com.oracle.weblogic
Also you need to follow a two step process for installing the weblogic maven plugin jar. First use the jarbuilder tool for generating the uber jar.
This command would create a 65MB jar named weblogic-maven-plugin jar. Now you need to provision your jar into the repo. Use the command and remove the pom.xml from the jar.
The next step is most important. You need to be in the MW_HOME/wlserver_10.3/server/lib directory for this.
And then you need to do a ….
weblogic goal prefix with weblogic maven plugins