-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ERROR] No plugin found for prefix 'jib' in the current project and in the plugin groups... #522
Comments
Hi @Zephery , Jib should be available in the Maven Central repository (https://repo.maven.apache.org/maven2/com/google/cloud/tools/jib-maven-plugin/). Could you share your |
Closing unless you are still experiencing this issue. |
To anyone who encounters same issue. In order to use short name for plugin, you need to add new
Once this is done you can use More details about plugin groups: https://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html |
That's strange, if I understand correctly, plugin prefix mapping should only be necessary if youre not explicitly declaring the plugin in your pom? Is that the case here? |
@loosebazooka,
Adding jib to parent pom as |
[INFO] ------------------------------------------------------------------------ change aliyun [INFO] ------------------------------------------------------------------------ mvn -v my pom.xml
|
@lgd8069465 please open new issues instead of piggy-backing on existing issues. Then reference related issues. Your pom.xml isn't valid: Maven 3.5.4 complains that it's missing a modelVersion, groupId, artifactId, and version. When I add those in, Maven is able to resolve |
@briandealwis
but it's still wrong
I refer to https://github.com/mfriedenhagen/dummy-lifecycle-mapping-plugin |
Haven't tried, but I guess your |
@chanseokoh there's a @lgd8069465 your example works for me when I comment out your parent (since I don't have access to it) and copy the |
@lgd8069465 I apologize for locking this issue, and you were completely right to comment on this issue. I just hit this issue in creating an example multi-module project for Skaffold that uses Jib, and now I understand @lgd8069465's example as well as @KTannenberg's fix: the problem is the So a fix is to reference <build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>1.0.0</version>
</plugin>
</plugins>
</pluginManagement>
</build> |
@briandealwis @KTannenberg @chanseokoh |
Also got this issue, my root cause is somebody commented the |
[ERROR] No plugin found for prefix 'jib' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/zepherywen/.m2/repository), nexus (http://x.x.x.x:8081/nexus/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
The text was updated successfully, but these errors were encountered: