pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. 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. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.7.18</version>
  9. <relativePath/>
  10. </parent>
  11. <groupId>com.video.script</groupId>
  12. <artifactId>video-script-service</artifactId>
  13. <version>1.0.0-SNAPSHOT</version>
  14. <name>video-script-service</name>
  15. <description>Video script admin backend</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <mysql.version>8.0.33</mysql.version>
  19. <mybatis.spring.boot.version>2.3.2</mybatis.spring.boot.version>
  20. <activatedProperties>dev</activatedProperties>
  21. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-validation</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.mybatis.spring.boot</groupId>
  33. <artifactId>mybatis-spring-boot-starter</artifactId>
  34. <version>${mybatis.spring.boot.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>mysql</groupId>
  38. <artifactId>mysql-connector-java</artifactId>
  39. <version>${mysql.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.commons</groupId>
  43. <artifactId>commons-lang3</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-test</artifactId>
  48. <scope>test</scope>
  49. </dependency>
  50. </dependencies>
  51. <build>
  52. <resources>
  53. <resource>
  54. <directory>src/main/resources</directory>
  55. <filtering>true</filtering>
  56. <includes>
  57. <include>application.yml</include>
  58. <include>application-*.yml</include>
  59. </includes>
  60. </resource>
  61. <resource>
  62. <directory>src/main/resources</directory>
  63. <filtering>false</filtering>
  64. <excludes>
  65. <exclude>application.yml</exclude>
  66. <exclude>application-*.yml</exclude>
  67. </excludes>
  68. </resource>
  69. </resources>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-maven-plugin</artifactId>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-compiler-plugin</artifactId>
  78. <configuration>
  79. <source>${java.version}</source>
  80. <target>${java.version}</target>
  81. <encoding>UTF-8</encoding>
  82. </configuration>
  83. </plugin>
  84. </plugins>
  85. </build>
  86. <profiles>
  87. <profile>
  88. <id>dev</id>
  89. <activation>
  90. <activeByDefault>true</activeByDefault>
  91. </activation>
  92. <properties>
  93. <activatedProperties>dev</activatedProperties>
  94. </properties>
  95. </profile>
  96. <profile>
  97. <id>test</id>
  98. <properties>
  99. <activatedProperties>test</activatedProperties>
  100. </properties>
  101. </profile>
  102. <profile>
  103. <id>prod</id>
  104. <properties>
  105. <activatedProperties>prod</activatedProperties>
  106. </properties>
  107. </profile>
  108. </profiles>
  109. </project>