Start Maven by Using intellij idea
2013-09-12 14:07
435 查看
1. download "intellij idea", maven and JDK.
2. Before run the interllij idea, "export" the M2_HOME to indicat the installed maven path and JAVA_HOME to specify the installed jdk path.
3. start the "interllij idea" by using "nohup ./bin/idea.sh &", close the termial now.
4. pom.xml
artifactId means the jar filename
groupID means the "package" name.
5. Select the archetype: maven-archetype-quickstart not using default maven-archetype.
2. Before run the interllij idea, "export" the M2_HOME to indicat the installed maven path and JAVA_HOME to specify the installed jdk path.
3. start the "interllij idea" by using "nohup ./bin/idea.sh &", close the termial now.
4. pom.xml
artifactId means the jar filename
groupID means the "package" name.
package org.apache.hadoop.examples; import java.io.IOException; import java.util.StringTokenizer;
5. Select the archetype: maven-archetype-quickstart not using default maven-archetype.
相关文章推荐
- IntelliJ IDEA +Maven 创建Scala项目涉及的问题以及解决方案
- Using IntelliJ IDEA to develop Lift applications
- intellij idea maven 配置使用
- SSM框架整合(IntellIj IDEA+Maven+Spring+SpringMVC+MyBatis)之Spring Framework
- IntelliJ IDEA使用心得之Maven项目篇
- intellij-idea中maven编译项目出现内存溢出现象的解决方法intellij-idea中maven编译项目出现内存溢出现象的解决方法
- IntelliJ IDEA 设置默认 Maven 的两种方法
- IntelliJ IDEA + Spring Boot + maven + (单)多数据源
- IntelliJ IDEA的JDK环境配置和Maven依赖管理
- Intellij IDEA maven clean失败
- Ubuntu下安装javaIDE IntellliJIDEA9.0.3时提示ERROR: cannot start IntelliJ IDEA. No JDK found to run IDEA. Please validate either IDEA_J
- intellij idea15 Java web项目部署(非maven)
- intellij idea maven 配置使用
- SSM框架整合(IntelliJ IDEA + maven + Spring + SpringMVC + MyBatis)
- Intellij IDEA创建maven项目无java文件问题
- SSM框架整合(IntelliJ IDEA + maven + Spring + SpringMVC + MyBatis)
- 使用IntelliJ IDEA Community Edition 2017.3.3创建Maven项目
- Intellij Idea Maven工程编译时无法关联lib文件夹中的第三方jar包,运行时报错找不到类
- SSM框架整合(IntelliJ IDEA + maven + Spring + SpringMVC + MyBatis)
- IntelliJ IDEA+Apache Maven+Git/Github的集成使用