pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>net.mingsoft</groupId>
  7. <artifactId>mcms</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. <name>mcms1</name>
  10. <packaging>war</packaging>
  11. <properties>
  12. <java.version>1.8</java.version>
  13. </properties>
  14. <repositories>
  15. <repository>
  16. <id>sonatype-nexus-snapshots</id>
  17. <name>Sonatype Nexus Snapshots</name>
  18. <url>http://repo1.maven.org/maven2/</url>
  19. <releases>
  20. <enabled>true</enabled>
  21. </releases>
  22. <snapshots>
  23. <enabled>true</enabled>
  24. </snapshots>
  25. </repository>
  26. <repository>
  27. <id>sonatype</id>
  28. <name>Sonatype Snapshots</name>
  29. <url>https://oss.sonatype.org/content/groups/public/</url>
  30. <releases>
  31. <enabled>true</enabled>
  32. </releases>
  33. <snapshots>
  34. <enabled>true</enabled>
  35. </snapshots>
  36. </repository>
  37. </repositories>
  38. <dependencies>
  39. <dependency>
  40. <groupId>net.mingsoft</groupId>
  41. <artifactId>ms-base</artifactId>
  42. <version>1.0.8.1-SNAPSHOT</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>net.mingsoft</groupId>
  46. <artifactId>ms-basic</artifactId>
  47. <version>1.0.8.1-SNAPSHOT</version>
  48. <classifier>classes</classifier>
  49. <scope>provided</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>net.mingsoft</groupId>
  53. <artifactId>ms-basic</artifactId>
  54. <version>1.0.8.1-SNAPSHOT</version>
  55. <type>war</type>
  56. </dependency>
  57. <dependency>
  58. <groupId>net.mingsoft</groupId>
  59. <artifactId>ms-mdiy</artifactId>
  60. <version>1.0.7-SNAPSHOT</version>
  61. <classifier>classes</classifier>
  62. <scope>provided</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>net.mingsoft</groupId>
  66. <artifactId>ms-mdiy</artifactId>
  67. <version>1.0.7-SNAPSHOT</version>
  68. <type>war</type>
  69. </dependency>
  70. <dependency>
  71. <groupId>net.mingsoft</groupId>
  72. <artifactId>ms-mpeople</artifactId>
  73. <version>1.0.7-SNAPSHOT</version>
  74. <classifier>classes</classifier>
  75. <scope>provided</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>net.mingsoft</groupId>
  79. <artifactId>ms-mpeople</artifactId>
  80. <version>1.0.7-SNAPSHOT</version>
  81. <type>war</type>
  82. </dependency>
  83. </dependencies>
  84. <build>
  85. <finalName>ms-mcms</finalName>
  86. <plugins>
  87. <plugin>
  88. <groupId>org.apache.maven.plugins</groupId>
  89. <artifactId>maven-compiler-plugin</artifactId>
  90. <version>3.1</version>
  91. <configuration>
  92. <source>${java.version}</source>
  93. <target>${java.version}</target>
  94. </configuration>
  95. </plugin>
  96. <plugin>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-maven-plugin</artifactId>
  99. <executions>
  100. <execution>
  101. <goals>
  102. <goal>repackage</goal>
  103. </goals>
  104. </execution>
  105. </executions>
  106. <configuration>
  107. <fork>true</fork>
  108. </configuration>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-maven-plugin</artifactId>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-war-plugin</artifactId>
  117. <configuration>
  118. <failOnMissingWebXml>false</failOnMissingWebXml>
  119. </configuration>
  120. </plugin>
  121. </plugins>
  122. <resources>
  123. <resource>
  124. <directory>src/main/webapp</directory>
  125. </resource>
  126. <resource>
  127. <directory>src/main/resources</directory>
  128. </resource>
  129. <resource>
  130. <directory>src/main/java</directory>
  131. </resource>
  132. </resources>
  133. <defaultGoal>compile</defaultGoal>
  134. </build>
  135. </project>