mirror of https://github.com/apache/lucene.git
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:
parent
bacc9ff49f
commit
ec9a50132a
|
@ -15,5 +15,7 @@
|
||||||
<orderEntry type="library" scope="TEST" name="JUnit" level="project" />
|
<orderEntry type="library" scope="TEST" name="JUnit" level="project" />
|
||||||
<orderEntry type="module" scope="TEST" module-name="lucene-test-framework" />
|
<orderEntry type="module" scope="TEST" module-name="lucene-test-framework" />
|
||||||
<orderEntry type="module" module-name="lucene-core" />
|
<orderEntry type="module" module-name="lucene-core" />
|
||||||
|
<orderEntry type="module" module-name="queries" />
|
||||||
|
<orderEntry type="module" scope="TEST" module-name="analysis-common" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
||||||
|
|
|
@ -54,6 +54,17 @@
|
||||||
<artifactId>lucene-core</artifactId>
|
<artifactId>lucene-core</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</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>
|
</dependencies>
|
||||||
<build>
|
<build>
|
||||||
<sourceDirectory>${module-path}/src/java</sourceDirectory>
|
<sourceDirectory>${module-path}/src/java</sourceDirectory>
|
||||||
|
|
|
@ -31,7 +31,7 @@ import org.junit.Before;
|
||||||
/**
|
/**
|
||||||
* Base class for testing {@link Classifier}s
|
* Base class for testing {@link Classifier}s
|
||||||
*/
|
*/
|
||||||
public class ClassificationTestBase extends LuceneTestCase {
|
public abstract class ClassificationTestBase extends LuceneTestCase {
|
||||||
|
|
||||||
private RandomIndexWriter indexWriter;
|
private RandomIndexWriter indexWriter;
|
||||||
private String textFieldName;
|
private String textFieldName;
|
||||||
|
|
Loading…
Reference in New Issue