Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix 修正SPI被覆盖的问题。(#4364) #4375

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

at1559
Copy link
Contributor

@at1559 at1559 commented Aug 25, 2022

Lucene的依赖包的SPI有多个实现类,如果用maven-assembly-plugin打包会造成SPI被覆盖。需要改成使用maven-shade-plugin打包,并使用ServicesResourceTransformer来改变SPI重复的策略。
例如adapter-es7结果包里的/canal/client-adapter/launcher/target/canal-adapter/plugin/client-adapter.es7x-1.1.7-SNAPSHOT-jar-with-dependencies/META-INF/services/org.apache.lucene.codecs.PostingsFormat这个文件。 #4364

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant