Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] problem with eclipse indigo

hi
i'm following this tutorial: http://mattiasholmqvist.se/2010/02/building-with-tycho-part-1-osgi-bundles/
but instead 3.5, i'm using eclipse 3.7 indigo

when i execute 'mvn clean install', i get the following error:

[INFO] [Software being installed: testeTycho 1.0.0.qualifier, Missing requiremen
t: testeTycho 1.0.0.qualifier requires 'package org.osgi.framework 1.3.0' but it
 could not be found]
[ERROR] Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.
ProvisionException: No solution found because the problem is unsatisfiable. -> [
Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeExcept
ion: org.eclipse.equinox.p2.core.ProvisionException: No solution found because t
he 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:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionExce
ption: No solution found because the problem is unsatisfiable.
        at org.sonatype.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resol
ve(ProjectorResolutionStrategy.java:100)
        at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2R
esolverImpl.java:360)
        at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2R
esolverImpl.java:325)
        at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatfo
rm(P2TargetPlatformResolver.java:472)
        at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.resolvePlatform
(P2TargetPlatformResolver.java:151)
        at org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolvePro
ject(DefaultTychoDependencyResolver.java:86)
        at org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjects
Read(TychoMavenLifecycleParticipant.java:94)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        ... 11 more
Caused by: org.eclipse.equinox.p2.core.ProvisionException: No solution found bec
ause the problem is unsatisfiable.
        ... 20 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorE
xception


here's my parent pom:
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>testeTycho</groupId>
  <artifactId>workspaceRcp</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <packaging>pom</packaging>
  <modules>
    <module>testeTycho</module>
  </modules>
  <build>
    <plugins>
      <plugin>
        <groupId>org.sonatype.tycho</groupId>
        <artifactId>tycho-maven-plugin</artifactId>
        <version>0.11.1</version>
        <extensions>true</extensions>
      </plugin>
      <plugin>
          <groupId>org.sonatype.tycho</groupId>
          <artifactId>target-platform-configuration</artifactId>
          <version>0.11.1</version>
          <configuration>
            <resolver>p2</resolver>
          </configuration>
    </plugin>

    </plugins>
  </build>

what is this?
thanks anyway :)

Back to the top