pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>codestory</groupId>
  7. <artifactId>words</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <maven.compiler.source>1.8</maven.compiler.source>
  12. <maven.compiler.target>1.8</maven.compiler.target>
  13. </properties>
  14. <build>
  15. <finalName>words</finalName>
  16. <pluginManagement>
  17. <plugins>
  18. <plugin>
  19. <artifactId>maven-clean-plugin</artifactId>
  20. <version>3.0.0</version>
  21. </plugin>
  22. <plugin>
  23. <artifactId>maven-compiler-plugin</artifactId>
  24. <version>3.6.1</version>
  25. </plugin>
  26. <plugin>
  27. <artifactId>maven-deploy-plugin</artifactId>
  28. <version>2.8.2</version>
  29. </plugin>
  30. <plugin>
  31. <artifactId>maven-install-plugin</artifactId>
  32. <version>2.5.2</version>
  33. </plugin>
  34. <plugin>
  35. <artifactId>maven-resources-plugin</artifactId>
  36. <version>3.0.2</version>
  37. </plugin>
  38. <plugin>
  39. <artifactId>maven-site-plugin</artifactId>
  40. <version>3.6</version>
  41. </plugin>
  42. <plugin>
  43. <artifactId>maven-release-plugin</artifactId>
  44. <version>2.5.3</version>
  45. </plugin>
  46. <plugin>
  47. <artifactId>maven-surefire-plugin</artifactId>
  48. <version>2.19.1</version>
  49. </plugin>
  50. </plugins>
  51. </pluginManagement>
  52. <plugins>
  53. <plugin>
  54. <artifactId>maven-dependency-plugin</artifactId>
  55. <version>3.0.0</version>
  56. <executions>
  57. <execution>
  58. <id>copy-dependencies</id>
  59. <phase>package</phase>
  60. <goals>
  61. <goal>copy-dependencies</goal>
  62. </goals>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. <plugin>
  67. <artifactId>maven-jar-plugin</artifactId>
  68. <version>3.0.2</version>
  69. <configuration>
  70. <archive>
  71. <manifest>
  72. <addClasspath>true</addClasspath>
  73. <classpathPrefix>dependency</classpathPrefix>
  74. <mainClass>Main</mainClass>
  75. </manifest>
  76. </archive>
  77. </configuration>
  78. </plugin>
  79. </plugins>
  80. </build>
  81. <dependencies>
  82. <dependency>
  83. <groupId>com.google.guava</groupId>
  84. <artifactId>guava</artifactId>
  85. <version>23.0</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.postgresql</groupId>
  89. <artifactId>postgresql</artifactId>
  90. <version>42.1.4</version>
  91. </dependency>
  92. </dependencies>
  93. </project>