pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://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>3.1.2</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>co.id.datacomsolusindo</groupId>
  12. <artifactId>flyway</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>flyway</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>17</java.version>
  18. <kotlin.version>1.8.22</kotlin.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.flywaydb</groupId>
  27. <artifactId>flyway-core</artifactId>
  28. <version>11.0.1</version>
  29. </dependency>
  30. <!-- <dependency>-->
  31. <!-- <groupId>org.flywaydb</groupId>-->
  32. <!-- <artifactId>flyway-mysql</artifactId>-->
  33. <!-- </dependency>-->
  34. <!-- https://mvnrepository.com/artifact/org.flywaydb/flyway-sqlserver -->
  35. <dependency>
  36. <groupId>org.flywaydb</groupId>
  37. <artifactId>flyway-sqlserver</artifactId>
  38. <version>11.0.1</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.jetbrains.kotlin</groupId>
  42. <artifactId>kotlin-reflect</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.jetbrains.kotlin</groupId>
  46. <artifactId>kotlin-stdlib</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.mysql</groupId>
  50. <artifactId>mysql-connector-j</artifactId>
  51. <scope>runtime</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.microsoft.sqlserver</groupId>
  55. <artifactId>mssql-jdbc</artifactId>
  56. <scope>runtime</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.fasterxml.jackson.dataformat</groupId>
  60. <artifactId>jackson-dataformat-yaml</artifactId>
  61. <version>2.13.3</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.ini4j</groupId>
  65. <artifactId>ini4j</artifactId>
  66. <version>0.5.4</version>
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
  71. <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
  72. <plugins>
  73. <plugin>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-maven-plugin</artifactId>
  76. </plugin>
  77. <plugin>
  78. <groupId>org.jetbrains.kotlin</groupId>
  79. <artifactId>kotlin-maven-plugin</artifactId>
  80. <configuration>
  81. <args>
  82. <arg>-Xjsr305=strict</arg>
  83. </args>
  84. <compilerPlugins>
  85. <plugin>spring</plugin>
  86. </compilerPlugins>
  87. </configuration>
  88. <dependencies>
  89. <dependency>
  90. <groupId>org.jetbrains.kotlin</groupId>
  91. <artifactId>kotlin-maven-allopen</artifactId>
  92. <version>${kotlin.version}</version>
  93. </dependency>
  94. </dependencies>
  95. </plugin>
  96. </plugins>
  97. </build>
  98. </project>