-
项目构建过程包括【清理项目】→【编译项目】→【测试项目】→【生成测试报告】→【打包项目】→【部署项目】这几个步骤,这六个步骤就是一个项目的完整构建过程。
-
下载后解压
- 配置环境变量
-
F:jtDevelopmaventestmyapp>echo %JAVA_HOME% D:Javajdk1.8.0_91 F:jtDevelopmaventestmyapp>echo %MAVEN_HOME% F:jtDevelop ooljavaapache-maven-3.6.0 F:jtDevelopmaventestmyapp>echo %PATH% F:jtDevelop ooljavaapache-maven-3.6.0in;%JAVA_HOME%in;C:ProgramDataOra cleJavajavapath;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:Win dowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)NVIDIA Corporation PhysXCommon;D:Program FilesWIDCOMMBluetooth Software;D:Program FilesWIDCO MMBluetooth Softwaresyswow64;
-
- 配置运行JVM参数
-
修改从Maven中心仓库下载到本地的jar包的默认存储位置
- 默认存储位置
- C:UsersAdministrator.m2 epository
- F:jtDevelop ooljavaapache-maven-3.6.0confsettings.xml
-
<!-- localRepository | The path to the local repository maven will use to store artifacts. | | Default: ${user.home}/.m2/repository <localRepository>/path/to/local/repo</localRepository> --> <localRepository>F:jtDevelopmaventest epositorys</localRepository>
- 默认存储位置