Bug 568911 - Maven dependencies for org.eclipse.platform:org.eclipse.help.base wrong
Summary: Maven dependencies for org.eclipse.platform:org.eclipse.help.base wrong
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 4.18   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Releng-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-18 01:16 EST by Fabien Magagnosc CLA
Modified: 2020-11-18 01:18 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabien Magagnosc CLA 2020-11-18 01:16:01 EST
When trying to use org.eclipse.platform, the element org.eclipse.help.base, latest version 4.3.0 (and previous) like 4.2.900 or 4.2.1000 are making reference to 

<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>org.apache.lucene.analyzers-common</artifactId>
<version>[8.4.1,9.0.0)</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
<version>[8.4.1,9.0.0)</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>org.apache.lucene.analyzers-smartcn</artifactId>
<version>[8.4.1,9.0.0)</version>
</dependency>


if you look at it, lucene-core is available, but the "path" for the analyzers-commons and analyzers-smartcn are wrong.

Based on the public central Maven, it should be :
   _ org.apache.lucene.analyzers-common changed to lucene-analyzers-common
   _ org.apache.lucene.analyzers-smartcn changed to lucene-analyzers-smartcn

which are then accessible and resolved.

for now, out of the box, you receive simply 

Failed to collect dependencies at org.eclipse.platform:org.eclipse.help.base:jar:4.3.0 -> org.apache.lucene:org.apache.lucene.analyzers-common:jar:[8.4.1,9.0.0): No versions available for org.apache.lucene:org.apache.lucene.analyzers-common:jar:[8.4.1,9.0.0) within specified range
Comment 1 Andrey Loskutov CLA 2020-11-18 01:18:51 EST
Do you want to provide a Gerrit patch?