LUCENE-4345: Maven and IntelliJ configuration: add new lucene/queries compile dependency, and new lucene/analysis/common test dependency. Make ClassificationTestBase abstract, so that the IntelliJ runner doesn't "fail to start" it.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401498 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2012-10-23 21:56:51 +00:00
parent bacc9ff49f
commit ec9a50132a
3 changed files with 14 additions and 1 deletions

View File

@ -15,5 +15,7 @@
<orderEntry type="library" scope="TEST" name="JUnit" level="project" />
<orderEntry type="module" scope="TEST" module-name="lucene-test-framework" />
<orderEntry type="module" module-name="lucene-core" />
<orderEntry type="module" module-name="queries" />
<orderEntry type="module" scope="TEST" module-name="analysis-common" />
</component>
</module>

View File

@ -54,6 +54,17 @@
<artifactId>lucene-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>lucene-queries</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>lucene-analyzers-common</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>${module-path}/src/java</sourceDirectory>

View File

@ -31,7 +31,7 @@ import org.junit.Before;
/**
* Base class for testing {@link Classifier}s
*/
public class ClassificationTestBase extends LuceneTestCase {
public abstract class ClassificationTestBase extends LuceneTestCase {
private RandomIndexWriter indexWriter;
private String textFieldName;