pom.xml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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>usoft-sso-rest-parent</artifactId>
  7. <groupId>com.usoft.sso</groupId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>usoft-sso-rest-service</artifactId>
  12. <packaging>jar</packaging>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-web</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.junit.jupiter</groupId>
  20. <artifactId>junit-jupiter-api</artifactId>
  21. <scope>test</scope>
  22. </dependency>
  23. <dependency>
  24. <groupId>ch.qos.logback</groupId>
  25. <artifactId>logback-classic</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.slf4j</groupId>
  29. <artifactId>slf4j-api</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.apache.httpcomponents</groupId>
  33. <artifactId>httpclient</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.usoft.sso</groupId>
  37. <artifactId>usoft-sso-rest-domain</artifactId>
  38. <version>1.0.0-SNAPSHOT</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.usoft.sso</groupId>
  42. <artifactId>usoft-sso-rest-api</artifactId>
  43. <version>${spring.active.profile}-SNAPSHOT</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.uas.sso</groupId>
  47. <artifactId>sso-common</artifactId>
  48. <version>0.0.1-SNAPSHOT</version>
  49. </dependency>
  50. </dependencies>
  51. <build>
  52. <finalName>usoft-sso-rest-service</finalName>
  53. <!-- 开启资源文件过滤 -->
  54. <resources>
  55. <resource>
  56. <directory>${project.basedir}/src/main/resources</directory>
  57. <filtering>true</filtering>
  58. <targetPath>${project.build.directory}/classes</targetPath>
  59. </resource>
  60. </resources>
  61. <plugins>
  62. <plugin>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-maven-plugin</artifactId>
  65. <version>1.5.11.RELEASE</version>
  66. <executions>
  67. <execution>
  68. <goals>
  69. <goal>repackage</goal>
  70. </goals>
  71. </execution>
  72. </executions>
  73. <configuration>
  74. <executable>true</executable>
  75. </configuration>
  76. </plugin>
  77. <plugin>
  78. <groupId>org.apache.maven.plugins</groupId>
  79. <artifactId>maven-surefire-plugin</artifactId>
  80. <version>2.12.4</version>
  81. <configuration>
  82. <!-- 设置打包过程中不编译单元测试代码 TEST -->
  83. <skipTests>true</skipTests>
  84. </configuration>
  85. </plugin>
  86. </plugins>
  87. </build>
  88. </project>