MyBatis手动编译
MyBatis手动编译
1, maven optional设置 <optional>true</optional> 改为 <optional>false</optional> 2,skip license 依赖 <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> 3,访问中央仓库必须使用maven3.6以上;
整理 https://blog.csdn.net/zhuguang_2016/article/details/80086140
【跳过findbugs检查】 <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>${maven-findbugs-plugin.version}</version> <configuration> <skip>true</skip><!-- 添加skip属性,并赋值true --> </configuration> </plugin> 【跳过surefire测试】 <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skipTests>true</skipTests> <!-- 添加skipTests属性,并赋值true --> </configuration> </plugin> </plugins> </build> 【跳过license检查】 <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <configuration> <skip>true</skip><!-- 添加skip属性,并赋值true --> </configuration> </plugin> 【跳过test校验】 行 Run Configurations,在Goals中输入 -> install -Dmaven.test.skip=true 执行 【跳过checkstyle检查】 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>${maven-checkstyle-plugin.version}</version> <configuration> <skip>true</skip><!-- 添加skip属性,并赋值true --> </configuration> </plugin>
1,maven仓库只接受https连接,maven必须升级到3.6
2,Idea2018与3.6有冲突
3,Idea2019在mac上面适用性不是特别好,有些插件Lombok适用性不好