Discussion:
[tycho-user] Help building Eclipse e4 Product
Kenneth Keefe
2018-02-20 22:40:47 UTC
Permalink
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
[*INFO*] {osgi.os=linux, osgi.ws=gtk,
org.eclipse.update.install.features=true, osgi.arch=x86}
[*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
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,
[*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
Web: https://www.perform.illinois.edu/~kjkeefe
Email: ***@illinois.edu
Tom Bryan (tombry)
2018-02-21 04:49:04 UTC
Permalink
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-***@eclipse.org> on behalf of Kenneth Keefe <***@illinois.edu>
Reply-To: Tycho user list <tycho-***@eclipse.org>
Date: Tuesday, February 20, 2018 at 5:41 PM
To: Tycho user list <tycho-***@eclipse.org>
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<http://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
Web: https://www.perform.illinois.edu/~kjkeefe
Email: ***@illinois.edu<mailto:***@illinois.edu>
Kenneth Keefe
2018-02-21 17:01:19 UTC
Permalink
That didn't resolve the issue. Here's the full pastebin for doing a mvn
clean install: https://pastebin.com/xWNb6DWd

Ken
Post by Tom Bryan (tombry)
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
[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true,
osgi.arch=x86}
[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
*Date: *Tuesday, February 20, 2018 at 5:41 PM
*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
[*INFO*] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true,
osgi.arch=x86}
[*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
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,
[*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 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
_______________________________________________
tycho-user mailing list
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
Phone: 217-244-3203
Web: https://www.perform.illinois.edu/~kjkeefe
Email: ***@illinois.edu
Ben Zegveld
2018-02-21 17:11:58 UTC
Permalink
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
Post by Kenneth Keefe
That didn't resolve the issue. Here's the full pastebin for doing a mvn
clean install: https://pastebin.com/xWNb6DWd
Ken
Post by Tom Bryan (tombry)
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
[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true,
osgi.arch=x86}
[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
*Date: *Tuesday, February 20, 2018 at 5:41 PM
*Subject: *[tycho-user] Help building Eclipse e4 Product
I followed along the Vogella tutorial (http://www.vogella.com/tutori
als/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/J
uNXJzvj
Here is a segment that shows the errors from the output.
[*INFO*] *--- *tycho-p2-repository-plugin:1.1.0:assemble-repository
[*INFO*] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true,
osgi.arch=x86}
[*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-rep
ository-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
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,
[*ERROR*] *[Help 1]* http://cwiki.apache.org/conflu
ence/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 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
_______________________________________________
tycho-user mailing list
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
Phone: 217-244-3203 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
Kenneth Keefe
2018-02-21 21:18:55 UTC
Permalink
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>
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
Post by Kenneth Keefe
That didn't resolve the issue. Here's the full pastebin for doing a mvn
clean install: https://pastebin.com/xWNb6DWd
Ken
Post by Tom Bryan (tombry)
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
[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true,
osgi.arch=x86}
[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
*Date: *Tuesday, February 20, 2018 at 5:41 PM
*Subject: *[tycho-user] Help building Eclipse e4 Product
I followed along the Vogella tutorial (http://www.vogella.com/tutori
als/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/J
uNXJzvj
Here is a segment that shows the errors from the output.
[*INFO*] *--- *tycho-p2-repository-plugin:1.1.0:assemble-repository
[*INFO*] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true,
osgi.arch=x86}
[*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-rep
ository-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
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,
[*ERROR*] *[Help 1]* http://cwiki.apache.org/conflu
ence/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 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
_______________________________________________
tycho-user mailing list
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
Phone: 217-244-3203 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
_______________________________________________
tycho-user mailing list
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
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
Phone: 217-244-3203
Web: https://www.perform.illinois.edu/~kjkeefe
Email: ***@illinois.edu
Kenneth Keefe
2018-02-21 22:44:54 UTC
Permalink
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$***@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 = ***@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*
Post by Kenneth Keefe
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?
<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>
<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>
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
Post by Kenneth Keefe
That didn't resolve the issue. Here's the full pastebin for doing a mvn
clean install: https://pastebin.com/xWNb6DWd
Ken
Post by Tom Bryan (tombry)
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
[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true,
osgi.arch=x86}
[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
*Date: *Tuesday, February 20, 2018 at 5:41 PM
*Subject: *[tycho-user] Help building Eclipse e4 Product
I followed along the Vogella tutorial (http://www.vogella.com/tutori
als/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/J
uNXJzvj
Here is a segment that shows the errors from the output.
[*INFO*] *--- *tycho-p2-repository-plugin:1.1.0:assemble-repository
[*INFO*] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true,
osgi.arch=x86}
[*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-rep
ository-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
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
[*ERROR*] *[Help 1]* http://cwiki.apache.org/conflu
ence/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 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
_______________________________________________
tycho-user mailing list
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
Phone: 217-244-3203 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
_______________________________________________
tycho-user mailing list
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
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
Phone: 217-244-3203 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
--
-------
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
Web: https://www.perform.illinois.edu/~kjkeefe
Email: ***@illinois.edu
Kenneth Keefe
2018-02-23 17:00:27 UTC
Permalink
Any other advice for how I can debug this problem? Or is there a different
way I can build products?

Ken
Post by Kenneth Keefe
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
[*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,
[*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.
releng/edu.illinois.mobius.product.core/pom.xml
[*DEBUG*] (f) qualifier = 201802212236
[*DEBUG*] (f) repositoryName = edu.illinois.mobius.product.core
[*DEBUG*] (f) xzCompress = true
[*DEBUG*] -- end configuration --
[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*] 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
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
/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
/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
/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,
[*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*
Post by Kenneth Keefe
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?
<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.filetransf
er.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>
<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>
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
Post by Kenneth Keefe
That didn't resolve the issue. Here's the full pastebin for doing a mvn
clean install: https://pastebin.com/xWNb6DWd
Ken
Post by Tom Bryan (tombry)
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
[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true,
osgi.arch=x86}
[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
*Date: *Tuesday, February 20, 2018 at 5:41 PM
*Subject: *[tycho-user] Help building Eclipse e4 Product
I followed along the Vogella tutorial (http://www.vogella.com/tutori
als/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/J
uNXJzvj
Here is a segment that shows the errors from the output.
[*INFO*] *--- *tycho-p2-repository-plugin:1.1.0:assemble-repository
[*INFO*] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true,
osgi.arch=x86}
[*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-rep
ository-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
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
[*ERROR*] *[Help 1]* http://cwiki.apache.org/conflu
ence/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 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
_______________________________________________
tycho-user mailing list
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
Phone: 217-244-3203 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
_______________________________________________
tycho-user mailing list
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
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
Phone: 217-244-3203 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
--
-------
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 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
--
-------
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
Web: https://www.perform.illinois.edu/~kjkeefe
Email: ***@illinois.edu
Tom Bryan (tombry)
2018-02-23 18:33:09 UTC
Permalink
Caveats - I’m no Tycho expert. (I build exactly two RCPs from basically the same set of features, but this build has been working with Tycho for 2 or 3 years now.) I don’t build an update site for my product because we distribute a pre-packaged RCP-based application. Therefore, the example below just materializes the product and then zips up everything. Those zips are used by another step in the build chain to create platform-specific installers. This might not be Tycho best-practices, but it’s the structure that caused me the least headache.

My build basically calls mvn clean install with a pom.xml that looks something like the sample #1 below. This is an aggregate pom.xml file, https://www.smartics.eu/confluence/display/BLOG/2013/07/22/Using+Aggregate+and+Parent+POMs. It ensures that Tycho finds all of the modules (plugins, features, etc. for my product). The versions of the Tycho/maven plugins (mojos) are defined up in the parent pom.xml. This top-level pom.xml does include a listing of all of the Eclipse/Java plugins and features (in the <modules> element) that I’m building. It doesn’t list any dependencies since Tycho reads all of that information in the MANIFEST.MF, feature.xml, etc. files in the Eclipse plug-in projects. The last module, org.acme.foo.repo, should probably be called org.acme.foo.product since that’s the project in my workspace where the .product file lives. The pom.xml for that module packages up everything up into a product. I’ll include the relevant parts of that module’s pom.xml in #2 below.

#1

<?xml version="1.0" encoding="UTF-8"?>

<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 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>

<parent>

<groupId>org.acme.foo</groupId>

<artifactId>org.acme.foo.parent</artifactId>

<version>1.5.0</version>

<relativePath>./pom.xml</relativePath>

</parent>

<groupId>org.acme.foo</groupId>

<artifactId>foo-builder</artifactId>

<version>1.5.0</version>

<packaging>pom</packaging>

<repositories>

<repository>

<id>nebula</id>

<url>http://download.eclipse.org/technology/nebula/snapshot</url>

<layout>p2</layout>

</repository>

<repository>

<id>eclipse-oxygen</id>

<url>http://download.eclipse.org/releases/oxygen</url>

<layout>p2</layout>

</repository>

</repositories>

<modules>

<module>docs/org.acme.foo.help</module>

<module>docs/org.acme.foo.cheatsheet</module>

<module>plugins/org.acme.foo.bar.core</module>

<module>plugins/org.acme.foo.bar.ui</module>

<module>plugins/org.acme.foo.core</module>

<module>plugins/org.acme.foo.ui</module>

<module>feature/org.acme.foo.feature</module>

<module>build/org.acme.foo.repo</module>

</modules>

<build>

<plugins>

<plugin>

<groupId>org.eclipse.tycho</groupId>

<artifactId>tycho-maven-plugin</artifactId>

<version>${tycho-version}</version>

<extensions>true</extensions>

</plugin>

<plugin>

<groupId>org.eclipse.tycho</groupId>

<artifactId>tycho-compiler-plugin</artifactId>

<version>${tycho-version}</version>

<configuration>

<source>1.8</source>

<target>1.8</target>

</configuration>

</plugin>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-deploy-plugin</artifactId>

<version>2.7</version>

<configuration>

<skip>true</skip>

</configuration>

</plugin>

<plugin>

<groupId>org.eclipse.tycho</groupId>

<artifactId>target-platform-configuration</artifactId>

<version>${tycho-version}</version>

<configuration>

<environments>

<environment>

<os>win32</os>

<ws>win32</ws>

<arch>x86</arch>

</environment>

<environment>

<os>win32</os>

<ws>win32</ws>

<arch>x86_64</arch>

</environment>

<environment>

<os>linux</os>

<ws>gtk</ws>

<arch>x86</arch>

</environment>

<environment>

<os>linux</os>

<ws>gtk</ws>

<arch>x86_64</arch>

</environment>

<environment>

<os>macosx</os>

<ws>cocoa</ws>

<arch>x86_64</arch>

</environment>

</environments>

</configuration>

</plugin>

</plugins>

</build>

</project>

#2

<build>

<plugins>

<plugin>

<groupId>org.eclipse.tycho</groupId>

<artifactId>tycho-maven-plugin</artifactId>

</plugin>

<plugin>

<groupId>org.eclipse.tycho</groupId>

<artifactId>target-platform-configuration</artifactId>

</plugin>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-deploy-plugin</artifactId>

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

<configuration>

<products>

<product>

<id>org.acme.foo.product</id>

<!-- rootFolders may only be necessary because I’m on an old version of Tycho -->

<rootFolders>

<macosx>AcmeFoo-${project.version}-${forceContextQualifier}.app</macosx>

</rootFolders>

<archiveFileName>AcmeFoo-${project.version}-${forceContextQualifier}

</archiveFileName>

</product>

</products>

<formats>

<win32>zip</win32>

<linux>zip</linux>

<macosx>tar.gz</macosx>

</formats>

</configuration>

</plugin>


From: <tycho-user-***@eclipse.org> on behalf of Kenneth Keefe <***@illinois.edu>
Reply-To: Tycho user list <tycho-***@eclipse.org>
Date: Friday, February 23, 2018 at 12:01 PM
To: Tycho user list <tycho-***@eclipse.org>
Subject: Re: [tycho-user] Help building Eclipse e4 Product

Any other advice for how I can debug this problem? Or is there a different way I can build products?

Ken

On Wed, Feb 21, 2018 at 4:44 PM, Kenneth Keefe <***@illinois.edu<mailto:***@illinois.edu>> wrote:
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$***@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 = ***@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<http://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 <***@illinois.edu<mailto:***@illinois.edu>> 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 <***@gmail.com<mailto:***@gmail.com>> 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 <***@illinois.edu<mailto:***@illinois.edu>> 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) <***@cisco.com<mailto:***@cisco.com>> 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.co<http://edu.illinois.mobius.product.co>re ---
[INFO] {osgi.os=linux, osgi.ws<http://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.co<http://edu.illinois.mobius.product.co>re 3.0.0.qualifier
[ERROR] Missing requirement: edu.illinois.mobius.product.co<http://edu.illinois.mobius.product.co>re 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-***@eclipse.org<mailto:tycho-user-***@eclipse.org>> on behalf of Kenneth Keefe <***@illinois.edu<mailto:***@illinois.edu>>
Reply-To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Date: Tuesday, February 20, 2018 at 5:41 PM
To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
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.co<http://edu.illinois.mobius.product.co>re ---

[INFO] {osgi.os=linux, osgi.ws<http://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.co<http://edu.illinois.mobius.product.co>re 3.0.0.qualifier

[ERROR] Missing requirement: edu.illinois.mobius.product.co<http://edu.illinois.mobius.product.co>re 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.co<http://edu.illinois.mobius.product.co>re ................... 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.co<http://edu.illinois.mobius.product.co>re: 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<tel:(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
Email: ***@illinois.edu<mailto:***@illinois.edu>


_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
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
Phone: 217-244-3203<tel:(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
Email: ***@illinois.edu<mailto:***@illinois.edu>


_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
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-***@eclipse.org<mailto:tycho-***@eclipse.org>
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
Phone: 217-244-3203<tel:(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
Email: ***@illinois.edu<mailto:***@illinois.edu>
--
-------
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<tel:(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
Email: ***@illinois.edu<mailto:***@illinois.edu>
--
-------
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
Web: https://www.perform.illinois.edu/~kjkeefe
Email: ***@illinois.edu<mailto:***@illinois.edu>
Wim Jongman
2018-03-04 19:54:22 UTC
Permalink
Tom,

Please note that http://download.eclipse.org/technology/nebula/snapshot has
been moved to http://download.eclipse.org/nebula/snapshot

Cheers,

Wim
Post by Tom Bryan (tombry)
Caveats - I’m no Tycho expert. (I build exactly two RCPs from basically
the same set of features, but this build has been working with Tycho for 2
or 3 years now.) I don’t build an update site for my product because we
distribute a pre-packaged RCP-based application. Therefore, the example
below just materializes the product and then zips up everything. Those
zips are used by another step in the build chain to create
platform-specific installers. This might not be Tycho best-practices, but
it’s the structure that caused me the least headache.
My build *basically* calls mvn clean install with a pom.xml that looks
something like the sample #1 below. This is an aggregate pom.xml file,
https://www.smartics.eu/confluence/display/BLOG/2013/
07/22/Using+Aggregate+and+Parent+POMs. It ensures that Tycho finds all
of the modules (plugins, features, etc. for my product). The versions of
the Tycho/maven plugins (mojos) are defined up in the parent pom.xml. This
top-level pom.xml does include a listing of all of the Eclipse/Java plugins
and features (in the <modules> element) that I’m building. It doesn’t list
any dependencies since Tycho reads all of that information in the
MANIFEST.MF, feature.xml, etc. files in the Eclipse plug-in projects. The
last module, org.acme.foo.repo, should probably be called
org.acme.foo.product since that’s the project in my workspace where the
.product file lives. The pom.xml for that module packages up everything up
into a product. I’ll include the relevant parts of that module’s pom.xml
in #2 below.
#1
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="
http://maven.apache.org/POM/4.0.0" 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>
<parent>
<groupId>org.acme.foo</groupId>
<artifactId>org.acme.foo.parent</artifactId>
<version>1.5.0</version>
<relativePath>./pom.xml</relativePath>
</parent>
<groupId>org.acme.foo</groupId>
<artifactId>foo-builder</artifactId>
<version>1.5.0</version>
<packaging>pom</packaging>
<repositories>
<repository>
<id>nebula</id>
<url>http://download.eclipse.
org/technology/nebula/snapshot</url>
<layout>p2</layout>
</repository>
<repository>
<id>eclipse-oxygen</id>
<url>http://download.eclipse.org/releases/oxygen
</url>
<layout>p2</layout>
</repository>
</repositories>
<modules>
<module>docs/org.acme.foo.help</module>
<module>docs/org.acme.foo.cheatsheet</module>
<module>plugins/org.acme.foo.bar.core</module>
<module>plugins/org.acme.foo.bar.ui</module>
<module>plugins/org.acme.foo.core</module>
<module>plugins/org.acme.foo.ui</module>
<module>feature/org.acme.foo.feature</module>
<module>build/org.acme.foo.repo</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-
configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
</plugins>
</build>
</project>
#2
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-
configuration</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
</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>
<configuration>
<products>
<product>
<id>org.acme.foo.product</id>
<!-- rootFolders may only
be necessary because I’m on an old version of Tycho -->
<rootFolders>
<macosx>Acme
Foo-${project.version}-${forceContextQualifier}.app</macosx>
</rootFolders>
<archiveFileName>AcmeFoo-${project.version}-${forceContextQualifier}
</archiveFileName>
</product>
</products>
<formats>
<win32>zip</win32>
<linux>zip</linux>
<macosx>tar.gz</macosx>
</formats>
</configuration>
</plugin>
*Date: *Friday, February 23, 2018 at 12:01 PM
*Subject: *Re: [tycho-user] Help building Eclipse e4 Product
Any other advice for how I can debug this problem? Or is there a different
way I can build products?
Ken
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
[*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,
[*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.
releng/edu.illinois.mobius.product.core/pom.xml
[*DEBUG*] (f) qualifier = 201802212236
[*DEBUG*] (f) repositoryName = edu.illinois.mobius.product.core
[*DEBUG*] (f) xzCompress = true
[*DEBUG*] -- end configuration --
[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*] 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
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
/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
/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
/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,
[*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*
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?
<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>
<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>
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
That didn't resolve the issue. Here's the full pastebin for doing a mvn
clean install: https://pastebin.com/xWNb6DWd
Ken
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
[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true,
osgi.arch=x86}
[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
*Date: *Tuesday, February 20, 2018 at 5:41 PM
*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
[*INFO*] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true,
osgi.arch=x86}
[*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.co
re: *Execution default-assemble-repository of goal
org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0:assemble-repository
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,
[*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 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
_______________________________________________
tycho-user mailing list
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
Phone: 217-244-3203 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
_______________________________________________
tycho-user mailing list
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
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
Phone: 217-244-3203 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
--
-------
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 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
--
-------
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 <(217)%20244-3203>
Web: https://www.perform.illinois.edu/~kjkeefe
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
Wim Jongman
2018-03-04 20:14:35 UTC
Permalink
Hi Kenneth,

We need to see your source code. Is it somewhere?

Cheers,

Wim
Kenneth Keefe
2018-05-04 20:25:47 UTC
Permalink
I finally figured out what the problem was. I had environment filters on my
features that were causing the problem. For example, all of my features had
the en_US language filter set and I did not have any language filter
specified in my configuration pom in my list of environments under
target-platform-configuration.

So, once I removed all those filters, I was all set.

However, now I have a closely related, but different problem. A few of my
features have native libraries in them and so they have the appropriate
environment filter set on the feature. However, I believe that when it goes
to build the product for each environment configuration, it tries to
include every feature specified in the product definition. But, the Windows
configuration should not try to include the MacOSX feature because the
filter is causing it to fail in finding it. Of course, I don't want to
include MacOSX features with a Windows product build.

I've looked on the web for a solution and found a bug from 2011 that seems
to talk about this problem but had no resolution. Surely this is something
people have to deal with. What is the right solution? Is there a way to
specify some product features as optional and when it doesn't find it, it
doesn't include it?

Thanks!
Ken
Post by Wim Jongman
Hi Kenneth,
We need to see your source code. Is it somewhere?
Cheers,
Wim
_______________________________________________
tycho-user mailing list
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
Phone: 217-244-3203
Web: https://www.perform.illinois.edu/~kjkeefe
Email: ***@illinois.edu
Loading...