pom.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. <!-- SourceAFIS dependency -->
  22. <dependency>
  23. <groupId>com.machinezoo.sourceafis</groupId>
  24. <artifactId>sourceafis</artifactId>
  25. <version>3.18.1</version>
  26. </dependency>
  27. <!-- pom.xml -->
  28. <dependency>
  29. <groupId>org.msgpack</groupId>
  30. <artifactId>msgpack-core</artifactId>
  31. <version>0.9.0</version>
  32. </dependency>
  33. </dependencies>
  34. <build>
  35. <plugins>
  36. <plugin>
  37. <groupId>org.codehaus.mojo</groupId>
  38. <artifactId>exec-maven-plugin</artifactId>
  39. <version>3.1.0</version>
  40. <executions>
  41. <execution>
  42. <phase>compile</phase> <!-- Ensure it's part of the compile phase -->
  43. <goals>
  44. <goal>java</goal>
  45. </goals>
  46. <configuration>
  47. <mainClass>com.example.Main</mainClass>
  48. </configuration>
  49. </execution>
  50. </executions>
  51. </plugin>
  52. </plugins>
  53. </build>
  54. </project>