Skip to content

xiangyuQi/Java-maven-10990

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

10990 漆翔宇
1.创建java项目 mvn archetype:generate -DgroupId=com.hand  -DartifactId=javaTest  -DarchetypeArtifactId=maven-archetype-quickstart  -DinteractiveMode=false -DarchetypeCatalog=local
2.编译 cd javaTest
       mvn compile
3.执行  mvn exec:java -Dexec.mainClass="com.hand.App" -Dexec.args="arg0 arg1 arg2"
<properties>  
	        <!-- 文件拷贝时的编码 -->  
	        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>  
	       <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>  
	        <!-- 编译时的编码 -->  
	        <maven.compiler.encoding>UTF-8</maven.compiler.encoding>  
    </properties>  

About

用maven构建的一个简单项目

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages