Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Help building Eclipse e4 Product

Here is a snippet of the output when running it with the -X option. Not sure if this sheds any more light on what could be causing the problem...


[INFO] --- tycho-p2-repository-plugin:1.1.0:assemble-repository (default-assemble-repository) @ edu.illinois.mobius.product.core ---

[DEBUG] Configuring mojo org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0:assemble-repository from plugin realm ClassRealm[plugin>org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0, parent: sun.misc.Launcher$AppClassLoader@3d4eac69]

[DEBUG] Configuring mojo 'org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0:assemble-repository' with basic configurator -->

[DEBUG]   (f) compress = true

[DEBUG]   (f) createArtifactRepository = true

[DEBUG]   (f) includeAllDependencies = true

[DEBUG]   (f) keepNonXzIndexFiles = true

[DEBUG]   (f) project = MavenProject: edu.illinois.mobius:edu.illinois.mobius.product.core:3.0.0-SNAPSHOT @ /Users/kjkeefe/git/Mobius/releng/edu.illinois.mobius.product.core/pom.xml

[DEBUG]   (f) qualifier = 201802212236

[DEBUG]   (f) repositoryName = edu.illinois.mobius.product.core

[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@3c359394

[DEBUG]   (f) xzCompress = true

[DEBUG] -- end configuration --

[DEBUG] No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from edu.illinois.mobius.product.core 3.0.0.qualifier to edu.illinois.mobius.feature.feature.group 0.0.0.; Unable to satisfy dependency from edu.illinois.mobius.product.core 3.0.0.qualifier to edu.illinois.mobius.atomic.san.feature.feature.group 0.0.0.; Unable to satisfy dependency from edu.illinois.mobius.product.core 3.0.0.qualifier to edu.illinois.mobius.composed.rj.feature.feature.group 0.0.0.; Unable to satisfy dependency from edu.illinois.mobius.product.core 3.0.0.qualifier to edu.illinois.mobius.reward.pv.feature.feature.group 0.0.0.; Unable to satisfy dependency from edu.illinois.mobius.product.core 3.0.0.qualifier to edu.illinois.mobius.study.range.feature.feature.group 0.0.0.; Unable to satisfy dependency from edu.illinois.mobius.product.core 3.0.0.qualifier to edu.illinois.mobius.study.set.feature.feature.group 0.0.0.; Unable to satisfy dependency from edu.illinois.mobius.product.core 3.0.0.qualifier to edu.illinois.mobius.solver.simulator.feature.feature.group 0.0.0.; No solution found because the problem is unsatisfiable.]

[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86}

[ERROR] Cannot resolve project dependencies:

[ERROR]   Software being installed: edu.illinois.mobius.product.core 3.0.0.qualifier

[ERROR]   Missing requirement: edu.illinois.mobius.product.core 3.0.0.qualifier requires 'edu.illinois.mobius.feature.feature.group 0.0.0' but it could not be found

[ERROR] 

[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO] 

[INFO] edu.illinois.mobius.root ........................... SUCCESS [  0.062 s]

[INFO] edu.illinois.mobius.bundles ........................ SUCCESS [  0.003 s]

[INFO] edu.illinois.mobius.core.console ................... SUCCESS [  1.247 s]

[INFO] edu.illinois.mobius.core.util ...................... SUCCESS [  0.551 s]

[INFO] edu.illinois.mobius.core.preferences ............... SUCCESS [  0.513 s]

[INFO] edu.illinois.mobius ................................ SUCCESS [  0.228 s]

[INFO] edu.illinois.mobius.legacy ......................... SUCCESS [  0.840 s]

[INFO] edu.illinois.mobius.core.projects .................. SUCCESS [  2.233 s]

[INFO] edu.illinois.mobius.atomic ......................... SUCCESS [  0.201 s]

[INFO] edu.illinois.mobius.atomic.advise .................. SUCCESS [  0.718 s]

[INFO] edu.illinois.mobius.atomic.bnb ..................... SUCCESS [  0.247 s]

[INFO] edu.illinois.mobius.atomic.external ................ SUCCESS [  0.193 s]

[INFO] edu.illinois.mobius.atomic.san ..................... SUCCESS [  0.340 s]

[INFO] edu.illinois.mobius.atomic.faulttree ............... SUCCESS [  0.224 s]

[INFO] edu.illinois.mobius.atomic.pepa .................... SUCCESS [  0.336 s]

[INFO] edu.illinois.mobius.composed ....................... SUCCESS [  0.286 s]

[INFO] edu.illinois.mobius.composed.rj .................... SUCCESS [  0.211 s]

[INFO] edu.illinois.mobius.composed.action ................ SUCCESS [  0.184 s]

[INFO] edu.illinois.mobius.composed.graph ................. SUCCESS [  0.172 s]

[INFO] edu.illinois.mobius.database ....................... SUCCESS [  0.392 s]

[INFO] edu.illinois.mobius.reward ......................... SUCCESS [  0.263 s]

[INFO] edu.illinois.mobius.reward.pv ...................... SUCCESS [  0.249 s]

[INFO] edu.illinois.mobius.study .......................... SUCCESS [  0.214 s]

[INFO] edu.illinois.mobius.solver ......................... SUCCESS [  0.294 s]

[INFO] edu.illinois.mobius.solver.adiss ................... SUCCESS [  0.182 s]

[INFO] edu.illinois.mobius.solver.ars ..................... SUCCESS [  0.167 s]

[INFO] edu.illinois.mobius.solver.ats ..................... SUCCESS [  0.167 s]

[INFO] edu.illinois.mobius.solver.simulator ............... SUCCESS [  0.287 s]

[INFO] edu.illinois.mobius.transformer .................... SUCCESS [  0.278 s]

[INFO] edu.illinois.mobius.transformer.ssg ................ SUCCESS [  0.180 s]

[INFO] edu.illinois.mobius.solver.connection .............. SUCCESS [  0.297 s]

[INFO] edu.illinois.mobius.solver.diss .................... SUCCESS [  0.177 s]

[INFO] edu.illinois.mobius.solver.dss ..................... SUCCESS [  0.168 s]

[INFO] edu.illinois.mobius.solver.iss ..................... SUCCESS [  0.165 s]

[INFO] edu.illinois.mobius.solver.trs ..................... SUCCESS [  0.162 s]

[INFO] edu.illinois.mobius.solver.tss ..................... SUCCESS [  0.161 s]

[INFO] edu.illinois.mobius.study.doe ...................... SUCCESS [  0.510 s]

[INFO] edu.illinois.mobius.study.range .................... SUCCESS [  0.222 s]

[INFO] edu.illinois.mobius.study.set ...................... SUCCESS [  0.250 s]

[INFO] edu.illinois.mobius.transformer.sll ................ SUCCESS [  0.163 s]

[INFO] edu.illinois.mobius.transformer.symssg ............. SUCCESS [  0.168 s]

[INFO] edu.illinois.mobius.features ....................... SUCCESS [  0.002 s]

[INFO] edu.illinois.mobius.feature ........................ SUCCESS [  0.376 s]

[INFO] edu.illinois.mobius.atomic.advise.feature .......... SUCCESS [  0.129 s]

[INFO] edu.illinois.mobius.atomic.bnb.feature ............. SUCCESS [  0.095 s]

[INFO] edu.illinois.mobius.atomic.external.feature ........ SUCCESS [  0.096 s]

[INFO] edu.illinois.mobius.atomic.faulttree.feature ....... SUCCESS [  0.104 s]

[INFO] edu.illinois.mobius.atomic.pepa.feature ............ SUCCESS [  0.097 s]

[INFO] edu.illinois.mobius.atomic.san.feature ............. SUCCESS [  0.095 s]

[INFO] edu.illinois.mobius.composed.action.feature ........ SUCCESS [  0.104 s]

[INFO] edu.illinois.mobius.composed.graph.feature ......... SUCCESS [  0.097 s]

[INFO] edu.illinois.mobius.composed.rj.feature ............ SUCCESS [  0.083 s]

[INFO] edu.illinois.mobius.reward.pv.feature .............. SUCCESS [  0.088 s]

[INFO] edu.illinois.mobius.solver.adiss.feature ........... SUCCESS [  0.088 s]

[INFO] edu.illinois.mobius.solver.ars.feature ............. SUCCESS [  0.096 s]

[INFO] edu.illinois.mobius.solver.ats.feature ............. SUCCESS [  0.090 s]

[INFO] edu.illinois.mobius.solver.simulator.feature ....... SUCCESS [  0.086 s]

[INFO] edu.illinois.mobius.transformer.ssg.feature ........ SUCCESS [  0.090 s]

[INFO] edu.illinois.mobius.solver.connection.feature ...... SUCCESS [  0.088 s]

[INFO] edu.illinois.mobius.solver.diss.feature ............ SUCCESS [  0.089 s]

[INFO] edu.illinois.mobius.solver.dss.feature ............. SUCCESS [  0.090 s]

[INFO] edu.illinois.mobius.solver.iss.feature ............. SUCCESS [  0.089 s]

[INFO] edu.illinois.mobius.solver.trs.feature ............. SUCCESS [  0.095 s]

[INFO] edu.illinois.mobius.solver.tss.feature ............. SUCCESS [  0.091 s]

[INFO] edu.illinois.mobius.study.doe.feature .............. SUCCESS [  0.090 s]

[INFO] edu.illinois.mobius.study.range.feature ............ SUCCESS [  0.085 s]

[INFO] edu.illinois.mobius.study.set.feature .............. SUCCESS [  0.085 s]

[INFO] edu.illinois.mobius.transformer.sll.feature ........ SUCCESS [  0.088 s]

[INFO] edu.illinois.mobius.transformer.symssg.feature ..... SUCCESS [  0.078 s]

[INFO] edu.illinois.mobius.releng ......................... SUCCESS [  0.002 s]

[INFO] edu.illinois.mobius.target ......................... SUCCESS [  0.001 s]

[INFO] edu.illinois.mobius.product.core ................... FAILURE [  1.153 s]

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 37.890 s

[INFO] Finished at: 2018-02-21T16:37:16-06:00

[INFO] Final Memory: 247M/1620M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0:assemble-repository (default-assemble-repository) on project edu.illinois.mobius.product.core: Execution default-assemble-repository of goal org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0:assemble-repository failed: Cannot resolve dependencies of MavenProject: edu.illinois.mobius:edu.illinois.mobius.product.core:3.0.0-SNAPSHOT @ /Users/kjkeefe/git/Mobius/releng/edu.illinois.mobius.product.core/pom.xml: See log for details -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0:assemble-repository (default-assemble-repository) on project edu.illinois.mobius.product.core: Execution default-assemble-repository of goal org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0:assemble-repository failed: Cannot resolve dependencies of MavenProject: edu.illinois.mobius:edu.illinois.mobius.product.core:3.0.0-SNAPSHOT @ /Users/kjkeefe/git/Mobius/releng/edu.illinois.mobius.product.core/pom.xml

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)

    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)

    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)

    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)

    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)

    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)

    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke (Method.java:498)

    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)

Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-assemble-repository of goal org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0:assemble-repository failed: Cannot resolve dependencies of MavenProject: edu.illinois.mobius:edu.illinois.mobius.product.core:3.0.0-SNAPSHOT @ /Users/kjkeefe/git/Mobius/releng/edu.illinois.mobius.product.core/pom.xml

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:145)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)

    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)

    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)

    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)

    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)

    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)

    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke (Method.java:498)

    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)

Caused by: org.eclipse.tycho.artifacts.DependencyResolutionException: Cannot resolve dependencies of MavenProject: edu.illinois.mobius:edu.illinois.mobius.product.core:3.0.0-SNAPSHOT @ /Users/kjkeefe/git/Mobius/releng/edu.illinois.mobius.product.core/pom.xml

    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies (P2ResolverImpl.java:201)

    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies (P2ResolverImpl.java:115)

    at org.eclipse.tycho.p2.resolver.P2DependencyResolver.doResolveDependencies (P2DependencyResolver.java:367)

    at org.eclipse.tycho.p2.resolver.P2DependencyResolver.resolveDependencies (P2DependencyResolver.java:335)

    at org.eclipse.tycho.p2.facade.RepositoryReferenceTool.addTargetPlatformRepository (RepositoryReferenceTool.java:124)

    at org.eclipse.tycho.p2.facade.RepositoryReferenceTool.getVisibleRepositories (RepositoryReferenceTool.java:96)

    at org.eclipse.tycho.plugins.p2.repository.AssembleRepositoryMojo.getVisibleRepositories (AssembleRepositoryMojo.java:165)

    at org.eclipse.tycho.plugins.p2.repository.AssembleRepositoryMojo.execute (AssembleRepositoryMojo.java:137)

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)

    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)

    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)

    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)

    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)

    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)

    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke (Method.java:498)

    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)

Caused by: org.eclipse.tycho.p2.util.resolution.ResolverException: See log for details

    at org.eclipse.tycho.p2.util.resolution.ProjectorResolutionStrategy.resolve (ProjectorResolutionStrategy.java:88)

    at org.eclipse.tycho.p2.util.resolution.AbstractResolutionStrategy.resolve (AbstractResolutionStrategy.java:42)

    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies (P2ResolverImpl.java:194)

    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies (P2ResolverImpl.java:115)

    at org.eclipse.tycho.p2.resolver.P2DependencyResolver.doResolveDependencies (P2DependencyResolver.java:367)

    at org.eclipse.tycho.p2.resolver.P2DependencyResolver.resolveDependencies (P2DependencyResolver.java:335)

    at org.eclipse.tycho.p2.facade.RepositoryReferenceTool.addTargetPlatformRepository (RepositoryReferenceTool.java:124)

    at org.eclipse.tycho.p2.facade.RepositoryReferenceTool.getVisibleRepositories (RepositoryReferenceTool.java:96)

    at org.eclipse.tycho.plugins.p2.repository.AssembleRepositoryMojo.getVisibleRepositories (AssembleRepositoryMojo.java:165)

    at org.eclipse.tycho.plugins.p2.repository.AssembleRepositoryMojo.execute (AssembleRepositoryMojo.java:137)

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)

    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)

    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)

    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)

    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)

    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)

    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)

    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke (Method.java:498)

    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)

[ERROR] 

