pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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. <parent>
  6. <groupId>com.byjc.cloud</groupId>
  7. <artifactId>byjc-framework</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>byjc-spring-boot-starter-license</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>License authorization component for medical software systems</description>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.byjc.cloud</groupId>
  18. <artifactId>byjc-common</artifactId>
  19. </dependency>
  20. <!-- Web 相关 -->
  21. <dependency>
  22. <groupId>com.byjc.cloud</groupId>
  23. <artifactId>byjc-spring-boot-starter-security</artifactId>
  24. <scope>provided</scope> <!-- 设置为 provided,只有 DefaultDBFieldHandler 使用到 -->
  25. </dependency>
  26. <!-- Spring Boot Starter -->
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter</artifactId>
  30. </dependency>
  31. <!-- Spring Boot Auto Configuration -->
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-autoconfigure</artifactId>
  35. </dependency>
  36. <!-- Spring Boot Configuration Processor -->
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-configuration-processor</artifactId>
  40. <optional>true</optional>
  41. </dependency>
  42. <!-- JSON处理 -->
  43. <dependency>
  44. <groupId>com.fasterxml.jackson.core</groupId>
  45. <artifactId>jackson-databind</artifactId>
  46. <scope>provided</scope>
  47. </dependency>
  48. <!-- Jackson JSR310时间模块 -->
  49. <dependency>
  50. <groupId>com.fasterxml.jackson.datatype</groupId>
  51. <artifactId>jackson-datatype-jsr310</artifactId>
  52. </dependency>
  53. <!-- AspectJ -->
  54. <dependency>
  55. <groupId>org.aspectj</groupId>
  56. <artifactId>aspectjweaver</artifactId>
  57. </dependency>
  58. <!-- 国密算法 -->
  59. <!--https://repo1.maven.org/maven2/org/bouncycastle/bcutil-jdk18on/-->
  60. <dependency>
  61. <groupId>org.bouncycastle</groupId>
  62. <artifactId>bcprov-jdk18on</artifactId>
  63. </dependency>
  64. <!-- Jakarta Annotation API (替代javax.annotation) -->
  65. <dependency>
  66. <groupId>jakarta.annotation</groupId>
  67. <artifactId>jakarta.annotation-api</artifactId>
  68. <!-- <version>2.1.1</version>-->
  69. </dependency>
  70. <!-- 日志 -->
  71. <dependency>
  72. <groupId>org.slf4j</groupId>
  73. <artifactId>slf4j-api</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.mockito</groupId>
  77. <artifactId>mockito-core</artifactId>
  78. <scope>compile</scope>
  79. </dependency>
  80. <!-- 测试依赖 -->
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-test</artifactId>
  84. <scope>test</scope>
  85. </dependency>
  86. </dependencies>
  87. <build>
  88. <plugins>
  89. <plugin>
  90. <groupId>org.apache.maven.plugins</groupId>
  91. <artifactId>maven-surefire-plugin</artifactId>
  92. <configuration>
  93. <skipTests>false</skipTests>
  94. </configuration>
  95. </plugin>
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-compiler-plugin</artifactId>
  99. <configuration>
  100. <source>17</source>
  101. <target>17</target>
  102. <encoding>UTF-8</encoding>
  103. </configuration>
  104. </plugin>
  105. <!-- Maven Exec Plugin for running main classes -->
  106. <plugin>
  107. <groupId>org.codehaus.mojo</groupId>
  108. <artifactId>exec-maven-plugin</artifactId>
  109. <version>3.1.0</version>
  110. <configuration>
  111. <includeProjectDependencies>true</includeProjectDependencies>
  112. <includePluginDependencies>false</includePluginDependencies>
  113. </configuration>
  114. <executions>
  115. <execution>
  116. <id>keygen</id>
  117. <configuration>
  118. <mainClass>com.byjc.license.generator.KeyGenerator</mainClass>
  119. </configuration>
  120. </execution>
  121. <execution>
  122. <id>licensegen</id>
  123. <configuration>
  124. <mainClass>com.byjc.license.generator.LicenseGenerator</mainClass>
  125. </configuration>
  126. </execution>
  127. </executions>
  128. </plugin>
  129. </plugins>
  130. </build>
  131. </project>