pom.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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
  5. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  6. <modelVersion>4.0.0</modelVersion>
  7. <groupId>hello</groupId>
  8. <artifactId>hello</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. <properties>
  11. <!-- Compiler options -->
  12. <maven.compiler.source>11</maven.compiler.source>
  13. <maven.compiler.target>11</maven.compiler.target>
  14. <!-- Dependency versions -->
  15. <armeria.version>0.86.0</armeria.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.linecorp.armeria</groupId>
  20. <artifactId>armeria</artifactId>
  21. <version>${armeria.version}</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.postgresql</groupId>
  25. <artifactId>postgresql</artifactId>
  26. <version>42.2.5</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.github.spullara.mustache.java</groupId>
  30. <artifactId>compiler</artifactId>
  31. <version>0.9.6</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.zaxxer</groupId>
  35. <artifactId>HikariCP</artifactId>
  36. <version>3.3.1</version>
  37. <scope>compile</scope>
  38. </dependency>
  39. </dependencies>
  40. <build>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.apache.maven.plugins</groupId>
  44. <artifactId>maven-compiler-plugin</artifactId>
  45. <version>3.8.0</version>
  46. <configuration>
  47. <debug>false</debug>
  48. </configuration>
  49. </plugin>
  50. <!-- Build an executable JAR with dependencies -->
  51. <plugin>
  52. <artifactId>maven-assembly-plugin</artifactId>
  53. <version>3.1.0</version>
  54. <configuration>
  55. <archive>
  56. <manifest>
  57. <mainClass>hello.App</mainClass>
  58. </manifest>
  59. </archive>
  60. <descriptorRefs>
  61. <descriptorRef>jar-with-dependencies</descriptorRef>
  62. </descriptorRefs>
  63. </configuration>
  64. <executions>
  65. <execution>
  66. <id>make-assembly</id>
  67. <phase>package</phase>
  68. <goals>
  69. <goal>single</goal>
  70. </goals>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. </plugins>
  75. </build>
  76. </project>