pom.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. <artifactId>java-mcli</artifactId>
  7. <groupId>com.malk</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>mjava-aipocloud</artifactId>
  12. <description>云上艾柏, 天空卫士接入钉钉审批</description>
  13. <properties>
  14. <maven.compiler.source>8</maven.compiler.source>
  15. <maven.compiler.target>8</maven.compiler.target>
  16. </properties>
  17. <dependencies>
  18. <!-- 核心模块-->
  19. <dependency>
  20. <groupId>com.malk</groupId>
  21. <artifactId>mjava</artifactId>
  22. <version>${mjava.version}</version>
  23. </dependency>
  24. <!-- sqlserver 依赖-->
  25. <dependency>
  26. <groupId>com.microsoft.sqlserver</groupId>
  27. <artifactId>mssql-jdbc</artifactId>
  28. <scope>runtime</scope>
  29. </dependency>
  30. </dependencies>
  31. <build>
  32. <plugins>
  33. <plugin>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-maven-plugin</artifactId>
  36. <version>2.1.1.RELEASE</version>
  37. <configuration>
  38. <includeSystemScope>true</includeSystemScope>
  39. <!-- 如果没有该配置,devtools不会生效: 打包时关闭 -->
  40. <fork>false</fork>
  41. <!-- 避免中文乱码 -->
  42. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  43. </configuration>
  44. <!-- 允许生成可运行jar -->
  45. <executions>
  46. <execution>
  47. <goals>
  48. <goal>repackage</goal>
  49. </goals>
  50. </execution>
  51. </executions>
  52. </plugin>
  53. </plugins>
  54. <finalName>${project.artifactId}</finalName>
  55. </build>
  56. </project>