Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Error when trying to use my own p2 repository

HI,

i asked the same things one week ago.

https://dev.eclipse.org/mhonarc/lists/tycho-user/msg06580.html

You can use a p2 mirror or find a way to add the equinox.executable feature maybe in .target File with this feature.

hope this will help you,
Julien

Le 07/07/2015 15:22, Sofiane Lasri a écrit :
PS :

That error is when i try to generate my product. If I disable "The product includes native launcher artifacts",  the generation works but i haven't my executable.

thanks

2015-07-07 14:46 GMT+02:00 Sofiane Lasri <machikoo92500@xxxxxxxxx>:
Hello, i have a problem when i'm trying to use my own p2 repository. 

That's my logs : 

##################################################################################
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: Barracuda:com.sagem.jenkins.sdkPlatformTest1:1.0.0 @ /app/sdk_philippe/com.sagem.jenkins.sdkPlatformTest1/pom.xml
[INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/ (0B of 96B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/indigo/ (0B of 98B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201202240900/ (0B of 93B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201109230900/ (0B of 93B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201106220900/ (0B of 93B at 0B/s)
[INFO] Resolving dependencies of MavenProject: Barracuda:com.sagem.jenkins.sdkPlatformTest1:1.0.0 @ /app/sdk_philippe/com.sagem.jenkins.sdkPlatformTest1/pom.xml
[WARNING] The following locally built units have been used to resolve project dependencies:
[WARNING]   com.sagem.jenkins.sdkPlatformTest1/1.0.0
[INFO] Resolving class path of MavenProject: Barracuda:com.sagem.jenkins.sdkPlatformTest1:1.0.0 @ /app/sdk_philippe/com.sagem.jenkins.sdkPlatformTest1/pom.xml
[INFO] Computing target platform for MavenProject: Barracuda:com.sagem.jenkins.sdkPlatformTest1.repository:1.0.0 @ /app/sdk_philippe/com.sagem.jenkins.sdkPlatformTest1.repository/pom.xml
[INFO] Resolving dependencies of MavenProject: Barracuda:com.sagem.jenkins.sdkPlatformTest1.repository:1.0.0 @ /app/sdk_philippe/com.sagem.jenkins.sdkPlatformTest1.repository/pom.xml
[INFO] Cannot complete the request.  Generating details.
[INFO] Cannot complete the request.  Generating details.
[INFO] {osgi.ws=gtk, osgi.os=linux, osgi.arch=x86_64, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: View 1.0.0
[ERROR]   Missing requirement: View 1.0.0 requires 'org.eclipse.equinox.executable.feature.group 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 View 1.0.0 to org.eclipse.equinox.executable.feature.group 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 View 1.0.0 to org.eclipse.equinox.executable.feature.group 0.0.0.; No solution found because the problem is unsatisfiable.]
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:164)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
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:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
at org.codehaus.classworlds.Launcher.main(Launcher.java:46)
Caused by: java.lang.RuntimeException: No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from View 1.0.0 to org.eclipse.equinox.executable.feature.group 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:157)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:107)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolveDependencies(P2TargetPlatformResolver.java:348)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:321)
at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:109)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:75)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:271)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
... 12 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:
################################################################################

That's my pom parent : 

####################################################

  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                      http://maven.apache.org/xsd/maven-4.0.0.xsd">

  <modelVersion>4.0.0</modelVersion>
  <groupId>Barracuda</groupId>
  <artifactId>parent</artifactId>
  <version>1.0.0-SNAPSHOT</version>
  <packaging>pom</packaging>
        
<modules>

<module>../view_project</module>
<module>../view_repository2</module>
<!-- <module>../com.sagem.jenkins.sdkPlatformTest1.repository</module> -->
<!-- <module>../org.eclipse.equinox.executable</module> -->

  </modules>
  <properties>
    <tycho.version>0.20.0</tycho.version>
  </properties>

 <repositories>
    <repository>
      <layout>p2</layout>
    </repository>
  </repositories>
  <build>
    <plugins>
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-maven-plugin</artifactId>
        <version>0.20.0</version>
        <extensions>true</extensions>
      <configuration>
         <useUIHarness>true</useUIHarness>
        <useUIThread>false</useUIThread>
        <argLine>-Xms40m -Xmx1024m</argLine>
      </configuration>
      </plugin>
      
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>target-platform-configuration</artifactId>
        <version>0.20.0</version>
        <configuration>
          <environments>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
          </environments>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>

##############################################



Can you help me about that, it's been more than 2weeks i'm on it

Cordially, 

Sofiane



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

-- 
Julien SIEGA - Artal technologies
Technical Lead Citrus Ecosystem
227 Rue Pierre Gilles de Gennes
Ensemble "La Rue" - Bat 9 31670 Labège
Tel : (+33) 5 61 00 39 42

Back to the top