eclipse - maven build error java.lang.RuntimeException -
[error] internal error: java.lang.runtimeexception: failed resolve target definition /home/gopithulasinathan/el/git/dnobel_smarthome/smarthome/targetplatform/smarthome.target: not find "org.codehaus.groovy23.feature.feature.group/2.9.0.xx-201407142235-e44-release" in repositories of current location -> [help 1] org.apache.maven.internalerrorexception: internal error: java.lang.runtimeexception: failed resolve target definition /home/gopithulasinathan/el/git/dnobel_smarthome/smarthome/targetplatform/smarthome.target @ org.apache.maven.defaultmaven.execute(defaultmaven.java:168) @ org.apache.maven.cli.mavencli.execute(mavencli.java:537) @ org.apache.maven.cli.mavencli.domain(mavencli.java:196) @ org.apache.maven.cli.mavencli.main(mavencli.java:141) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.codehaus.plexus.classworlds.launcher.launcher.launchenhanced(launcher.java:289) @ org.codehaus.plexus.classworlds.launcher.launcher.launch(launcher.java:229) @ org.codehaus.plexus.classworlds.launcher.launcher.mainwithexitcode(launcher.java:415) @ org.codehaus.plexus.classworlds.launcher.launcher.main(launcher.java:356) caused by: java.lang.runtimeexception: failed resolve target definition /home/gopithulasinathan/el/git/dnobel_smarthome/smarthome/targetplatform/smarthome.target @ org.eclipse.tycho.p2.target.targetdefinitionresolver.resolvecontent(targetdefinitionresolver.java:85) @ org.eclipse.tycho.p2.target.targetdefinitionresolverservice.resolvefromarguments(targetdefinitionresolverservice.java:65) @ org.eclipse.tycho.p2.target.targetdefinitionresolverservice.gettargetdefinitioncontent(targetdefinitionresolverservice.java:55) @ org.eclipse.tycho.p2.target.targetplatformfactoryimpl.resolvetargetdefinitions(targetplatformfactoryimpl.java:210) @ org.eclipse.tycho.p2.target.targetplatformfactoryimpl.createtargetplatform(targetplatformfactoryimpl.java:144) @ org.eclipse.tycho.p2.target.targetplatformfactoryimpl.createtargetplatform(targetplatformfactoryimpl.java:117) @ org.eclipse.tycho.p2.target.targetplatformfactoryimpl.createtargetplatform(targetplatformfactoryimpl.java:1) @ org.eclipse.tycho.p2.resolver.p2targetplatformresolver.computetargetplatform(p2targetplatformresolver.java:214) @ org.eclipse.tycho.core.resolver.defaulttychodependencyresolver.resolveproject(defaulttychodependencyresolver.java:100) @ org.eclipse.tycho.core.maven.tychomavenlifecycleparticipant.afterprojectsread(tychomavenlifecycleparticipant.java:75) @ org.apache.maven.defaultmaven.doexecute(defaultmaven.java:274) @ org.apache.maven.defaultmaven.execute(defaultmaven.java:156) ... 11 more caused by: org.eclipse.tycho.p2.target.facade.targetdefinitionresolutionexception: not find "org.codehaus.groovy23.feature.feature.group/2.9.0.xx-201407142235-e44-release" in repositories of current location @ org.eclipse.tycho.p2.target.targetdefinitionresolver.getunitinstance(targetdefinitionresolver.java:214) @ org.eclipse.tycho.p2.target.targetdefinitionresolver.resolvecontentwithexceptions(targetdefinitionresolver.java:128) @ org.eclipse.tycho.p2.target.targetdefinitionresolver.resolvecontent(targetdefinitionresolver.java:80) ... 22 more [error] [error] see full stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable full debug logging. [error] [error] more information errors , possible solutions, please read following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/internalerrorexception
add repository location @ target file (smarthome.target). different version maybe :
<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/r20140525021250/repository/"/> <location includeallplatforms="false" includeconfigurephase="true" includemode="planner" includesource="true" type="installableunit"> <unit id="org.codehaus.groovy23.feature.feature.group" version="0.0.0"/> <repository location="http://dist.springsource.org/release/greclipse/e4.4/"/> </location>
Comments
Post a Comment