5)配置环境变量web
6)验证是否安装成功apache
7)打开刚才下载的Maven目录下的conf目录中的settings.xml文件segmentfault
镜像内容: <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror>
<profile> <id>jdk-1.8</id> <activation> <activeByDefault>true</activeByDefault> <jdk>1.8</jdk> </activation> <properties> <maven.compiler.compilerVersion>1.8 </maven.compiler.compilerVersion> </properties> </profile> </profiles>
<!-- https://mvnrepository.com/artifact/com.google.guava/guava --> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>29.0-jre</version> </dependency>
若是在左侧的External Libraries下没有看到导入的jar,则证实没有导入成功windows
到这里Maven项目就建立成功了,若是还有什么问题或者文章中有哪块地方错了能够留言或者私信我
下一篇文章中会介绍如何建立一个maven web项目maven