开发者

Maven build failure - Eclipse plugin - Tycho

开发者 https://www.devze.com 2023-03-05 20:08 出处:网络
I was trying to build eclipse plug-in using Tycho and while executing following command mvn org.codehaus.tycho:maven-tycho-plugin:generate-poms -DgroupId=tycho.demo -Dtycho.targetPlatform=D:\\practic

I was trying to build eclipse plug-in using Tycho and while executing following command

mvn org.codehaus.tycho:maven-tycho-plugin:generate-poms -DgroupId=tycho.demo -Dtycho.targetPlatform=D:\practice\java\eclipse_galilio

I got error like

java.lang.NoSuchMethodError: org.codehaus.plexus.PlexusContainer.lookup(Ljava/lang/Class;)Ljava/lang/Object;

can anyone tell me what should be done to resolve this 开发者_如何学JAVAerror. I am stuck at this point and not able to proceed.


What version of maven are you running? Tycho requires Maven 3. I can get that error trying to run on maven 2.1.0.

0

精彩评论

暂无评论...
验证码 换一张
取 消