我想添加一個名爲term-highlighter我的pom.xml Lucene的沙箱的貢獻。 我真的不那麼熟悉Maven的,但代碼有一個pom.xml.template這 似乎在暗示,如果我添加一個依賴,看起來像:做了pom.xml.template告訴我一切,我需要知道使用該項目作爲一個依賴
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-highlighter</artifactId>
</dependency>
它可能會奏效。有人可以幫我添加一個lucene-community項目到我的pom.xml文件嗎?
感謝您的意見,事實證明,加入的版本是我所需要的,我只是猜測它應該符合我所用:
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-highlighter</artifactId>
<version>2.3.1</version>
</dependency>