MAVEN org.eclipse.m2e:lifecycle-mapping问题

      最近在编译Presto时候遇到了一个MAVEN的问题,MAVEN报以下错误:

       [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available

       [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0

      google以下,发现了以下的解决方法:

      1、checkout https://github.com/mfriedenhagen/dummy-lifecycle-mapping-plugin

      2、解压,mvn clean install

      3、再去编译自己的工程,okay,解决

Print Friendly

jiang yu

Leave a Reply