全新开发环境配置checklist

1.基本环境

1.1 jdk

1.2 maven

1.配置MAVEN_HOME环境变量
2.配置setting.xml,指定本地仓库和使用的远程仓库

<!-- profile-->
<profile>
    <id>JDK-1.8</id>
    <activation>
        <activeByDefault>true</activeByDefault>
        <jdk>1.8</jdk>
    </activation>
    <properties>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
    </properties>
</profile>

<!-- 阿里云仓库 -->
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>

<!-- 中央仓库1 -->
<mirror>
<id>repo1</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://repo1.maven.org/maven2/</url>
</mirror>

<!-- 中央仓库2 -->
<mirror>
<id>repo2</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://repo2.maven.org/maven2/</url>
</mirror>

1.3 git 配置sshkey

ssh-keygen -t rsa -C "{你的邮箱}" 

1.4 基本编辑器 Notepad++

可替代:vscode,sublimetext

1.5 安装nvm,npm 并配置软件源

2 IDE

2.1 配置maven

指定外部maven位置

2.2 配置JDK

2.3 配置文件编码

2.4 配置类文件模板

2.5 常用插件安装

posted @ 2022-04-30 10:42  Fake_coder  阅读(42)  评论(0编辑  收藏  举报