pom.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <!--公司组织或名称-->
  5. <groupId>com.shkpr</groupId>
  6. <!--工件名-->
  7. <artifactId>epanet-core</artifactId>
  8. <!--版本号-->
  9. <version>1.0.0</version>
  10. <!--项目名-->
  11. <name>EpanetCore</name>
  12. <!--项目描述-->
  13. <description>
  14. EPANET 依赖库
  15. </description>
  16. <!--属性配置+统一版本管理-->
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. <maven.compiler.source>1.8</maven.compiler.source>
  22. <maven.compiler.target>1.8</maven.compiler.target>
  23. <jna.version>5.17.0</jna.version>
  24. </properties>
  25. <!--依赖项-->
  26. <dependencies>
  27. <!--jna-->
  28. <dependency>
  29. <groupId>net.java.dev.jna</groupId>
  30. <artifactId>jna</artifactId>
  31. <version>${jna.version}</version>
  32. </dependency>
  33. <!--jna-platform-->
  34. <dependency>
  35. <groupId>net.java.dev.jna</groupId>
  36. <artifactId>jna-platform</artifactId>
  37. <version>${jna.version}</version>
  38. </dependency>
  39. </dependencies>
  40. <!--构建脚本-->
  41. <build>
  42. <!--插件项-->
  43. <plugins>
  44. <!--maven-compiler-->
  45. <plugin>
  46. <groupId>org.apache.maven.plugins</groupId>
  47. <artifactId>maven-compiler-plugin</artifactId>
  48. <version>3.8.1</version>
  49. <configuration>
  50. <source>${maven.compiler.source}</source>
  51. <target>${maven.compiler.target}</target>
  52. </configuration>
  53. </plugin>
  54. </plugins>
  55. </build>
  56. </project>