pom.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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-minjiaoyuan</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>1.0-SNAPSHOT</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.oracle.database.jdbc</groupId>
  26. <artifactId>ojdbc6</artifactId>
  27. <version>11.2.0.4</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>cn.smallbun.screw</groupId>
  31. <artifactId>screw-core</artifactId>
  32. <version>1.0.5</version>
  33. </dependency>
  34. </dependencies>
  35. <build>
  36. <plugins>
  37. <plugin>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-maven-plugin</artifactId>
  40. <version>2.1.1.RELEASE</version>
  41. <configuration>
  42. <includeSystemScope>true</includeSystemScope>
  43. <!-- 如果没有该配置,devtools不会生效: 打包时关闭 -->
  44. <fork>false</fork>
  45. <!-- 避免中文乱码 -->
  46. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  47. </configuration>
  48. <!-- 允许生成可运行jar -->
  49. <executions>
  50. <execution>
  51. <goals>
  52. <goal>repackage</goal>
  53. </goals>
  54. </execution>
  55. </executions>
  56. </plugin>
  57. </plugins>
  58. <finalName>${project.artifactId}</finalName>
  59. </build>
  60. </project>