pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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 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.1.7.BUILD-SNAPSHOT</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.kawanansemut</groupId>
  12. <artifactId>demo-angular</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>demo-angular</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <kotlin.version>1.2.71</kotlin.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-data-jpa</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.fasterxml.jackson.module</groupId>
  31. <artifactId>jackson-module-kotlin</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.jetbrains.kotlin</groupId>
  35. <artifactId>kotlin-reflect</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.jetbrains.kotlin</groupId>
  39. <artifactId>kotlin-stdlib-jdk8</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.h2database</groupId>
  43. <artifactId>h2</artifactId>
  44. <scope>runtime</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-test</artifactId>
  49. <scope>test</scope>
  50. </dependency>
  51. </dependencies>
  52. <build>
  53. <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
  54. <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
  55. <plugins>
  56. <plugin>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-maven-plugin</artifactId>
  59. </plugin>
  60. <plugin>
  61. <groupId>org.jetbrains.kotlin</groupId>
  62. <artifactId>kotlin-maven-plugin</artifactId>
  63. <configuration>
  64. <compilerPlugins>
  65. <plugin>jpa</plugin>
  66. <plugin>spring</plugin>
  67. </compilerPlugins>
  68. <args>
  69. <arg>-Xjsr305=strict</arg>
  70. </args>
  71. </configuration>
  72. <dependencies>
  73. <dependency>
  74. <groupId>org.jetbrains.kotlin</groupId>
  75. <artifactId>kotlin-maven-noarg</artifactId>
  76. <version>${kotlin.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.jetbrains.kotlin</groupId>
  80. <artifactId>kotlin-maven-allopen</artifactId>
  81. <version>${kotlin.version}</version>
  82. </dependency>
  83. </dependencies>
  84. </plugin>
  85. </plugins>
  86. </build>
  87. <repositories>
  88. <repository>
  89. <id>spring-milestones</id>
  90. <name>Spring Milestones</name>
  91. <url>https://repo.spring.io/milestone</url>
  92. </repository>
  93. <repository>
  94. <id>spring-snapshots</id>
  95. <name>Spring Snapshots</name>
  96. <url>https://repo.spring.io/snapshot</url>
  97. <snapshots>
  98. <enabled>true</enabled>
  99. </snapshots>
  100. </repository>
  101. </repositories>
  102. <pluginRepositories>
  103. <pluginRepository>
  104. <id>spring-milestones</id>
  105. <name>Spring Milestones</name>
  106. <url>https://repo.spring.io/milestone</url>
  107. </pluginRepository>
  108. <pluginRepository>
  109. <id>spring-snapshots</id>
  110. <name>Spring Snapshots</name>
  111. <url>https://repo.spring.io/snapshot</url>
  112. <snapshots>
  113. <enabled>true</enabled>
  114. </snapshots>
  115. </pluginRepository>
  116. </pluginRepositories>
  117. </project>