Bug 850952
| Summary: | tycho 0.16 not finding artifacts in a previous build | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> |
| Component: | tycho | Assignee: | Roland Grunberg <rgrunber> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | java-sig-commits, kdaniel, rgrunber |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-22 22:25:59 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Orion Poplawski
2012-08-22 20:53:16 UTC
Okay, I lied in saying that it worked in f17. That was only because I had installed the eclipse-photran packages locally. Can this be done with tycho? I'll look into this. My first guess would be to look at the contents of the local system p2 repository (.m2/p2/repo/plugins relative to where you ran mvn-rpmbuild) after the build failure. The plugins you need from the local system should all be there (eg. org.eclipse.photran.cdtinterface). If not, then this would be an issue with how the p2 repository is created. If they're all inside that folder, then something else is happening.
I've done just a quick investigation now, and on my f18 vm, when I create the p2 repo (as Fedora Tycho would), org.eclipse.photran.cdtinterface is being added : "org.eclipse.photran.cdtinterface=8.0.0.201203151905" and "org.eclipse.photran.cdtinterface=8.0.0.201203201256".
I noticed that eclipse-photran installs 2 sets of jars in %{_javadir}/eclipse/dropins/org.eclipse.photran/plugins that seem to differ only in qualifier. I'm not sure if that's causing the issue but it seems a bit strange.
Can you post the spec/source/etc ? files needed to reproduce the build (I'm guessing it's no committed yet)
http://www.cora.nwra.com/~orion/fedora/eclipse-ptp-6.0.1-1.fc17.src.rpm I'll try to take a look myself a little later. Thanks! Looks like I needed to do: mvn-rpmbuild -Dmaven.repo.local=../.m2 since I'm building in parallel directories. |