| Summary: | Unable to resolve Eclipse license feature in build | ||
|---|---|---|---|
| Product: | Community | Reporter: | Benjamin Schmeling <Benjamin.Schmeling> |
| Component: | CI-Jenkins | Assignee: | CI Admin Inbox <ci.admin-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | david_williams, thanh.ha, webmaster |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
|
Description
Benjamin Schmeling
Or could someone point me to an example project on the Eclipse Hudson which is also using Maven/Tycho for the build? Thanh, did you ever provide a "CBI Document" for this?
In the Eclipse Platform, we configure "dependency URL" to point to the (new) CBI provided license In parent pom
As a global property, we define
<!-- CBI provided common license feature. (bug 394793) -->
<license-repo.url>http://download.eclipse.org/cbi/updates/license/</license-repo.url>
Then in 'repositories'
<repositories>
<repository>
<id>license-feature</id>
<url>${license-repo.url}</url>
<layout>p2</layout>
</repository>
.
.
.
</repositories>
Then in any particular feature, use the standard
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.eclipse.help"
label="%featureName"
version="2.0.0.qualifier"
provider-name="%providerName"
plugin="org.eclipse.help.base"
license-feature="org.eclipse.license"
license-feature-version="1.0.0.qualifier">
....
Hope this helps.
Works perfectly! Thanks a lot. I did not find any information about the cbi repos to solve this issue (and I googled a lot). There should be an official document for this. (In reply to Benjamin Schmeling from comment #3) > Works perfectly! Thanks a lot. I did not find any information about the cbi > repos to solve this issue (and I googled a lot). There should be an official > document for this. There should be and I have plans to create one but I'm stuck waiting on bug 400250 before I can ask for a web space to host the new CBI documention I've been working on. I will add some information to the CBI wiki page to mention the license in the meantime though [1]. [1] http://wiki.eclipse.org/CBI |