Revision 7631
Added by Jing Tao over 11 years ago
metacat-index/src/test/java/edu/ucsb/nceas/metacat/index/SolrIndexIT.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import static org.junit.Assert.assertTrue; |
4 | 4 |
|
5 |
import edu.ucsb.nceas.metacat.common.SolrServerFactory; |
|
5 | 6 |
import java.io.File; |
6 | 7 |
import java.io.FileInputStream; |
7 | 8 |
import java.io.IOException; |
metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/ApplicationController.java | ||
---|---|---|
26 | 26 |
*/ |
27 | 27 |
package edu.ucsb.nceas.metacat.index; |
28 | 28 |
|
29 |
import edu.ucsb.nceas.metacat.common.SolrServerFactory; |
|
29 | 30 |
import java.util.ArrayList; |
30 | 31 |
import java.util.List; |
31 | 32 |
|
metacat-index/pom.xml | ||
---|---|---|
42 | 42 |
</exclusions> |
43 | 43 |
</dependency> |
44 | 44 |
<dependency> |
45 |
<groupId>org.dataone</groupId>
|
|
46 |
<artifactId>d1_common_java</artifactId>
|
|
47 |
<version>1.2.0-SNAPSHOT</version>
|
|
45 |
<groupId>edu.ucsb.nceas.metacat.common</groupId>
|
|
46 |
<artifactId>metacat-common</artifactId>
|
|
47 |
<version>1.0-SNAPSHOT</version> |
|
48 | 48 |
<type>jar</type> |
49 | 49 |
</dependency> |
50 | 50 |
<dependency> |
51 |
<groupId>org.apache.solr</groupId> |
|
52 |
<artifactId>solr-core</artifactId> |
|
53 |
<version>3.4.0</version> |
|
54 |
</dependency> |
|
55 |
<dependency> |
|
56 |
<groupId>org.apache.solr</groupId> |
|
57 |
<artifactId>solr-test-framework</artifactId> |
|
58 |
<version>3.4.0</version> |
|
59 |
</dependency> |
|
60 |
<dependency> |
|
61 | 51 |
<groupId>javax.servlet</groupId> |
62 | 52 |
<artifactId>servlet-api</artifactId> |
63 | 53 |
<version>2.5</version> |
Also available in: Unified diff
use the sharing code from the metacat-common.