LUCENE-3490: Maven configuration

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1197734 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2011-11-04 20:06:03 +00:00
parent f014029aa5
commit 3dbde146af
5 changed files with 30 additions and 8 deletions

View File

@ -53,6 +53,11 @@
<outputDirectory>${build-directory}/classes/java</outputDirectory>
<testOutputDirectory>${build-directory}/classes/test</testOutputDirectory>
<sourceDirectory>src/java</sourceDirectory>
<resources>
<resource>
<directory>src/resources</directory>
</resource>
</resources>
<testSourceDirectory>src/test</testSourceDirectory>
<testResources>
<testResource>

View File

@ -36,17 +36,17 @@
<build-directory>../../build/contrib/spatial</build-directory>
</properties>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>lucene-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>lucene-test-framework</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>lucene-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>lucene-queries</artifactId>

View File

@ -57,16 +57,24 @@
<outputDirectory>${build-directory}/classes/java</outputDirectory>
<testOutputDirectory>${build-directory}/classes/test</testOutputDirectory>
<sourceDirectory>java</sourceDirectory>
<resources>
<resource>
<directory>resources</directory>
</resource>
</resources>
<testSourceDirectory>test</testSourceDirectory>
<testResources>
<testResource>
<directory>${project.build.testSourceDirectory}</directory>
<directory>test-framework/resources</directory>
</testResource>
<testResource>
<directory>test-framework/java</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</testResource>
<testResource>
<directory>test-framework</directory>
<directory>${project.build.testSourceDirectory}</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>

View File

@ -53,8 +53,11 @@
<build>
<directory>${build-directory}</directory>
<outputDirectory>${build-directory}/classes/test-framework</outputDirectory>
<sourceDirectory>.</sourceDirectory>
<sourceDirectory>java</sourceDirectory>
<resources>
<resource>
<directory>resources</directory>
</resource>
<resource>
<directory>${project.build.sourceDirectory}</directory>
<excludes>

View File

@ -36,6 +36,12 @@
<build-directory>../build/solr-maven</build-directory>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-test-framework</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>solr-solrj</artifactId>