org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'package' in the current project and in the plugin groups [org.apache.maven.plugins, org. codehaus.mojo] available from the repositories [local (C:\Users\twoolworth\.m2\repository) , central (http://repo1.maven.org/maven2)]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Go for Manage Jenkins -> Configure System -> Sonar -> Advanced -> Version of sonar-maven-plugin and set it for 2.1.

Solutions on the web

via eclipse.org by Unknown author, 1 year ago
No plugin found for prefix 'package' in the current project and in the plugin groups [org.apache.maven.plugins, org. codehaus.mojo] available from the repositories [local (C:\Users\twoolworth\.m2\repository) , central (http://repo1.maven.org/maven2)]
via eclipse.org by Unknown author, 1 year ago
No plugin found for prefix 'package' in the current project and in the plugin groups [org.apache.maven.plugins, org. codehaus.mojo] available from the repositories [local (C:\Users\twoolworth\.m2\repository) , central (http://repo1.maven.org/maven2)]
via Apache's JIRA Issue Tracker by Fred Bricon, 1 year ago
No plugin found for prefix 'help' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:\Dev\maven\repository), central (http://repo1.maven.org/maven2)]
via apache.org by Unknown author, 1 year ago
No plugin found prefix 'help' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:\Dev\maven\repository), central (http:
via petrikainulainen.net by Unknown author, 7 months ago
No plugin found for prefix ‘spring’ in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/ben/.m2/repository), spring-releases ( ), central ( )]
via GitHub by afredlyj
, 2 years ago
No plugin found for prefix 'cat' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/winnie/Documents/m2_repo), central (http://repo1.maven.org/maven2), cat.repo (https://raw.github.com/dianping/cat/mvn-repo)]
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'package' in the current project and in the plugin groups [org.apache.maven.plugins, org. codehaus.mojo] available from the repositories [local (C:\Users\twoolworth\.m2\repository) , central (http://repo1.maven.org/maven2)]
at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:82)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findPluginForPrefix(DefaultLifecycleExecutor.java:1795)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1533)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.calculateTaskSegments(DefaultLifecycleExecutor.java:862)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.calculateProjectBuilds(DefaultLifecycleExecutor.java:752)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:251)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:247)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:104)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:427)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:157)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:121)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.