0 Replies Latest reply on Nov 18, 2015 8:56 AM by Adam Kortylewicz

    No plugin found for prefix 'wildfly' in the current project and in the plugin groups

    Adam Kortylewicz Newbie

      Hello everyone, i have easy project from there:
      packt-java-ee-7-code-samples/1980EN_03_Code/ticket-agency at master · packt-wildfly/packt-java-ee-7-code-samples · GitHu…


      And when i want to invoke mvn wildfly:deploy maven return this error:

      Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml

      Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml

      Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (13 KB at 29.4 KB/sec)

      Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 43.7 KB/sec)

      [INFO] ------------------------------------------------------------------------

      [INFO] Reactor Summary:

      [INFO]

      [INFO] ticket-agency ...................................... SKIPPED

      [INFO] ticket-agency-ejb .................................. SKIPPED

      [INFO] ticket-agency-ejb-client ........................... SKIPPED

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 1.000 s

      [INFO] Finished at: 2015-11-18T14:46:22+01:00

      [INFO] Final Memory: 11M/245M

      [INFO] ------------------------------------------------------------------------

      [ERROR] No plugin found for prefix 'wildfly' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\Adam Kortylewicz\.m2\repository), 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

       

      I don't use proxy and my settings.xml in maven conf and .m2 folders dont have set any pluginGroups.

       

      In my repository: m2\repository\org\wildfly\plugins\wildfly-maven-plugin\1.1.0.Alpha4 is empty and maven don't download content.

       

      Windfly is working fine.

       

      Windfly version 9 and maven 3.3.3.

       

      I tried to set pluginGroups but without possitive effect.