Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354242

Summary: Can't execute a successful Maven build of Virgo tooling
Product: [RT] Virgo Reporter: Borislav Kapukaranov <b.kapukaranov>
Component: toolingAssignee: Borislav Kapukaranov <b.kapukaranov>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse, mlippert
Version: 3.0.0.RC1   
Target Milestone: 3.5.0.RELEASE   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Borislav Kapukaranov CLA 2011-08-09 08:52:49 EDT
Reproducible only on Windows.
The maven build is trying to add a local p2 repository and on windows the path contains the following pattern "file://C:/", which is considered to be an example of authority coomponent in an URI. p2 doesn't like such path for a repository URI so the build fails with in short:
Reason: org.eclipse.equinox.p2.core.ProvisionException: URI has an authority component.

The fix is to replace "file://" with just "file:", which works on all OSs
Comment 1 Borislav Kapukaranov CLA 2011-08-09 08:56:06 EDT
Fixed. Targeting 3.5 which will be the first official tooling release.
Comment 2 Borislav Kapukaranov CLA 2011-08-09 11:19:28 EDT
Another error was the way the installed jdk was referenced. 
On windows sometimes there are spaces in the paths, which caused an error in the Maven job.
The solution was to put quotes around the jdk path in the master pom.xml.