pom.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.shiku</groupId>
  6. <artifactId>mianshi-parent</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>mianshi-im-api</artifactId>
  10. <packaging>war</packaging>
  11. <name>mianshi-im-api</name>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.shiku</groupId>
  15. <artifactId>mianshi-service</artifactId>
  16. <version>0.0.1-SNAPSHOT</version>
  17. <scope>compile</scope>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-web</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-tomcat</artifactId>
  26. <scope>provided</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.apache.tomcat.embed</groupId>
  30. <artifactId>tomcat-embed-jasper</artifactId>
  31. <scope>provided</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>javax.servlet</groupId>
  35. <artifactId>jstl</artifactId>
  36. </dependency>
  37. <!-- account center -->
  38. <!-- <dependency>
  39. <groupId>com.uas.sso</groupId>
  40. <artifactId>sso-common</artifactId>
  41. <version>0.0.1-SNAPSHOT</version>
  42. </dependency> -->
  43. </dependencies>
  44. <properties>
  45. <java.version>1.8</java.version>
  46. <start-class>com.shiku.mianshi.Application</start-class>
  47. <main.basedir>${basedir}/../..</main.basedir>
  48. <m2eclipse.wtp.contextRoot>/</m2eclipse.wtp.contextRoot>
  49. </properties>
  50. <!-- Package as an executable jar -->
  51. <build>
  52. <plugins>
  53. <plugin>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-maven-plugin</artifactId>
  56. <version>1.1.6.RELEASE</version>
  57. <executions>
  58. <execution>
  59. <goals>
  60. <goal>repackage</goal>
  61. </goals>
  62. </execution>
  63. </executions>
  64. </plugin>
  65. <plugin>
  66. <groupId>org.apache.maven.plugins</groupId>
  67. <artifactId>maven-compiler-plugin</artifactId>
  68. <version>2.3.2</version>
  69. <configuration>
  70. <source>1.8</source>
  71. <target>1.8</target>
  72. <encoding>UTF-8</encoding>
  73. </configuration>
  74. </plugin>
  75. </plugins>
  76. </build>
  77. <distributionManagement>
  78. <!-- 发布release仓库 -->
  79. <repository>
  80. <id>platform-release</id>
  81. <name>platform-release</name>
  82. <url>https://maven.ubtob.net/artifactory/libs-release-local</url>
  83. </repository>
  84. <!-- 发布快照版本 -->
  85. <snapshotRepository>
  86. <id>platform-snapshots</id>
  87. <name>platform-snapshots</name>
  88. <url>https://maven.ubtob.net/artifactory/libs-snapshot-local</url>
  89. </snapshotRepository>
  90. </distributionManagement>
  91. </project>