You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

136 lines
4.4 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <groupId>com.haidapu.jtserver</groupId>
  6. <artifactId>jtserver-boot</artifactId>
  7. <version>1.3.2.RELEASE</version>
  8. </parent>
  9. <groupId>com.haidapu.jtserver</groupId>
  10. <artifactId>jtserver-core</artifactId>
  11. <version>1.3.2</version>
  12. <modelVersion>4.0.0</modelVersion>
  13. <packaging>jar</packaging>
  14. <name>jtserver-core</name>
  15. <description>中交 Jt808 服务 开发依赖(基于SpringBoot注解)</description>
  16. <url>https://github.com/zhoyq/spring-boot-starter-jt808</url>
  17. <licenses>
  18. <license>
  19. <name>MIT</name>
  20. <url>https://github.com/zhoyq/spring-boot-starter-jt808/blob/master/LICENSE</url>
  21. </license>
  22. </licenses>
  23. <developers>
  24. <developer>
  25. <name>zhoyq</name>
  26. <email>feedback@zhoyq.com</email>
  27. </developer>
  28. </developers>
  29. <scm>
  30. <tag>master</tag>
  31. <url>https://github.com/zhoyq/spring-boot-starter-jt808.git.git</url>
  32. <connection>scm:git:https://github.com/zhoyq/spring-boot-starter-jt808.git.git</connection>
  33. <developerConnection>scm:git:https://github.com/zhoyq/spring-boot-starter-jt808.git</developerConnection>
  34. </scm>
  35. <properties>
  36. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  37. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  38. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  39. <java.version>1.8</java.version>
  40. <maven.compiler.source>1.8</maven.compiler.source>
  41. <maven.compiler.target>1.8</maven.compiler.target>
  42. <lombok.version>1.18.12</lombok.version>
  43. <mina.version>2.1.3</mina.version>
  44. <netty.version>4.1.50.Final</netty.version>
  45. <junit.version>4.13.2</junit.version>
  46. </properties>
  47. <dependencies>
  48. <dependency>
  49. <groupId>org.apache.mina</groupId>
  50. <artifactId>mina-core</artifactId>
  51. <version>${mina.version}</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>io.netty</groupId>
  55. <artifactId>netty-all</artifactId>
  56. <version>${netty.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.projectlombok</groupId>
  64. <artifactId>lombok</artifactId>
  65. <version>${lombok.version}</version>
  66. <scope>provided</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>junit</groupId>
  70. <artifactId>junit</artifactId>
  71. <version>${junit.version}</version>
  72. <scope>test</scope>
  73. </dependency>
  74. </dependencies>
  75. <profiles>
  76. <!-- 开发环境 -->
  77. <profile>
  78. <id>dev</id>
  79. <properties>
  80. <spring.profiles.active>dev</spring.profiles.active>
  81. </properties>
  82. <activation>
  83. <activeByDefault>true</activeByDefault>
  84. </activation>
  85. </profile>
  86. <!-- 测试环境 -->
  87. <profile>
  88. <id>test</id>
  89. <properties>
  90. <spring.profiles.active>test</spring.profiles.active>
  91. </properties>
  92. </profile>
  93. <!-- 生产环境 -->
  94. <profile>
  95. <id>prod</id>
  96. <properties>
  97. <spring.profiles.active>prod</spring.profiles.active>
  98. </properties>
  99. </profile>
  100. </profiles>
  101. <build>
  102. <plugins>
  103. <plugin>
  104. <artifactId>maven-compiler-plugin</artifactId>
  105. <configuration>
  106. <source>${java.version}</source>
  107. <target>${java.version}</target>
  108. </configuration>
  109. </plugin>
  110. <plugin>
  111. <artifactId>maven-jar-plugin</artifactId>
  112. <configuration>
  113. <excludes>
  114. <exclude>logback.xml</exclude>
  115. </excludes>
  116. </configuration>
  117. </plugin>
  118. </plugins>
  119. </build>
  120. </project>