Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Construct on target platform define by Eclipse target file.

Hi,

What I want to achieve

Currently, we are a little pool of Eclipse RCP developpers which daily works with a target platform based on an eclipse installation, and construct final product based on eclipse distant repository.
I want to avoid issues linked to differences between local target platform and distant repository, and ensure my application at dev time run in a similar plugin universe than the final product.
There is one particular point : my final application must be construct for linux X64, Windows x64, Windows X32 platform, but my dev environnement is only on Windows 64.


How I try to achieve it

My main waypoints at start were the followings :
  • Step 1 : Clone distant repositories to local using Tycho mirroring
  • Step 2 : Create a target platform file in Eclipse RCP based on these repositories
  • Step 3 : Do Tycho used this target platform to construct final products

First Step

I locally clone distant repository, using <i>tycho-p2-extras-plugin</i> and goal "mirror". Basically I just keep default options, and remove any filter. (see file in attachement clone_Indigo.xml)
question 1 : I don't see how to create "OR" filter. How i can exprimate that I want osgi.os = Win32 OR osgi.os = Win64?
question 2 : I don't understand what is the options "includeNonGreedy". Any documentation on it somewhere?

This step works correctly, no issue here. I can construct with Tycho running on these new local repositories.

Second Step

I create a target platform under Eclipse RCP. As it is really a mess to resolve dependencies and I don't want to bother about it, I just put all available features from repositories in this target platform, by removing "group by category" option. I also selected "include all platforms" (and deselect "dependencies"), "include sources". I do not set nothing particular excepted that.
It works well too, my application run without problems.

Third Step

First point for this step is preparation for target platform.
I create a new project, put my .target file in it, add a pom (see file in attachment "pom1.xml").
In my parent pom I remove old direct repository references, and my final platform configuration is :

      <!-- Tycho target platform configuration -->
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>target-platform-configuration</artifactId>
        <version>${tycho-version}</version>
        <configuration>
        <!-- Define the project where target platform file can be found !-->
        <target> 
            <artifact> 
                <groupId>xxxxxxxx</groupId> 
                <artifactId>SA_Full</artifactId> 
                <version>x.x.x</version> 
            </artifact> 
         </target> 
          <environments>
            <environment>
              <os>win32</os>
              <ws>win32</ws>
              <arch>x86_64</arch>
            </environment>
            <environment>
              <os>win32</os>
              <ws>win32</ws>
              <arch>x86</arch>
            </environment>
            <environment>
              <os>linux</os>
              <ws>gtk</ws>
              <arch>x86_64</arch>
            </environment>
          </environments>
        </configuration>
      </plugin>

