SharpHurt

pom.xml

Mar 30th, 2020
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.94 KB | None | 0 0
  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.  
  6.     <groupId>com.example</groupId>
  7.     <artifactId>kotlin-demo</artifactId>
  8.     <version>0.0.1-SNAPSHOT</version>
  9.     <packaging>jar</packaging>
  10.  
  11.     <name>kotlin-demo</name>
  12.     <description>Demo project for Spring Boot</description>
  13.  
  14.     <parent>
  15.         <groupId>org.springframework.boot</groupId>
  16.         <artifactId>spring-boot-starter-parent</artifactId>
  17.         <version>2.2.1.RELEASE</version>
  18.         <relativePath/> <!-- lookup parent from repository -->
  19.     </parent>
  20.  
  21.     <properties>
  22.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  23.         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  24.         <java.version>1.8</java.version>
  25.         <kotlin.version>1.3.50</kotlin.version>
  26.     </properties>
  27.  
  28.     <dependencies>
  29.         <dependency>
  30.             <groupId>org.springframework.boot</groupId>
  31.             <artifactId>spring-boot-starter-thymeleaf</artifactId>
  32.         </dependency>
  33.         <dependency>
  34.             <groupId>org.springframework.boot</groupId>
  35.             <artifactId>spring-boot-starter-security</artifactId>
  36.         </dependency>
  37.         <dependency>
  38.             <groupId>org.springframework.security</groupId>
  39.             <artifactId>spring-security-test</artifactId>
  40.         </dependency>
  41.         <dependency>
  42.             <groupId>org.springframework.boot</groupId>
  43.             <artifactId>spring-boot-starter-data-jpa</artifactId>
  44.         </dependency>
  45.         <dependency>
  46.             <groupId>org.springframework.boot</groupId>
  47.             <artifactId>spring-boot-starter-web</artifactId>
  48.         </dependency>
  49.         <dependency>
  50.             <groupId>com.fasterxml.jackson.module</groupId>
  51.             <artifactId>jackson-module-kotlin</artifactId>
  52.         </dependency>
  53.         <dependency>
  54.             <groupId>org.jetbrains.kotlin</groupId>
  55.             <artifactId>kotlin-stdlib-jdk8</artifactId>
  56.         </dependency>
  57.         <dependency>
  58.             <groupId>org.jetbrains.kotlin</groupId>
  59.             <artifactId>kotlin-reflect</artifactId>
  60.         </dependency>
  61.  
  62.         <dependency>
  63.             <groupId>mysql</groupId>
  64.             <artifactId>mysql-connector-java</artifactId>
  65.             <scope>runtime</scope>
  66.         </dependency>
  67.         <dependency>
  68.             <groupId>org.springframework.boot</groupId>
  69.             <artifactId>spring-boot-starter-test</artifactId>
  70.             <scope>test</scope>
  71.         </dependency>
  72.     </dependencies>
  73.  
  74.     <build>
  75.         <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
  76.         <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
  77.         <plugins>
  78.             <plugin>
  79.                 <groupId>org.springframework.boot</groupId>
  80.                 <artifactId>spring-boot-maven-plugin</artifactId>
  81.             </plugin>
  82.             <plugin>
  83.                 <groupId>org.jetbrains.kotlin</groupId>
  84.                 <artifactId>kotlin-maven-plugin</artifactId>
  85.                 <configuration>
  86.                     <args>
  87.                         <arg>-Xjsr305=strict</arg>
  88.                     </args>
  89.                     <compilerPlugins>
  90.                         <plugin>spring</plugin>
  91.                     </compilerPlugins>
  92.                 </configuration>
  93.                 <dependencies>
  94.                     <dependency>
  95.                         <groupId>org.jetbrains.kotlin</groupId>
  96.                         <artifactId>kotlin-maven-allopen</artifactId>
  97.                         <version>${kotlin.version}</version>
  98.                     </dependency>
  99.                 </dependencies>
  100.             </plugin>
  101.         </plugins>
  102.     </build>
  103.  
  104.  
  105. </project>
Add Comment
Please, Sign In to add comment