pom.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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>com.company</groupId>
  7. <artifactId>project</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <build>
  10. <plugins>
  11. <plugin>
  12. <groupId>org.apache.maven.plugins</groupId>
  13. <artifactId>maven-compiler-plugin</artifactId>
  14. <configuration>
  15. <release>25</release>
  16. </configuration>
  17. </plugin>
  18. <plugin>
  19. <artifactId>maven-assembly-plugin</artifactId>
  20. <configuration>
  21. <archive>
  22. <manifest>
  23. <mainClass>App</mainClass>
  24. </manifest>
  25. </archive>
  26. <descriptorRefs>
  27. <descriptorRef>jar-with-dependencies</descriptorRef>
  28. </descriptorRefs>
  29. <finalName>app</finalName>
  30. <appendAssemblyId>false</appendAssemblyId>
  31. </configuration>
  32. </plugin>
  33. </plugins>
  34. </build>
  35. <dependencyManagement>
  36. <dependencies>
  37. <!-- spark-core 2.9.4 ships Jetty 9.4.48, force the last 9.4 security release -->
  38. <dependency>
  39. <groupId>org.eclipse.jetty</groupId>
  40. <artifactId>jetty-bom</artifactId>
  41. <version>9.4.58.v20250814</version>
  42. <type>pom</type>
  43. <scope>import</scope>
  44. </dependency>
  45. </dependencies>
  46. </dependencyManagement>
  47. <dependencies>
  48. <dependency>
  49. <groupId>com.sparkjava</groupId>
  50. <artifactId>spark-core</artifactId>
  51. <version>2.9.4</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.mysql</groupId>
  55. <artifactId>mysql-connector-j</artifactId>
  56. <version>26.10.0</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.google.code.gson</groupId>
  60. <artifactId>gson</artifactId>
  61. <version>2.15.0</version>
  62. </dependency>
  63. </dependencies>
  64. </project>