2016-01-21 149 views
-1

我很難得到使用tycho的maven編譯RCP應用程序。哪裏可以找到org.eclipse.jface.nl_de?

feature.xml文件中包含這種依賴性:

<plugin 
    id="org.eclipse.jface.nl_de" 
    download-size="0" 
    install-size="0" 
    version="0.0.0" 
    fragment="true" 
    unpack="false"/> 

當我做一個mvn clean install我不斷收到下面列出的錯誤消息。它接近maven不知道從哪裏得到org.eclipse.jface.nl_de。

任何想法如何解決這個問題?

我在一個win7盒子上使用Eclipse Kepler(4.3.2)和JDK 1.7。

[INFO] Cannot complete the request. Generating details. 
[INFO] Cannot complete the request. Generating details. 
[INFO] {osgi.ws=win32, osgi.os=win32, osgi.arch=x86, org.eclipse.update.install.features=true} 
[ERROR] Cannot resolve project dependencies: 
[ERROR] Software being installed: com.company.mct.pw.client.feature.feature.group 8.0.0 
[ERROR] Missing requirement: com.company.mct.pw.client.feature.feature.group 8.0.0 requires 'org.eclipse.jface.nl_de 0.0.0' but it could not be found 
[ERROR] 
[ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.jface.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.swt.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.workbench.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.help.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.jface.databinding.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.browser.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.views.nl_de 0.0.0.", "No solution found because the problem is unsatisfiable."] -> [Help 1] 
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.jface.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.swt.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.workbench.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.help.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.jface.databinding.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.browser.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.views.nl_de 0.0.0.", "No solution found because the problem is unsatisfiable."] 
     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168) 
     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) 
     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) 
     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:94) 
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) 
     at java.lang.reflect.Method.invoke(Method.java:619) 
     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) 
     at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) 
     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) 
     at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) 
Caused by: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.jface.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.swt.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.workbench.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.help.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.jface.databinding.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.browser.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.views.nl_de 0.0.0.", "No solution found because the problem is unsatisfiable."] 
     at org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:98) 
     at org.eclipse.tycho.p2.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:88) 
     at org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.resolve(AbstractResolutionStrategy.java:63) 
     at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:126) 
     at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:81) 
     at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:374) 
     at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:350) 
     at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:109) 
     at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82) 
     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274) 
     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) 
     ... 11 more 
[ERROR] 
+1

http://stackoverflow.com/q/22171167/2670892可能的重複 –

回答