No plugin found for prefix 'exec' in the current project and the plugin groups (Failure to transfer)

No plugin found for prefix 'exec' in the current project and the plugin groups (Failure to transfer)

No plugin found for prefix 'exec' in the current project and the plugin groups (Failure to transfer)

No plugin found for prefix 'exec' in the current project and the plugin groups (Failure to transfer)

 

 

这个问题困扰了我很长时间,百度找了很久都没有找到解决方法,最后发现可能是因为服务商网络问题导致访问被禁止了,然后我就换用阿里云的库,替换maven官网的库,找到maven安装地址或者解压地址的conf目录下的settings.xml;

增加:

    <mirror>  

      <id>nexus-aliyun</id>

      <mirrorOf>*</mirrorOf>      

      <name>Nexus aliyun</name>    

      <url>http://maven.aliyun.com/nexus/content/groups/public</url>  

  </mirror>

 

问题解决:

No plugin found for prefix 'exec' in the current project and the plugin groups (Failure to transfer)