pom.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <artifactId>usoft-fin-grpc-parent</artifactId>
  6. <groupId>com.usoft.fin</groupId>
  7. <version>1.0.0-SNAPSHOT</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>usoft-fin-grpc-service</artifactId>
  11. <packaging>jar</packaging>
  12. <dependencies>
  13. <!-- grpc -->
  14. <dependency>
  15. <groupId>org.lognet</groupId>
  16. <artifactId>grpc-spring-boot-starter</artifactId>
  17. </dependency>
  18. <!-- junit -->
  19. <dependency>
  20. <groupId>org.junit.jupiter</groupId>
  21. <artifactId>junit-jupiter-api</artifactId>
  22. <scope>test</scope>
  23. </dependency>
  24. <!-- logback -->
  25. <dependency>
  26. <groupId>ch.qos.logback</groupId>
  27. <artifactId>logback-classic</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.slf4j</groupId>
  31. <artifactId>slf4j-api</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.usoft.fin</groupId>
  35. <artifactId>usoft-fin-grpc-bl</artifactId>
  36. <version>1.0.0-SNAPSHOT</version>
  37. </dependency>
  38. </dependencies>
  39. <build>
  40. <finalName>usoft-fin-grpc-service</finalName>
  41. <!-- 开启资源文件过滤 -->
  42. <resources>
  43. <resource>
  44. <directory>${project.basedir}/src/main/resources</directory>
  45. <filtering>true</filtering>
  46. <targetPath>${project.build.directory}/classes</targetPath>
  47. </resource>
  48. </resources>
  49. <plugins>
  50. <plugin>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-maven-plugin</artifactId>
  53. <version>1.5.11.RELEASE</version>
  54. <executions>
  55. <execution>
  56. <goals>
  57. <goal>repackage</goal>
  58. </goals>
  59. </execution>
  60. </executions>
  61. <configuration>
  62. <executable>true</executable>
  63. </configuration>
  64. </plugin>
  65. <plugin>
  66. <groupId>org.apache.maven.plugins</groupId>
  67. <artifactId>maven-surefire-plugin</artifactId>
  68. <version>2.12.4</version>
  69. <configuration>
  70. <!-- 设置打包过程中不编译单元测试代码 TEST -->
  71. <skipTests>true</skipTests>
  72. </configuration>
  73. </plugin>
  74. </plugins>
  75. </build>
  76. </project>