This is were things goes wrong : with a mvn clean command on this configuration, some unresolved error dependencies appears, for environnement I don't care about (like linux 32...).
Full stack trace is in attachment (stackTrace1.txt)
Example :
"Problems resolving provisioning plan.": ["Unable to satisfy dependency from org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to org.eclipse.equinox.executable_root.gtk.linux.ppc [3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ]

I try to put "includeAllPlatform" to false in target platform file.
The errors are now different, even if it is about dependencies I don't care about. (Full stack trace is in attachment.)
Example :
 "Problems resolving provisioning plan.": ["org.eclipse.linuxtools.callgraph.feature.feature.group 0.9.0.201202152032 cannot be installed in this environment because its filter is not applicable."]
 
What I am doing wrong?

Thx for help!

Tony
--

 
  Tony HEDOUX
Software Engineer

  Phone : +33 (0)2 43 49 14 14
Mail : toh@xxxxxxxxxxx

6 rue Léonard De Vinci - BP 0119 - 53001 LAVAL Cedex - FRANCE
www.all4tec.net
<?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>com.xx.xx</groupId>
  <artifactId>generate.repo</artifactId>
  <version>1</version>
  
  <build>
    <plugins>
        <plugin>
            <groupId>org.eclipse.tycho.extras</groupId>
            <artifactId>tycho-p2-extras-plugin</artifactId>
            <version>0.17.0</version>
            <executions>
                <execution>
                    <phase>prepare-package</phase>
                    <goals>
                        <goal>mirror</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <source>
                    <!-- source repositories to mirror from -->
                    <repository>
                        <url>http://download.eclipse.org/releases/indigo</url>
                        <layout>p2</layout>
                        <!-- supported layouts are "p2-metadata", "p2-artifacts", and "p2" (for joint repositories; default) -->
                    </repository>
                </source>

                <!-- starting from here all configuration parameters are optional -->
                <!-- they are only shown here with default values for documentation purpose -->

                <!-- The destination directory to mirror to. -->
                <destination>C:\repoClone</destination>
                <!-- Whether only strict dependencies should be followed. -->
                <!-- "strict" means perfect version match -->
                <followStrictOnly>false</followStrictOnly>
                <!-- Whether or not to follow optional requirements. -->
                <includeOptional>true</includeOptional>
                <!-- Whether or not to follow non-greedy requirements. -->
                <includeNonGreedy>true</includeNonGreedy>
                <!-- Filter properties. E.g. filter only one platform -->
                <!-- <filter>
                    <osgi.os>linux</osgi.os>
                    <osgi.ws>gtk</osgi.ws>
                    <osgi.arch>x86_64</osgi.arch>
                </filter> -->
                <!-- Whether to filter the resulting set of IUs to only -->
                <!-- include the latest version of each IU -->
                <latestVersionOnly>false</latestVersionOnly>
                <!-- don't mirror artifacts, only metadata -->
                <mirrorMetadataOnly>false</mirrorMetadataOnly>
                <!-- whether to compress the content.xml/artifacts.xml -->
                <compress>true</compress>
                <!-- whether to append to the target repository content -->
                <append>true</append>
                <!-- whether to mirror pack200 artifacts also. Available since tycho-extras 0.17.0 -->
                <includePacked>false</includePacked>
            </configuration>
        </plugin>
    </plugins>
</build>

<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

</project>
<?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>
	<parent>
		<groupId>xxxx.xxxx</groupId>
		<artifactId>xx-parent</artifactId>
		<version>x.x.x</version>
	</parent>

	<groupId>xxxx</groupId>
	<artifactId>SA_Full</artifactId>
	<version>2.1.1</version>
	<packaging>eclipse-target-definition</packaging>
</project>
C:\XX_repository\XX2\Developpement\configuration-XX\maven>echo Compile application 
Compile application

C:\XX_repository\XX2\Developpement\configuration-XX\maven>setlocal

C:\XX_repository\XX2\Developpement\configuration-XX\maven>echo Set the environment variables 
Set the environment variables

C:\XX_repository\XX2\Developpement\configuration-XX\maven>call setBuildEnv.bat 

C:\XX_repository\XX2\Developpement\configuration-XX\maven>echo off 
MAIN_PROJECT_PATH=C:\XX_repository\XX2\Developpement"
MVN_PROFIL=
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: com.XX:XX:2.1.1 @ C:\XX_repository\XX2\Developpement\com.XX.XX\pom.xml
[ERROR] Internal error: java.lang.RuntimeException: Failed to resolve target definition C:\XX_repository\XX2\Developpement\com.XX.XX.targetplatform\SA_Full.target: "Problems resolving provisioning plan.": ["Unable to Satisfy dependency from org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to org.eclipse.equinox.executable_root.gtk.linux.ppc [3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to XXtisfy dependency from org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to org.eclipse.equinox.executable_root.motif.linux.x86 [3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to XXtisfy dependency from org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to org.eclipse.equinox.executable_root.wpf.win32.x86 [3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to XXtisfy dependency from org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to org.eclipse.equinox.executable_root.motif.aix.ppc [3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to XXtisfy dependency from org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to org.eclipse.equinox.executable_root.motif.solaris.sparc [3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to XXtisfy dependency from org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to org.eclipse.equinox.executable_root.motif.hpux.ia64_32 [3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to XXtisfy dependency from org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to org.eclipse.equinox.executable_root.win32.win32.ia64 [3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to XXtisfy dependency from toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to toolinggtk.linux.ppcorg.eclipse.core.runtime [3.7.2.M20120208-0800].", "Unable to XXtisfy dependency from toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to toolinggtk.linux.ppcorg.eclipse.equinox.simpleconfigurator [3.7.2.M20120208-0800].", "Unable to XXtisfy dependency from toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to toolinggtk.linux.ppcorg.eclipse.update.configurator [3.7.2.M20120208-0800].", "Unable to XXtisfy dependency from toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to toolingorg.eclipse.rcp.sdk.id.ini.gtk.linux.ppc [3.7.2.M20120208-0800].", "Unable to XXtisfy dependency from toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to toolinggtk.linux.ppcorg.eclipse.equinox.common [3.7.2.M20120208-0800].", "Unable to XXtisfy dependency from toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to toolinggtk.linux.ppcorg.eclipse.equinox.ds [3.7.2.M20120208-0800].", "Unable to XXtisfy dependency from toolingfr.obeo.dsl.designer.architect.collab.product.application 6.1.1.201304121345 to toolingfr.obeo.dsl.designer.architect.collab.product.executable.cocoa.macosx.x86_64-bundled [6.1.1.201304121345]."] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to resolve target definition C:\XX_repository\XX2\Developpement\com.XX.XX.targetplatform\SA_Full.target
	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(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	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: Failed to resolve target definition C:\XX_repository\XX2\Developpement\com.XX.XX.targetplatform\SA_Full.target
	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addTargetFileContentToTargetPlatform(P2TargetPlatformResolver.java:335)
	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:205)
	at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:100)
	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
