我正在安装JRebel Maven插件+ Eclipse + Weblogic,将此片段添加到我的父pom.xml。
<plugin>
<groupId>org.zeroturnaround</groupId>
<artifactId>jrebel-maven-plugin</artifactId>
<version>1.1.6</version>
<executions>
<execution>
<id>generate-rebel-xml</id>
<phase>process-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
但是当我运行mvn jrebel:generate
我收到了这个错误:
[ERROR] No plugin found for prefix 'jrebel' in the current project and in the plugin groups [com.oracle.weblogic, com.github.searls, com.cj.jshintmojo, com.github.phasebash, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\cabanilles\.m2\repository),
intranetRepository (https://intranet/nexus/content/groups/public/), repository-apache-org (https://repository.apache.org/content/groups/public/), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException