[Maven] IKAnalyzer does not exist in Maven Repository,

Source: Internet
Author: User
Tags maven central

[Maven] IKAnalyzer does not exist in Maven Repository,

1. Find IKAnalyzer in mvnrepository. This Chinese Word Segmentation package has not been found. Find github and find it written by a Chinese speaker,

Http://mvnrepository.com/search? Q = IKAnalyzer


2. convert it to a maven package, install it locally, find a ready-made maven project, and clone it to the local machine.

Https://github.com/wks/ik-analyzer


3. install it in Repository

Maven usage:


Add the following dependencies to the <dependencies>... </dependencies> section of pom. xml of the project.

<Dependency> <groupId> org. wltea. ik-analyzer </groupId> <artifactId> ik-analyzer </artifactId> <version> 3.2.8 </version> </dependency>



Before IK Analyzer is added to Maven Central Repository, you need to install it manually, install it on the local repository, or upload it to your Maven repository server.

To install Maven repository locally, run the following command to automatically compile, package, and install it:
Mvn install-Dmaven. test. skip = true


Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.