views:

205

answers:

1

I'm trying to swap in the SnowballAnalyzer for StandardAnalyzer on my Maven 2 project. I'm currently using

    <dependency>
        <groupId>org.apache.lucene</groupId>
        <artifactId>lucene-contrib</artifactId>
        <version>2.4.0</version>
        <scope>compile</scope>
    </dependency>

but I keep getting the following error:

Missing:
----------
1) org.apache.lucene:lucene-contrib:jar:2.4.0
+1  A: 

From the repos it looks like you should be including this one:

<dependency>
   <groupId>org.apache.lucene</groupId>
   <artifactId>lucene-snowball</artifactId>
   <version>2.4.0</version>
</dependency>

At least from what I can see from http://repo1.maven.org/maven2/ that looks like the proper dependency ?

krosenvold