PageRenderTime 25ms CodeModel.GetById 16ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/lucene-test/pom.xml

Relevant Search: With Applications for Solr and Elasticsearch

For more in depth reading about search, ranking and generally everything you could ever want to know about how lucene, elasticsearch or solr work under the hood I highly suggest this book. Easily one of the most interesting technical books I have read in a long time. If you are tasked with solving search relevance problems even if not in Solr or Elasticsearch it should be your first reference. Amazon Affiliate Link
http://alageospatialportal.googlecode.com/
XML | 84 lines | 81 code | 3 blank | 0 comment | 0 complexity | 526006318443abb4dde1f5ea90bd18a8 MD5 | raw file
 1<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 2  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 3  <modelVersion>4.0.0</modelVersion>
 4  <groupId>org.ala.gazetteer</groupId>
 5  <artifactId>indexer</artifactId>
 6  <packaging>jar</packaging>
 7  <version>1.0-SNAPSHOT</version>
 8  <name>indexer</name>
 9  <url>http://maven.apache.org</url>
10  <dependencies>
11    <dependency>
12      <groupId>junit</groupId>
13      <artifactId>junit</artifactId>
14      <version>3.8.1</version>
15      <scope>test</scope>
16    </dependency>
17        <dependency>
18    	<groupId>org.apache.lucene</groupId>
19    	<artifactId>lucene-core</artifactId>
20    	<version>3.0.1</version>
21    </dependency>
22    <dependency>
23    	<groupId>commons-io</groupId>
24    	<artifactId>commons-io</artifactId>
25    	<version>1.4</version>
26    </dependency>
27    <dependency>
28	<groupId>postgresql</groupId>
29	<artifactId>postgresql</artifactId>
30	<version>8.4-701.jdbc4</version>
31	</dependency>
32  </dependencies>
33 <build>
34        <plugins>
35		<plugin>
36		<artifactId>maven-compiler-plugin</artifactId>
37		<configuration>
38			<source>1.6</source>
39			<target>1.6</target>
40		</configuration>
41		</plugin>
42
43                <plugin>
44                <groupId>org.apache.maven.plugins</groupId>
45                <artifactId>maven-jar-plugin</artifactId>
46                <configuration>
47                  <archive>
48                        <manifest>
49                          <addClasspath>true</addClasspath>
50                          <mainClass>MyLuceneTest</mainClass>
51                        </manifest>
52                  </archive>
53                </configuration>
54                </plugin>
55                <plugin>
56                <artifactId>maven-assembly-plugin</artifactId>
57                <configuration>
58                  <descriptorRefs>
59                        <descriptorRef>jar-with-dependencies</descriptorRef>
60                  </descriptorRefs>
61                </configuration>
62                </plugin>
63<plugin>
64                        <artifactId>maven-dependency-plugin</artifactId>
65                        <executions>
66                                <execution>
67                                        <id>unpack-dependencies</id>
68                                        <phase>generate-resources</phase>
69                                        <goals>
70                                                <goal>unpack-dependencies</goal>
71                                        </goals>
72                                </execution>
73                        </executions>
74                </plugin>
75
76        </plugins>
77<resources>
78                <resource>
79                        <directory>${basedir}/target/dependency</directory>
80                </resource>
81        </resources>
82
83</build>
84</project>