Caused by: org.eclipse.tycho.p2.target.facade.TargetDefinitionResolutionException: "Problems resolving provisioning plan.": ["Unable to XXtisfy dependency from org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to org.eclipse.equinox.executable_root.gtk.linux.ppc [3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to XXtisfy dependency from org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to org.eclipse.equinox.executable_root.motif.linux.x86 [3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to XXtisfy dependency from org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to org.eclipse.equinox.executable_root.wpf.win32.x86 [3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to XXtisfy dependency from org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to org.eclipse.equinox.executable_root.motif.aix.ppc [3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to XXtisfy dependency from org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to org.eclipse.equinox.executable_root.motif.solaris.sparc [3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to XXtisfy dependency from org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to org.eclipse.equinox.executable_root.motif.hpux.ia64_32 [3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to XXtisfy dependency from org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ to org.eclipse.equinox.executable_root.win32.win32.ia64 [3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ].", "Unable to XXtisfy dependency from toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to toolinggtk.linux.ppcorg.eclipse.core.runtime [3.7.2.M20120208-0800].", "Unable to XXtisfy dependency from toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to toolinggtk.linux.ppcorg.eclipse.equinox.simpleconfigurator [3.7.2.M20120208-0800].", "Unable to XXtisfy dependency from toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to toolinggtk.linux.ppcorg.eclipse.update.configurator [3.7.2.M20120208-0800].", "Unable to XXtisfy dependency from toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to toolingorg.eclipse.rcp.sdk.id.ini.gtk.linux.ppc [3.7.2.M20120208-0800].", "Unable to XXtisfy dependency from toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to toolinggtk.linux.ppcorg.eclipse.equinox.common [3.7.2.M20120208-0800].", "Unable to XXtisfy dependency from toolingorg.eclipse.rcp.sdk.id.configuration 3.7.2.M20120208-0800 to toolinggtk.linux.ppcorg.eclipse.equinox.ds [3.7.2.M20120208-0800].", "Unable to XXtisfy dependency from toolingfr.obeo.dsl.designer.architect.collab.product.application 6.1.1.201304121345 to toolingfr.obeo.dsl.designer.architect.collab.product.executable.cocoa.macosx.x86_64-bundled [6.1.1.201304121345]."]
	at org.eclipse.tycho.p2.target.TargetDefinitionResolver.newResolutionException(TargetDefinitionResolver.java:222)
	at org.eclipse.tycho.p2.target.TargetDefinitionResolver$1.newResolutionException(TargetDefinitionResolver.java:168)
	at org.eclipse.tycho.p2.resolver.AbstractSlicerResolutionStrategy.slice(AbstractSlicerResolutionStrategy.java:76)
	at org.eclipse.tycho.p2.resolver.SlicerResolutionStrategy.resolve(SlicerResolutionStrategy.java:83)
	at org.eclipse.tycho.p2.resolver.SlicerResolutionStrategy.multiPlatformResolve(SlicerResolutionStrategy.java:75)
	at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:139)
	at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.resolveFromArguments(TargetDefinitionResolverService.java:65)
	at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.getTargetDefinitionContent(TargetDefinitionResolverService.java:55)
	at org.eclipse.tycho.p2.target.TargetPlatformBuilderImpl.addTargetDefinition(TargetPlatformBuilderImpl.java:295)
	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addTargetFileContentToTargetPlatform(P2TargetPlatformResolver.java:329)
	... 16 more
