| Summary: | [Tycho build] Incomplete pom.xml file for parent | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Mickael Istria <mistria> |
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | akurtakov, jan.sievers, pascal.rapicault, pwebster |
| Version: | 3.7.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | stalebug | ||
|
Description
Mickael Istria
I fixed a number of the issues you mention and at this point I'm able to compile all the code. At this point there are couple issues still left: - features are not built because org.eclipse.license is not found in a p2 repo (bug #394793) - the end 2 end test will not run because we can't download the eclipse-platform. A request to publish the platform zip to maven repository has been opened (bug #394799) - I also don't inherit from the eclipse-parent - No eclipse build bell and whistle (source gen, signing, etc) Last changes: http://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?id=ac5a0fc4ac53fe300c6a74a013d2671988201f3c The eclipse-parent that we use and the org.eclipse.license are built as part of the CBI Platform build. http://wiki.eclipse.org/Platform-releng/Platform_Build We're going to start merging the pom file changes forward into master shortly. PW I've reverted the changes to the aggregator and to the parent to allow the CBI to proceed. Assistance on getting a standalone p2 build going and still working with the CBI is appreciated. Pascal, to build rt.equinox.p2 stand-alone (not quite alone :-) I had to add a profile to the eclipse-parent pom in eclipse.platform.releng.aggregator:
+ <profile>
+ <id>partial-build</id>
+ <activation>
+ <property>
+ <name>eclipse-sdk-repo.url</name>
+ </property>
+ </activation>
+ <repositories>
+ <repository>
+ <id>eclipse-sdk-repo</id>
+ <url>${eclipse-sdk-repo.url}</url>
+ <layout>p2</layout>
+ </repository>
+ </repositories>
+ </profile>
Then to build it, i needed:
bash$ cd eclipse.platform.releng.aggregator
bash$ mvn -f eclipse-parent/pom.xml clean install \
-Dmaven.repo.local=$LOCAL_REPO
bash$ cd ../eclipse.platform.releng
bash$ mvn -f features/org.eclipse.license/pom.xml clean install \
-Dmaven.test.skip=true -Dmaven.repo.local=$LOCAL_REPO
bash$ cd ../rt.equinox.p2
bash$ mvn -X -Pbree-libs clean install \
-Declipse-sdk-repo.url=http://download.eclipse.org/eclipse/updates/4.2-M-builds \
-Dmaven.test.skip=true -Dmaven.repo.local=$LOCAL_REPO
You need the parent, and then features in rt.equinox.p2 needs the org.eclipse.license feature from somewhere.
PW
I've released the partial-build profile to 4.2.2 and kepler: http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/commit/?h=R4_2_maintenance&id=c7062c6e02ba2bd59e7bf7ce04e337a53a05c992 http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/commit/?id=388b059e1fbf3639e0181d51abb690ae08a71ed8 PW This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. Mickael, is this still an issue for you? I don't think it's still an issue. |