maven2

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

maven2[2010-12-2320:04:48]maven2maven2maven20.0.1©2009Lingo2009-04-2815:50:31I.1.Maven21.1.Maven21.2.2.Maven2HelloWorld2.1.2.2.Helloworld.java2.3.Maven22.4.jar2.5.3.Maven2web3.1.war3.2.web.xmljsp3.3.4.eclipse4.1.4.2.eclipse5.Maven2OA6.II.7.POM7.1.7.2.maven2[2010-12-2320:04:48]7.3.7.4.III.IV.V.A.A.1.Maven2A.2.Maven2B.[2010-12-2320:04:55]Maven2Maven2,,OA,,Maven2,Apache(TLP,TopLevelProject)“”Maven2,,Maven2,Maven2,Maven2,jar,M,jar,kMaven2,,,,,,,,,,,,I“”Maven2,Maven2II“”Maven2,,,III“”,,IV“”,V“”,OA[2010-12-2320:04:55],,,,::xyz20003@gmail.comQQ:3038490,,,,Maven2OA,://:=maven2-sample.rar&can=2&q=#makechangesOA,maven2I.I.[2010-12-2320:04:56]I.I.Maven2,Java,JDK,JavaMaven2,,1Maven21Maven2[2010-12-2320:04:58]1Maven2I.1Maven2,Maven2Maven2,,Maven2,,,,Maven2JDK,JAVA_HOME,Maven21.1.Maven2Maven2(JDK),Maven2:://labs.xiaonei.com/apache-mirror/maven/binaries/apache-maven-2.1.0-bin.zip,2009-3-21,apache-maven-2.1.0D:/apps/1.1.,()---1Maven2[2010-12-2320:04:58]1.2.1.3.%M2_HOME%\binPATH1.4.PATH,cmd,mvn-v,Maven21Maven2[2010-12-2320:04:58]1.5.Maven21.2.lingo-sample/ch01/,mvnpackage,,CDocumentsandSettings\Administrator,Dapps\lingo-sample\ch01D:,,cdapps\lingo-sample\ch01D:cdapps\lingo-sample\ch01,Dapps\lingo-sample\ch011Maven2[2010-12-2320:04:58]1.6.ch01mvnpackage,,Maven2package,targetch01-1.0.warmvnpackage,Maven2package1Maven2[2010-12-2320:04:58]1.7.mvnpackageMaven2,Maven2,,,,,Maven2.m2/repository/,~/.m2/repository/,,1.8.repo~/.m2/repository/,2.90M1Maven2[2010-12-2320:04:58]1.9.repoMaven2,://[2010-12-2320:05:00]2Maven2HelloWorldI.2Maven2HelloWorldMaven2HelloworldMaven2,Maven2,,mvnpackage,jar,Ready?Let'sGo.2.1.+ch02/+src/+main/+java/+com/+family168/+maven2book/+ch02/*Helloworld.java*pom.xml,ch02srcpom.xmlsrc,sourcepom.xmlMaven2,,javasrc/main/java/,Maven2javaclass[1]src/main/java/,com/family168/maven2book/ch02/,javaHelloworld.javapackage2.2.Helloworld.javasrc/main/java/com/family168/maven2book/ch02/Helloworld.java:packagecom.family168.maven2book.ch02;publicclassHelloworld{publicstaticvoidmain(String[]args){System.out.println(HelloWorld.);System.out.println(Welcometo);}}java,main(),javaclass,classjar,jarHelloworld.class2.3.Maven22Maven2HelloWorld[2010-12-2320:05:00]lingo-sample/ch02/,mvnpackageD:\svn\docbooks\projects\maven2\maven2\lingo-sample\ch02mvnpackage[INFO]Scanningforprojects...[INFO]------------------------------------------------------------------------[INFO]Buildingchapter02[INFO]task-segment:[package][INFO]------------------------------------------------------------------------Downloading:file://D:\.m2\repository2\/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.pom8Kdownloaded(maven-jar-plugin-2.2.pom)Downloading:file://D:\.m2\repository2\/org/apache/maven/plugins/maven-plugins/10/maven-plugins-10.pom7Kdownloaded(maven-plugins-10.pom)Downloading:file://D:\.m2\repository2\/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.jar26Kdownloaded(maven-jar-plugin-2.2.jar)[INFO][resources:resources][WARNING]Usingplatformencoding(GBKactually)tocopyfilteredresources,i.e.buildisplatformdependent![INFO]skipnonexistingresourceDirectoryD:\svn\docbooks\projects\maven2\maven2\lingo-sample\ch02\src\main\resources[INFO][compiler:compile][INFO]Compiling1sourcefiletoD:\svn\docbooks\projects\maven2\maven2\lingo-sample\ch02\target\classes[INFO][resources:testResources][WARNING]Usingplatformencoding(GBKactually)tocopyfilteredresources,i.e.buildisplatformdependent![INFO]skipnonexistingresourceDirectoryD:\svn\docbooks\projects\maven2\maven2\lingo-sample\ch02\src\test\resources[INFO][compiler:testCompile][INFO]Nosourcestocompile[INFO][surefire:test][INFO]Noteststorun.Downloading:file://D:\.m2\repository2\/org/apache/maven/maven-project/2.0.7/maven-project-2.0.7.pom2Kdownloaded(maven-project-2.0.7.pom)Downloading:file://D:\.m2\repository2\/org/apache/maven/maven/2.0.7/maven-2.0.7.pom10Kdownloaded(maven-2.0.7.pom)Downloading:file://D:\.m2\repository2\/org/apache/maven/ma

1 / 38
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功