pom.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  4. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.example</groupId>
  7. <artifactId>tcp-nest-bridge</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <properties>
  10. <!-- Specify the Java version Maven should use for compiling -->
  11. <maven.compiler.source>21</maven.compiler.source>
  12. <maven.compiler.target>21</maven.compiler.target>
  13. </properties>
  14. <dependencies>
  15. <!-- JSON dependency -->
  16. <dependency>
  17. <groupId>org.json</groupId>
  18. <artifactId>json</artifactId>
  19. <version>20231013</version>
  20. </dependency>
  21. <!-- For JSON as well?? -->
  22. <dependency>
  23. <groupId>com.fasterxml.jackson.core</groupId>
  24. <artifactId>jackson-databind</artifactId>
  25. <version>2.13.0</version>
  26. </dependency>
  27. <!-- SourceAFIS dependency -->
  28. <dependency>
  29. <groupId>com.machinezoo.sourceafis</groupId>
  30. <artifactId>sourceafis</artifactId>
  31. <version>3.18.1</version>
  32. </dependency>
  33. <!-- pom.xml -->
  34. <dependency>
  35. <groupId>org.msgpack</groupId>
  36. <artifactId>msgpack-core</artifactId>
  37. <version>0.9.0</version>
  38. </dependency>
  39. </dependencies>
  40. <build>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.codehaus.mojo</groupId>
  44. <artifactId>exec-maven-plugin</artifactId>
  45. <version>3.1.0</version>
  46. <executions>
  47. <execution>
  48. <phase>compile</phase> <!-- Ensure it's part of the compile phase -->
  49. <goals>
  50. <goal>java</goal>
  51. </goals>
  52. <configuration>
  53. <mainClass>com.example.Main</mainClass>
  54. </configuration>
  55. </execution>
  56. </executions>
  57. </plugin>
  58. </plugins>
  59. </build>
  60. </project>