| | |
| | | |
| | | <properties> |
| | | <java.version>1.8</java.version> |
| | | <kotlin.version>1.2.71</kotlin.version> |
| | | <kotlin.version>1.5.0</kotlin.version> |
| | | <!-- tk.mybatis --> |
| | | <mapper.plugin>tk.mybatis.mapper.generator.MapperPlugin</mapper.plugin> |
| | | <mapper.Mapper>tk.mybatis.mapper.common.Mapper</mapper.Mapper> |
| | |
| | | <dependency> |
| | | <groupId>org.jetbrains.kotlin</groupId> |
| | | <artifactId>kotlin-reflect</artifactId> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.jetbrains.kotlin</groupId> |
| | | <artifactId>kotlin-stdlib-jdk8</artifactId> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | |
| | | <artifactId>fastjson</artifactId> |
| | | <version>1.2.75</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.jetbrains.kotlin</groupId> |
| | | <artifactId>kotlin-stdlib-jdk8</artifactId> |
| | | <version>${kotlin.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.jetbrains.kotlin</groupId> |
| | | <artifactId>kotlin-test-junit</artifactId> |
| | | <version>${kotlin.version}</version> |
| | | <scope>test</scope> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-maven-plugin --> |
| | | <dependency> |
| | | <groupId>org.jetbrains.kotlin</groupId> |
| | | <artifactId>kotlin-maven-plugin</artifactId> |
| | | <version>${kotlin.version}</version> |
| | | <scope>provided</scope> |
| | | </dependency> |
| | | |
| | | <!-- https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-maven-allopen --> |
| | | <dependency> |
| | | <groupId>org.jetbrains.kotlin</groupId> |
| | | <artifactId>kotlin-maven-allopen</artifactId> |
| | | <version>${kotlin.version}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>io.springfox</groupId> |
| | | <artifactId>springfox-boot-starter</artifactId> |
| | | <version>3.0.0</version> |
| | | </dependency> |
| | | </dependencies> |
| | | |
| | | <build> |
| | | <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> |
| | | <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory> |
| | | <sourceDirectory>src/main/kotlin</sourceDirectory> |
| | | <testSourceDirectory>src/test/kotlin</testSourceDirectory> |
| | | <plugins> |
| | | <!-- <plugin>--> |
| | | <!-- <groupId>org.springframework.boot</groupId>--> |
| | | <!-- <artifactId>spring-boot-maven-plugin</artifactId>--> |
| | | <!-- </plugin>--> |
| | | <!-- <plugin>--> |
| | | <!-- <groupId>org.jetbrains.kotlin</groupId>--> |
| | | <!-- <artifactId>kotlin-maven-plugin</artifactId>--> |
| | | <!-- <configuration>--> |
| | | <!-- <args>--> |
| | | <!-- <arg>-Xjsr305=strict</arg>--> |
| | | <!-- </args>--> |
| | | <!-- <compilerPlugins>--> |
| | | <!-- <plugin>spring</plugin>--> |
| | | <!-- </compilerPlugins>--> |
| | | <!-- </configuration>--> |
| | | <!-- <dependencies>--> |
| | | <!-- <dependency>--> |
| | | <!-- <groupId>org.jetbrains.kotlin</groupId>--> |
| | | <!-- <artifactId>kotlin-maven-allopen</artifactId>--> |
| | | <!-- <version>${kotlin.version}</version>--> |
| | | <!-- </dependency>--> |
| | | <!-- </dependencies>--> |
| | | <!-- </plugin>--> |
| | | <plugin> |
| | | <groupId>org.jetbrains.kotlin</groupId> |
| | | <artifactId>kotlin-maven-plugin</artifactId> |
| | | <configuration> |
| | | <args> |
| | | <arg>-Xjsr305=strict</arg> |
| | | </args> |
| | | <compilerPlugins> |
| | | <plugin>spring</plugin> |
| | | </compilerPlugins> |
| | | </configuration> |
| | | <dependencies> |
| | | <dependency> |
| | | <groupId>org.jetbrains.kotlin</groupId> |
| | | <artifactId>kotlin-maven-allopen</artifactId> |
| | | <version>${kotlin.version}</version> |
| | | </dependency> |
| | | </dependencies> |
| | | </plugin> |
| | | <!-- mybatis generator 自动生成代码插件 --> |
| | | <plugin> |
| | | <groupId>org.mybatis.generator</groupId> |
| | |
| | | </dependency> |
| | | </dependencies> |
| | | </plugin> |
| | | <!-- <plugin>--> |
| | | <!-- <groupId>org.jetbrains.kotlin</groupId>--> |
| | | <!-- <artifactId>kotlin-maven-plugin</artifactId>--> |
| | | <!-- <version>${kotlin.version}</version>--> |
| | | <!-- <executions>--> |
| | | <!-- <execution>--> |
| | | <!-- <id>compile</id>--> |
| | | <!-- <phase>compile</phase>--> |
| | | <!-- <goals>--> |
| | | <!-- <goal>compile</goal>--> |
| | | <!-- </goals>--> |
| | | <!-- </execution>--> |
| | | <!-- <execution>--> |
| | | <!-- <id>test-compile</id>--> |
| | | <!-- <phase>test-compile</phase>--> |
| | | <!-- <goals>--> |
| | | <!-- <goal>test-compile</goal>--> |
| | | <!-- </goals>--> |
| | | <!-- </execution>--> |
| | | <!-- </executions>--> |
| | | <!-- <configuration>--> |
| | | <!-- <jvmTarget>1.8</jvmTarget>--> |
| | | <!-- </configuration>--> |
| | | <!-- </plugin>--> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-compiler-plugin</artifactId> |
| | | <executions> |
| | | <execution> |
| | | <id>compile</id> |
| | | <phase>compile</phase> |
| | | <goals> |
| | | <goal>compile</goal> |
| | | </goals> |
| | | </execution> |
| | | <execution> |
| | | <id>testCompile</id> |
| | | <phase>test-compile</phase> |
| | | <goals> |
| | | <goal>testCompile</goal> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | </plugins> |
| | | </build> |
| | | |
| | |
| | | <repository> |
| | | <id>alimaven</id> |
| | | <name>aliyun maven</name> |
| | | <url>http://maven.aliyun.com/nexus/content/groups/public/</url> |
| | | <url>https://maven.aliyun.com/repository/public</url> |
| | | </repository> |
| | | <repository> |
| | | <id>spring-snapshots</id> |