pom.xml 2.7 KB

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