zoukankan      html  css  js  c++  java
  • M2E插件mavendependencyplugin问题

    问题: maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e.

       这次换了个64位全新笔记本,装了最新的Eclipse Indigo版本(v3.7),Maven 3.04,和M2E插件。从SVN服务器上检下来正在开发的项目,出现了红叉,pom.xml报错如下错误:maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e。在网上搜索了解决办法,大部分人提出在pom.xml里更添加maven-dependency-plugin配置。但未装机之前为什么就可以呢?所以问题应该聚焦在开发环境上,而且可以肯定是m2e插件没有装对。

       事实正如笔者所料,m2e插件从sonatype官方正式迁往eclipse社区,但在官网也不断升级,事实上eclipse社区里下载的较旧版本的。看m2e两个安装地址:

        http://download.eclipse.org/technology/m2e/releases/

        http://m2eclipse.sonatype.org/sites/m2e

        前者是eclipse社区的,后者是官网的,至笔者解决错误时,版本有差距。恰恰我使用了前者,卸载后换上后者最新版就好了。

    可是这两个版本一个过高,不支持部分插件,旧版本引用原型又有问题,现在貌似有个版本能解决这两个问题..m2eclipse 1.0.100.20110804 1717 这个版本的m2e  

  • 相关阅读:
    【leetcode】1. Two Sum
    【leetcode】32. Longest Valid Parentheses
    【leetcode】20. Valid Parentheses
    scala细节
    【转】CentOS下firefox安装flash说明
    Spring 容器(一)
    源码学习快捷键
    Gradle编译spring3.x报错找不到itextpdf4.2.2解决方案
    Insertion Sort
    Bubble Sort
  • 原文地址:https://www.cnblogs.com/exmyth/p/3025736.html
Copyright © 2011-2022 走看看