pom.xml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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.framework</groupId>
  7. <artifactId>usoft-framework-parent</artifactId>
  8. <packaging>pom</packaging>
  9. <version>1.0-SNAPSHOT</version>
  10. <description>usoft底层框架</description>
  11. <modules>
  12. <module>usoft-grpc-dependencies</module>
  13. <module>usoft-base-dependencies</module>
  14. <module>usoft-mybatis-utils</module>
  15. <module>usoft-exception-utils</module>
  16. <module>usoft-rest-dependencies</module>
  17. <module>usoft-protobuf-utils</module>
  18. <module>usoft-sso-utils</module>
  19. <module>usoft-security-utils</module>
  20. <module>usoft-bizcode-utils</module>
  21. <module>usoft-mq-utils</module>
  22. </modules>
  23. <properties>
  24. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  25. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  26. <maven.compiler.source>1.8</maven.compiler.source>
  27. <maven.compiler.target>1.8</maven.compiler.target>
  28. </properties>
  29. <distributionManagement>
  30. <!-- 发布release仓库 -->
  31. <repository>
  32. <id>platform-release</id>
  33. <name>platform-release</name>
  34. <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
  35. </repository>
  36. <!-- 发布快照版本 -->
  37. <snapshotRepository>
  38. <id>platform-snapshots</id>
  39. <name>platform-snapshots</name>
  40. <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
  41. </snapshotRepository>
  42. </distributionManagement>
  43. <profiles>
  44. <profile>
  45. <!-- 开发环境 -->
  46. <id>dev</id>
  47. <activation>
  48. <activeByDefault>true</activeByDefault>
  49. </activation>
  50. <properties>
  51. <profile>dev</profile>
  52. </properties>
  53. </profile>
  54. <profile>
  55. <!-- 测试环境 -->
  56. <id>test</id>
  57. <properties>
  58. <profile>test</profile>
  59. </properties>
  60. </profile>
  61. <profile>
  62. <!-- 生产环境 -->
  63. <id>prod</id>
  64. <properties>
  65. <profile>prod</profile>
  66. </properties>
  67. </profile>
  68. </profiles>
  69. <build>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.apache.maven.plugins</groupId>
  73. <artifactId>maven-source-plugin</artifactId>
  74. <version>3.0.1</version>
  75. <executions>
  76. <execution>
  77. <id>attach-sources</id>
  78. <phase>verify</phase>
  79. <goals>
  80. <goal>jar-no-fork</goal>
  81. </goals>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. </plugins>
  86. </build>
  87. </project>