Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Problem building oomph(Following intructions from Oomph contributing guide)
Problem building oomph [message #1780979] Tue, 30 January 2018 19:21 Go to next message
Mario Jauvin is currently offline Mario JauvinFriend
Messages: 76
Registered: October 2015
When I do maven -e clean verify -DskipTests=true I get the following error:


[INFO] Computing target platform for MavenProject: @ C:\Users\mxj037\oomph-master4\git\org.eclipse.oomph\sites\\pom.xml
[INFO] Resolving dependencies of MavenProject: @ C:\Users\mxj037\oomph-master4\git\org.eclipse.oomph\sites\\pom.xml
[INFO] {osgi.os=win32,, org.eclipse.update.install.features=true, osgi.arch=x86}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: raw:1.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):1.0.0-SNAPSHOT
[ERROR] Missing requirement: raw:1.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):1.0.0-SNAPSHOT requires ' 0.0.0' but it could not be found
[ERROR] See for help.
[ERROR] Cannot resolve dependencies of MavenProject: @ C:\Users\mxj037\oomph-master4\git\org.eclipse.oomph\sites\\pom.xml: See log for details -> [Help 1]
[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] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]

I searched on Google but did not find anything.
Re: Problem building oomph [message #1780994 is a reply to message #1780979] Wed, 31 January 2018 06:26 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31702
Registered: July 2009
Senior Member
In my local modified version of the launch configuration (to build only the Window's 64 bit stuff) I have these
You are missing -DGENERATE_SOURCE=true so they're not generated and so references to source features in the site.xml can't be resolved.

Because it's now mandatory to generate source we should move this build step from a conditionally activated profile to the root of the poml.xml in /org.eclipse.oomph.parent/features/pom.xml and/org.eclipse.oomph.parent/plugins/pom.xml.
We can also use the trick I learned with converting EMF's build to Maven Tycho so that /org.eclipse.oomph.all-feature has a p2.inf with a synthetic dependency on the it's corresponding source feature:
The advantage of this approach is that the source feature itself is not categorized in the site as something to install. Sources are really only useful in the target platform.

I've committed these changes:

So if you do a pull, your Maven build should work without the -DGENERATE_SOURCE=true option.

Ed Merks
Professional Support:
Previous Topic:EGit update site broken?
Next Topic:Possible corruption of p2 pool
Goto Forum:

Current Time: Sun Jan 17 17:16:33 GMT 2021

Powered by FUDForum. Page generated in 0.01388 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top