设置SDK:https://blog.csdn.net/y999666/article/details/51893348
打开模板使用说明,找到Maven本地安装目录,
备份E:\Program Files\Apache Software Foundation\apache-maven-3.5.4-bin\conf中的
settings.xml
修改settings.xml
添加 <localRepository>E:/local/repo</localRepository>
将模板中的配置节mirrors拷贝到settings中
<mirrors>
<!-- 阿里云仓库镜像 -->
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>
</mirrors>
将模板中的配置节profile添加到 settings.xml
<profile>
<id>company</id>
<repositories>
<repository>
<id>company-snapshots</id>
<name>company-snapshots</name>
<url>http://maven.company.com/repository/maven-snapshots/</url>
</repository>
<repository>
<id>company-releases</id>
<name>company-releases</name>
<url>http://maven.company.com/repository/maven-releases/</url>
</repository>
</repositories>
</profile>
将模板中的配置节activeProfiles添加到 settings.xml
<activeProfiles>
<activeProfile>company</activeProfile>
</activeProfiles>
导入项目,选择 test.portal文件夹
网页打开:
登录帐户:admin companyadmin
设置Maven为本地目录
安装插件Lombok插件
安装插件Maven Archetype Catalogs
安装插件Free MyBatis plugin
安装插件Alibaba Java Coding Guidlines
设置Git路径:E:\Program Files\Git\bin
设置自动换行
热编译
Build-Compiler-Build project automatically ctrl+shift+A或ctrl+shift+alt+/ 搜索 Registry,找到compiler.automake.allow.when.app.running,开启此功能;
设置IDE主题:http://www.riaway.com/
设置Android Studio主题: