pom.xml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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>pay.platform</groupId>
  7. <artifactId>common</artifactId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. <description>通用</description>
  10. <packaging>pom</packaging>
  11. <properties>
  12. <maven.compiler.source>21</maven.compiler.source>
  13. <maven.compiler.target>21</maven.compiler.target>
  14. <maven.compiler.release>21</maven.compiler.release>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. </properties>
  17. <modules>
  18. <module>core</module>
  19. </modules>
  20. <build>
  21. <plugins>
  22. <plugin>
  23. <groupId>org.apache.maven.plugins</groupId>
  24. <artifactId>maven-compiler-plugin</artifactId>
  25. <version>3.12.1</version>
  26. <configuration>
  27. <source>${java.version}</source>
  28. <target>${java.version}</target>
  29. <release>${java.version}</release>
  30. <compilerArgs>--enable-preview</compilerArgs>
  31. </configuration>
  32. </plugin>
  33. </plugins>
  34. </build>
  35. </project>