Caused by: org.eclipse.core.runtime.CoreException: Problems resolving provisioning plan.
	... 26 more
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
C:\XX_repository\XX2\Developpement\configuration-XX\maven>echo Compile application 
Compile application

C:\XX_repository\XX2\Developpement\configuration-XX\maven>setlocal

C:\XX_repository\XX2\Developpement\configuration-XX\maven>echo Set the environment variables 
Set the environment variables

C:\XX_repository\XX2\Developpement\configuration-XX\maven>call setBuildEnv.bat 

C:\XX_repository\XX2\Developpement\configuration-XX\maven>echo off 
MAIN_PROJECT_PATH=C:\XX_repository\XX2\Developpement"
MVN_PROFIL=
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: com.XX:XX:2.1.1 @ C:\XX_repository\XX2\Developpement\com.XX.XX\pom.xml
[ERROR] Internal error: java.lang.RuntimeException: Failed to resolve target definition C:\XX_repository\XX2\Developpement\com.XX.XX.targetplatform\SA_Full.target: "Problems resolving provisioning plan.": ["org.eclipse.linuxtools.callgraph.feature.feature.group 0.9.0.201202152032 cannot be installed in this environment because its filter is not applicable."] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to resolve target definition C:\XX_repository\XX2\Developpement\com.XX.XX.targetplatform\SA_Full.target
	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(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	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: Failed to resolve target definition C:\XX_repository\XX2\Developpement\com.XX.XX.targetplatform\SA_Full.target
	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addTargetFileContentToTargetPlatform(P2TargetPlatformResolver.java:335)
	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:205)
	at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:100)
	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
Caused by: org.eclipse.tycho.p2.target.facade.TargetDefinitionResolutionException: "Problems resolving provisioning plan.": ["org.eclipse.linuxtools.callgraph.feature.feature.group 0.9.0.201202152032 cannot be installed in this environment because its filter is not applicable."]
	at org.eclipse.tycho.p2.target.TargetDefinitionResolver.newResolutionException(TargetDefinitionResolver.java:222)
	at org.eclipse.tycho.p2.target.TargetDefinitionResolver$1.newResolutionException(TargetDefinitionResolver.java:168)
	at org.eclipse.tycho.p2.resolver.AbstractSlicerResolutionStrategy.slice(AbstractSlicerResolutionStrategy.java:76)
	at org.eclipse.tycho.p2.resolver.SlicerResolutionStrategy.resolve(SlicerResolutionStrategy.java:83)
	at org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.multiPlatformResolve(AbstractResolutionStrategy.java:66)
	at org.eclipse.tycho.p2.resolver.SlicerResolutionStrategy.multiPlatformResolve(SlicerResolutionStrategy.java:77)
	at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:139)
	at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.resolveFromArguments(TargetDefinitionResolverService.java:65)
	at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.getTargetDefinitionContent(TargetDefinitionResolverService.java:55)
	at org.eclipse.tycho.p2.target.TargetPlatformBuilderImpl.addTargetDefinition(TargetPlatformBuilderImpl.java:295)
	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addTargetFileContentToTargetPlatform(P2TargetPlatformResolver.java:329)
	... 16 more
Caused by: org.eclipse.core.runtime.CoreException: Problems resolving provisioning plan.
	... 27 more
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException

Back to the top