pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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>net.mingsoft</groupId>
  7. <artifactId>ms-pom</artifactId>
  8. <version>2.0.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>net.mingsoft</groupId>
  12. <artifactId>ms-mcms</artifactId>
  13. <version>5.2.1-SNAPSHOT</version>
  14. <name>ms-mcms</name>
  15. <!-- 打包jar包 -->
  16. <packaging>jar</packaging>
  17. <!-- 打包war包 -->
  18. <!-- <packaging>war</packaging> -->
  19. <properties>
  20. <java.version>1.8</java.version>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. </properties>
  23. <repositories>
  24. <repository>
  25. <id>deploy</id>
  26. <name>ms</name>
  27. <url>http://192.168.0.8:5000/repository/maven-releases/</url>
  28. <releases>
  29. <enabled>true</enabled>
  30. </releases>
  31. <snapshots>
  32. <enabled>true</enabled>
  33. </snapshots>
  34. </repository>
  35. </repositories>
  36. <dependencies>
  37. <!-- <dependency>-->
  38. <!-- <groupId>net.mingsoft</groupId>-->
  39. <!-- <artifactId>ms-mwebsite</artifactId>-->
  40. <!-- </dependency>-->
  41. <dependency>
  42. <groupId>net.mingsoft</groupId>
  43. <artifactId>ms-mpeople</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.oracle</groupId>
  47. <artifactId>ojdbc8</artifactId>
  48. <version>8</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-test</artifactId>
  53. <scope>test</scope>
  54. <exclusions>
  55. <exclusion>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-logging</artifactId>
  58. </exclusion>
  59. </exclusions>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.mockito</groupId>
  63. <artifactId>mockito-all</artifactId>
  64. <version>1.10.19</version>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-cache</artifactId>
  70. </dependency>
  71. </dependencies>
  72. <build>
  73. <finalName>ms-mcms</finalName>
  74. <plugins>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-compiler-plugin</artifactId>
  78. <version>3.1</version>
  79. <configuration>
  80. <source>${java.version}</source>
  81. <target>${java.version}</target>
  82. <encoding>${project.build.sourceEncoding}</encoding>
  83. <showDeprecation>true</showDeprecation>
  84. <showWarnings>true</showWarnings>
  85. <compilerArguments>
  86. <verbose />
  87. <bootclasspath>${java.home}/lib/rt.jar${path.separator}${java.home}/lib/jce.jar</bootclasspath>
  88. </compilerArguments>
  89. </configuration>
  90. <dependencies>
  91. <dependency>
  92. <groupId>org.codehaus.plexus</groupId>
  93. <artifactId>plexus-compiler-eclipse</artifactId>
  94. <version>2.1</version>
  95. </dependency>
  96. </dependencies>
  97. </plugin>
  98. </plugins>
  99. <resources>
  100. <resource>
  101. <directory>src/main/webapp</directory>
  102. <excludes>
  103. <!--打包生产 -->
  104. <exclude>static/</exclude>
  105. <exclude>html/</exclude>
  106. <exclude>upload/</exclude>
  107. <exclude>template/</exclude>
  108. </excludes>
  109. </resource>
  110. <resource>
  111. <directory>src/main/resources</directory>
  112. </resource>
  113. <resource>
  114. <directory>src/main/java</directory>
  115. <excludes>
  116. <exclude>**/*.java</exclude>
  117. </excludes>
  118. </resource>
  119. </resources>
  120. <defaultGoal>compile</defaultGoal>
  121. </build>
  122. </project>