Java – mulestudio Studio: Studio target failed to execute
I copied / pasted a work project in the mule studio workspace (from mule studio) to create a new project After that, I can install MVN clean on the new project, and everything is normal
Then, after making any changes to the POM (i.e. adding a blank line), I received the following error (on the exclamation mark on the project name) I can still execute MVN clean install without error and get the jar I can deploy But I want to eliminate mistakes
edit
This is what I can read in the console
[ERROR] No plugin found for prefix 'studio' in the current project and in the plugin groups [org.apache.maven.plugins,mojo.codehaus.maven.plugins,org.codehaus.mojo] available from the repositories [local (C:\_jde\maven\repo),nexus (http://nexusserver00:8080/nexus/content/groups/public)] -> [Help 1] org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'studio' in the current project and in the plugin groups [org.apache.maven.plugins,nexus (http://nexusserver00:8080/nexus/content/groups/public)] at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:94) at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:262) at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:222) at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106) at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:98) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) [ERROR]
Observation:
When I run this build on a project that does not display errors on mule studio, I get exactly the same error message
Solution
Try adding this repository definition to POM XML or settings Pluginrepository section in XML:
<pluginRepositories> ... <pluginRepository> <id>mule-ee-public</id> <url>https://repository.mulesoft.org/nexus/content/repositories/releases</url> </pluginRepository> ... </pluginRepositories>
Perhaps because studio errors in this repository are not considered, you need to download the plug-in