pom.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <parent>
  4. <groupId>cn.itlym.platform</groupId>
  5. <artifactId>shoulder-user-center</artifactId>
  6. <version>1.0-SNAPSHOT</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>uaa-start</artifactId>
  10. <name>uaa</name>
  11. <description>uaa-start</description>
  12. <!--调试/运行/测试/打包 模块-->
  13. <dependencies>
  14. <dependency>
  15. <groupId>cn.itlym.platform</groupId>
  16. <artifactId>uaa-xxx</artifactId>
  17. </dependency>
  18. <!-- ============================= 中间件技术选型 ============================= -->
  19. <!-- 数据库选用 mysql -->
  20. <dependency>
  21. <groupId>cn.itlym.platform</groupId>
  22. <artifactId>uaa-storage-mysql</artifactId>
  23. </dependency>
  24. <!-- 默认只提供接口,不含 web 端 -->
  25. <!--<dependency>
  26. <groupId>cn.itlym.platform</groupId>
  27. <artifactId>uaa-web</artifactId>
  28. </dependency>-->
  29. </dependencies>
  30. <profiles>
  31. <!-- 开发环境 -->
  32. <profile>
  33. <id>dev</id>
  34. <properties>
  35. <profile.active>dev</profile.active>
  36. </properties>
  37. <activation>
  38. <activeByDefault>true</activeByDefault>
  39. </activation>
  40. </profile>
  41. <!-- 测试环境-->
  42. <profile>
  43. <id>test</id>
  44. <properties>
  45. <profile.active>test</profile.active>
  46. </properties>
  47. </profile>
  48. <!-- 生产环境-->
  49. <profile>
  50. <id>prod</id>
  51. <properties>
  52. <profile.active>prod</profile.active>
  53. </properties>
  54. </profile>
  55. </profiles>
  56. <build>
  57. <!-- maven 默认使用 artifactId+version拼接 -->
  58. <finalName>${project.artifactId}</finalName>
  59. <!-- 动态打包环境配置源文件 fix shoulder-platform 中的统一配置,可删除 -->
  60. <!--<filters>
  61. <filter>../../dynamicConfig/config-${profile.active}.properties</filter>
  62. </filters>-->
  63. <resources>
  64. <resource>
  65. <directory>src/main/resources</directory>
  66. <includes>
  67. <include>**/*</include>
  68. </includes>
  69. <!-- 是否替换资源中的属性,properties.yml、banner 中需要获取应用版本号、名称、描述 -->
  70. <filtering>true</filtering>
  71. </resource>
  72. </resources>
  73. </build>
  74. </project>