pom.xml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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>com.usoft.fin</groupId>
  7. <artifactId>usoft-fin-grpc-parent</artifactId>
  8. <packaging>pom</packaging>
  9. <version>1.0.0-SNAPSHOT</version>
  10. <modules>
  11. <module>usoft-fin-grpc-api</module>
  12. <module>usoft-fin-grpc-bl</module>
  13. <module>usoft-fin-grpc-dal</module>
  14. <module>usoft-fin-grpc-service</module>
  15. <module>usoft-fin-grpc-utils</module>
  16. </modules>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <maven.compiler.source>1.8</maven.compiler.source>
  21. <maven.compiler.target>1.8</maven.compiler.target>
  22. <com.usoft.framework.version>${spring.active.profile}-1.0-SNAPSHOT</com.usoft.framework.version>
  23. <protoc-gen-grpc-java.version>1.11.0</protoc-gen-grpc-java.version>
  24. </properties>
  25. <dependencyManagement>
  26. <dependencies>
  27. <dependency>
  28. <groupId>com.usoft.framework</groupId>
  29. <artifactId>usoft-grpc-dependencies</artifactId>
  30. <version>dev-1.0-SNAPSHOT</version>
  31. <type>pom</type>
  32. <scope>import</scope>
  33. </dependency>
  34. </dependencies>
  35. </dependencyManagement>
  36. <distributionManagement>
  37. <!-- 发布release仓库 -->
  38. <repository>
  39. <id>platform-release</id>
  40. <name>platform-release</name>
  41. <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
  42. </repository>
  43. <!-- 发布快照版本 -->
  44. <snapshotRepository>
  45. <id>platform-snapshots</id>
  46. <name>platform-snapshots</name>
  47. <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
  48. </snapshotRepository>
  49. </distributionManagement>
  50. <!-- 项目运行环境 -->
  51. <profiles>
  52. <profile>
  53. <!-- 开发环境 -->
  54. <id>dev</id>
  55. <activation>
  56. <activeByDefault>true</activeByDefault>
  57. </activation>
  58. <properties>
  59. <spring.active.profile>dev</spring.active.profile>
  60. </properties>
  61. </profile>
  62. <profile>
  63. <!-- 测试环境 -->
  64. <id>test</id>
  65. <properties>
  66. <spring.active.profile>test</spring.active.profile>
  67. </properties>
  68. </profile>
  69. <profile>
  70. <!-- 生产环境 -->
  71. <id>prod</id>
  72. <properties>
  73. <spring.active.profile>prod</spring.active.profile>
  74. </properties>
  75. </profile>
  76. </profiles>
  77. </project>