2011-12-19 29 views
1

我找不到Lucene 4.0的Maven仓库。我不想使用my own,因为它不会自动更新等。Lucene 4.0-SNAPSHOT(或5.0-SNAPSHOT)的Maven仓库

您有提示吗?我已经尝试没有成功以下回购(4.0但是不适用):

http://repo1.maven.org/maven2/

https://oss.sonatype.org/content/repositories/snapshots/

https://oss.sonatype.org/content/groups/public/

+0

我想Lucene的核心3.5的最新.. [你确定?](http://lucene.apache.org/java/docs/index.html#27+November+2011+-+Lucene+Core+3.5.0) – Nishant

+0

@Nishant。 OP想要一个SNAPSHOT 4.0 –

+0

@Alex哦,我的不好 – Nishant

回答

1

您可以使用以下Maven配置Lucene的4.0以及5.0

<repository> 
     <id>lucene-repository</id> 
     <name>Lucene Maven</name> 
     <url>https://repository.apache.org/snapshots/</url> 
     <snapshots> 
      <enabled>true</enabled> 
      <updatePolicy>always</updatePolicy> 
     </snapshots> 
</repository> 

,如果你需要最新的文档... look no further