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

Bug 380499

Summary: recommenders pulling in conflicting version of lucene
Product: z_Archived Reporter: David Williams <david_williams>
Component: RecommendersAssignee: Marcel Bruch <marcel.bruch>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P3 CC: pwebster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description David Williams CLA 2012-05-24 00:02:26 EDT
I noticed in the Juno repo reports this surprising message: 

Missing about.html in file: org.apache.lucene_3.5.0.201205151952.jar

See http://build.eclipse.org/juno/simrel/reporeports/reports/layoutCheck.txt

surprising because I know org.apache.lucene is in Orbit, and we have our own, similar checks there to make sure bundles have 'correct contents'. 

So, started looking around, and see that the version in Orbit is 
org.apache.lucene_3.5.0.v20120319-2345

Next, looked in console logs from aggregation, 
https://hudson.eclipse.org/hudson/view/Repository%20Aggregation/job/juno.runAggregator/432/consoleFull

and appears it is "recommenders" pulling in this "higher" version of lucene. 

Only problem is, it is "complete different" from the one in Orbit. Yours has code it it, not sure what, not sure of details, but the one in Orbit is more an "umbrella" bundle that pulls in certain other bundles. 

The reason I marked this as a blocker is partially that you are missing the about.html file, but worse, I think having this "completely different" version in Juno, when the Platform, and others, use a different bundle, with slightly lower qualifier, so yours will "win" in many installs, and probably even replace the one in the platform ... I see that as a recipe for disaster. 

Is there a reason you use this one, and not the one from Orbit? 

If you _must_ use this one, then I fear you can not be in the common repo, as your use of non-Orbit bundles would likely cause interference. 

Hope its easy for you to get fixed. 

Thanks,
Comment 1 Marcel Bruch CLA 2012-05-24 00:58:54 EDT
Sorry for giving you hard times. The update site in the pom file pointed to an earlier orbit repo which did not contain Lucene 3.5. Thus, the build pulled it from our 3rd repo here at Eclipse. [1] summarizes the changes made.

All update sites now contain Lucene from Orbit (org.apache.lucene_3.5.0.v20120319-2345.jar)



[1] http://git.eclipse.org/c/recommenders/org.eclipse.recommenders.3rd.git/diff/pom.xml?id=5cf90fdd57daf4307e45328bf9f1d0e27bab7482
Comment 2 David Williams CLA 2012-05-24 01:01:48 EDT
Thanks for the quick fix and explanation. Glad to hear it wasn't some complicated thing.
Comment 3 Marcel Bruch CLA 2012-06-09 15:12:10 EDT
Set target milestone for fixed bugs to 1.0
Comment 4 Marcel Bruch CLA 2012-06-09 15:12:16 EDT
Set target milestone for fixed bugs to 1.0
Comment 5 Marcel Bruch CLA 2012-07-01 05:35:11 EDT
Juno is shipped. Closing this bug.