[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/PluginExecutionException

[ERROR] 

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :edu.illinois.mobius.product.core



On Wed, Feb 21, 2018 at 3:18 PM, Kenneth Keefe <kjkeefe@xxxxxxxxxxxx> wrote:
Yes, it is listed in my product file. Do I need to list those features in my product's pom.xml file? Tycho is still not able to do pomless products, correct?

Here is the features list from my core.product file:

<features>
      <feature id="org.eclipse.emf.ecore"/>
      <feature id="org.eclipse.emf.common"/>
      <feature id="org.eclipse.e4.rcp"/>
      <feature id="org.eclipse.equinox.p2.core.feature"/>
      <feature id="org.eclipse.ecf.filetransfer.httpclient4.feature"/>
      <feature id="org.eclipse.ecf.core.ssl.feature"/>
      <feature id="org.eclipse.ecf.filetransfer.httpclient4.ssl.feature"/>
      <feature id="org.eclipse.ecf.filetransfer.ssl.feature"/>
      <feature id="org.eclipse.ecf.core.feature"/>
      <feature id="org.eclipse.ecf.filetransfer.feature"/>
      <feature id="edu.illinois.mobius.feature" installMode="root"/>
      <feature id="edu.illinois.mobius.atomic.san.feature" installMode="root"/>
      <feature id="edu.illinois.mobius.composed.rj.feature" installMode="root"/>
      <feature id="edu.illinois.mobius.reward.pv.feature" installMode="root"/>
      <feature id="edu.illinois.mobius.study.range.feature" installMode="root"/>
      <feature id="edu.illinois.mobius.study.set.feature" installMode="root"/>
      <feature id="edu.illinois.mobius.solver.simulator.feature" installMode="root"/>
   </features>

Here is my product project's pom.xml file:

 
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>edu.illinois.mobius</groupId>
<artifactId>edu.illinois.mobius.releng</artifactId>
<version>3.0.0-SNAPSHOT</version>
</parent>

<groupId>edu.illinois.mobius</groupId>
<artifactId>edu.illinois.mobius.product.core</artifactId>
<packaging>eclipse-repository</packaging>
<version>3.0.0-SNAPSHOT</version>

<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<includeAllDependencies>true</includeAllDependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

On Wed, Feb 21, 2018 at 11:11 AM, Ben Zegveld <benzegveld@xxxxxxxxx> wrote:
Is the "edu.illinois.mobius.feature.feature.group" and all its dependencies listed as a dependency in your product file?

I've noticed that the error is triggered when either the mentioned module, "edu.illinois.mobius.feature.feature.group" in this case, is missing or (when it has a version number listed) one of it's dependencies is missing.

Ben Zegveld

On Wed, Feb 21, 2018 at 6:01 PM, Kenneth Keefe <kjkeefe@xxxxxxxxxxxx> wrote:
That didn't resolve the issue. Here's the full pastebin for doing a mvn clean install: https://pastebin.com/xWNb6DWd

Ken

On Tue, Feb 20, 2018 at 10:49 PM, Tom Bryan (tombry) <tombry@xxxxxxxxx> wrote:

I’m not an expert, but I was surprised by this part of Vogella’s article:

you can build your Eclipse components with the mvn clean verify command, or the mvn clean install command. It is recommended to use the mvn clean verify command. If the mvn clean install command is used, it would result in a build being installed in your local Maven repository and this can lead to build problems.

 

Maybe something has changed, but the docs at http://wiki.eclipse.org/Category:Tycho still seem to indicate that you should run mvn clean install.  If you don’t, then I wouldn’t have expected Tycho to find the feature for the product.  I thought that Tycho was just looking in the listed update sites and in the Maven repository for dependencies.  That is, I thought that the way this worked was that Tycho builds the feature and installs it to the local maven repository.  Later in the build, Tycho builds the product, and when Tycho resolves the dependency to the feature, it would find that feature in the local maven repository. 

 

The error that you’re getting is

[INFO] --- tycho-p2-repository-plugin:1.1.0:assemble-repository (default-assemble-repository) @ edu.illinois.mobius.product.core ---

[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86}

[ERROR] Cannot resolve project dependencies:

[ERROR]   Software being installed: edu.illinois.mobius.product.core 3.0.0.qualifier

[ERROR]   Missing requirement: edu.illinois.mobius.product.core 3.0.0.qualifier requires 'edu.illinois.mobius.feature.feature.group 0.0.0' but it could not be found

 

And that’s the kind of error I’d expect when Tycho cannot resolve the built feature to include in the product build. 

 

If you enable maven debugging, you might get some more information about where Tycho looked for the feature.   

 

---Tom

 

From: <tycho-user-bounces@xxxxxxxxxxg> on behalf of Kenneth Keefe <kjkeefe@xxxxxxxxxxxx>
Reply-To: Tycho user list <tycho-user@xxxxxxxxxxx>
Date: Tuesday, February 20, 2018 at 5:41 PM
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: [tycho-user] Help building Eclipse e4 Product

 

I followed along the Vogella tutorial (http://www.vogella.com/tutorials/EclipseTycho/article.html) for building an Eclipse e4 product using Maven and Tycho. I've been successful right up until step 9 (Tycho build for products) and would really appreciate some help. Note, I skipped step 8 as I don't have a need for building an update site.

 

I believe the maven error is telling me that my product is missing one of my features, but I am confused because that feature is being successfully built immediately prior to the product construction and the feature construction artifacts are showing up in the feature target directory. 

 

Please let me know which poms I should post if those would be useful. Thank you for your help!

 

Here is a pastebin of the full maven output: https://pastebin.com/JuNXJzvj

 

Here is a segment that shows the errors from the output.

[INFO] --- tycho-p2-repository-plugin:1.1.0:assemble-repository (default-assemble-repository) @ edu.illinois.mobius.product.core ---

[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86}

[ERROR] Cannot resolve project dependencies:

[ERROR]   Software being installed: edu.illinois.mobius.product.core 3.0.0.qualifier

[ERROR]   Missing requirement: edu.illinois.mobius.product.core 3.0.0.qualifier requires 'edu.illinois.mobius.feature.feature.group 0.0.0' but it could not be found

[ERROR] 

[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO] 

[INFO] edu.illinois.mobius.root ........................... SUCCESS [  0.060 s]

[INFO] edu.illinois.mobius.bundles ........................ SUCCESS [  0.002 s]

[INFO] edu.illinois.mobius.core.console ................... SUCCESS [  1.567 s]

[INFO] edu.illinois.mobius.core.util ...................... SUCCESS [  0.506 s]

[INFO] edu.illinois.mobius.core.preferences ............... SUCCESS [  0.525 s]

[INFO] edu.illinois.mobius ................................ SUCCESS [  0.222 s]

[INFO] edu.illinois.mobius.legacy ......................... SUCCESS [  0.853 s]

[INFO] edu.illinois.mobius.core.projects .................. SUCCESS [  2.014 s]

[INFO] edu.illinois.mobius.atomic ......................... SUCCESS [  0.183 s]

[INFO] edu.illinois.mobius.atomic.advise .................. SUCCESS [  0.849 s]

[INFO] edu.illinois.mobius.atomic.bnb ..................... SUCCESS [  0.269 s]

[INFO] edu.illinois.mobius.atomic.external ................ SUCCESS [  0.195 s]

[INFO] edu.illinois.mobius.atomic.san ..................... SUCCESS [  0.293 s]

[INFO] edu.illinois.mobius.atomic.faulttree ............... SUCCESS [  0.220 s]

[INFO] edu.illinois.mobius.atomic.pepa .................... SUCCESS [  0.352 s]

[INFO] edu.illinois.mobius.composed ....................... SUCCESS [  0.368 s]

[INFO] edu.illinois.mobius.composed.rj .................... SUCCESS [  0.214 s]

[INFO] edu.illinois.mobius.composed.action ................ SUCCESS [  0.189 s]

[INFO] edu.illinois.mobius.composed.graph ................. SUCCESS [  0.182 s]

[INFO] edu.illinois.mobius.database ....................... SUCCESS [  0.436 s]

[INFO] edu.illinois.mobius.reward ......................... SUCCESS [  0.168 s]

[INFO] edu.illinois.mobius.reward.pv ...................... SUCCESS [  0.240 s]

[INFO] edu.illinois.mobius.study .......................... SUCCESS [  0.283 s]

[INFO] edu.illinois.mobius.solver ......................... SUCCESS [  0.294 s]

[INFO] edu.illinois.mobius.solver.adiss ................... SUCCESS [  0.181 s]

[INFO] edu.illinois.mobius.solver.ars ..................... SUCCESS [  0.163 s]

[INFO] edu.illinois.mobius.solver.ats ..................... SUCCESS [  0.164 s]

[INFO] edu.illinois.mobius.solver.simulator ............... SUCCESS [  0.319 s]

[INFO] edu.illinois.mobius.transformer .................... SUCCESS [  0.198 s]

[INFO] edu.illinois.mobius.transformer.ssg ................ SUCCESS [  0.155 s]

[INFO] edu.illinois.mobius.solver.connection .............. SUCCESS [  0.270 s]

[INFO] edu.illinois.mobius.solver.diss .................... SUCCESS [  0.148 s]

[INFO] edu.illinois.mobius.solver.dss ..................... SUCCESS [  0.153 s]

[INFO] edu.illinois.mobius.solver.iss ..................... SUCCESS [  0.796 s]

[INFO] edu.illinois.mobius.solver.trs ..................... SUCCESS [  0.148 s]

[INFO] edu.illinois.mobius.solver.tss ..................... SUCCESS [  0.151 s]

[INFO] edu.illinois.mobius.study.doe ...................... SUCCESS [  0.503 s]

[INFO] edu.illinois.mobius.study.range .................... SUCCESS [  0.201 s]

[INFO] edu.illinois.mobius.study.set ...................... SUCCESS [  0.212 s]

[INFO] edu.illinois.mobius.transformer.sll ................ SUCCESS [  0.175 s]

[INFO] edu.illinois.mobius.transformer.symssg ............. SUCCESS [  0.192 s]

[INFO] edu.illinois.mobius.features ....................... SUCCESS [  0.003 s]

[INFO] edu.illinois.mobius.feature ........................ SUCCESS [  0.430 s]

[INFO] edu.illinois.mobius.atomic.advise.feature .......... SUCCESS [  0.120 s]

[INFO] edu.illinois.mobius.atomic.bnb.feature ............. SUCCESS [  0.089 s]

[INFO] edu.illinois.mobius.atomic.external.feature ........ SUCCESS [  0.088 s]

[INFO] edu.illinois.mobius.atomic.faulttree.feature ....... SUCCESS [  0.084 s]

[INFO] edu.illinois.mobius.atomic.pepa.feature ............ SUCCESS [  0.086 s]

[INFO] edu.illinois.mobius.atomic.san.feature ............. SUCCESS [  0.083 s]

[INFO] edu.illinois.mobius.composed.action.feature ........ SUCCESS [  0.085 s]

[INFO] edu.illinois.mobius.composed.graph.feature ......... SUCCESS [  0.137 s]

[INFO] edu.illinois.mobius.composed.rj.feature ............ SUCCESS [  0.076 s]

[INFO] edu.illinois.mobius.reward.pv.feature .............. SUCCESS [  0.071 s]

[INFO] edu.illinois.mobius.solver.adiss.feature ........... SUCCESS [  0.078 s]

[INFO] edu.illinois.mobius.solver.ars.feature ............. SUCCESS [  0.074 s]

[INFO] edu.illinois.mobius.solver.ats.feature ............. SUCCESS [  0.078 s]

[INFO] edu.illinois.mobius.solver.simulator.feature ....... SUCCESS [  0.081 s]

[INFO] edu.illinois.mobius.transformer.ssg.feature ........ SUCCESS [  0.077 s]

[INFO] edu.illinois.mobius.solver.connection.feature ...... SUCCESS [  0.081 s]

[INFO] edu.illinois.mobius.solver.diss.feature ............ SUCCESS [  0.075 s]

[INFO] edu.illinois.mobius.solver.dss.feature ............. SUCCESS [  0.081 s]

[INFO] edu.illinois.mobius.solver.iss.feature ............. SUCCESS [  0.088 s]

[INFO] edu.illinois.mobius.solver.trs.feature ............. SUCCESS [  0.072 s]

[INFO] edu.illinois.mobius.solver.tss.feature ............. SUCCESS [  0.076 s]

[INFO] edu.illinois.mobius.study.doe.feature .............. SUCCESS [  0.085 s]

[INFO] edu.illinois.mobius.study.range.feature ............ SUCCESS [  0.084 s]

[INFO] edu.illinois.mobius.study.set.feature .............. SUCCESS [  0.076 s]

[INFO] edu.illinois.mobius.transformer.sll.feature ........ SUCCESS [  0.086 s]

[INFO] edu.illinois.mobius.transformer.symssg.feature ..... SUCCESS [  0.072 s]

[INFO] edu.illinois.mobius.releng ......................... SUCCESS [  0.001 s]

[INFO] edu.illinois.mobius.product.core ................... FAILURE [  0.494 s]

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 39.167 s

[INFO] Finished at: 2018-02-20T16:29:36-06:00

[INFO] Final Memory: 258M/1541M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0:assemble-repository (default-assemble-repository) on project edu.illinois.mobius.product.core: Execution default-assemble-repository of goal org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0:assemble-repository failed: Cannot resolve dependencies of MavenProject: edu.illinois.mobius:edu.illinois.mobius.product.core:3.0.0-SNAPSHOT @ /Users/kjkeefe/git/Mobius/releng/edu.illinois.mobius.product.core/pom.xml: See log for details -> [Help 1]

[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/PluginExecutionException

[ERROR] 

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :edu.illinois.mobius.product.core

 

 

--

-------

Ken Keefe

Senior Software Engineer

Information Trust Institute

University of Illinois at Urbana-Champaign

1308 W. Main St.

CSL 225

Urbana, Illinois 61801, USA

Phone: 217-244-3203

 


_______________________________________________
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



--
-------
Ken Keefe
Senior Software Engineer
Information Trust Institute
University of Illinois at Urbana-Champaign
1308 W. Main St.
CSL 225
Urbana, Illinois 61801, USA


_______________________________________________
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


_______________________________________________
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



--
-------
Ken Keefe
Senior Software Engineer
Information Trust Institute
University of Illinois at Urbana-Champaign
1308 W. Main St.
CSL 225
Urbana, Illinois 61801, USA




--
-------
Ken Keefe
Senior Software Engineer
Information Trust Institute
University of Illinois at Urbana-Champaign
1308 W. Main St.
CSL 225
Urbana, Illinois 61801, USA
Phone: 217-244-3203


Back to the top