/lucene-test/pom.xml

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. <plugin>
  43. <groupId>org.apache.maven.plugins</groupId>
  44. <artifactId>maven-jar-plugin</artifactId>
  45. <configuration>
  46. <archive>
  47. <manifest>
  48. <addClasspath>true</addClasspath>
  49. <mainClass>MyLuceneTest</mainClass>
  50. </manifest>
  51. </archive>
  52. </configuration>
  53. </plugin>
  54. <plugin>
  55. <artifactId>maven-assembly-plugin</artifactId>
  56. <configuration>
  57. <descriptorRefs>
  58. <descriptorRef>jar-with-dependencies</descriptorRef>
  59. </descriptorRefs>
  60. </configuration>
  61. </plugin>
  62. <plugin>
  63. <artifactId>maven-dependency-plugin</artifactId>
  64. <executions>
  65. <execution>
  66. <id>unpack-dependencies</id>
  67. <phase>generate-resources</phase>
  68. <goals>
  69. <goal>unpack-dependencies</goal>
  70. </goals>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. </plugins>
  75. <resources>
  76. <resource>
  77. <directory>${basedir}/target/dependency</directory>
  78. </resource>
  79. </resources>
  80. </build>
  81. </project>