ChinaUnix.net
相关文章推荐:

maven web

maven2 学习笔记。 创建快速启动项目 mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app 编译 mvn compile 测试 mvn test 如果只是编译测试源文件,而不启动测试: mvn test-compile 打包 mvn package 安装到本地Repository mvn install maven会自动查找测试文件,寻找的模式为: 默认包括的测试文件有: **/*Test.java **/Test*.java **/*TestCase.java 默认排除的测试文件有: **/Abstract*Test.jav...

by PninoH - Java文档中心 - 2007-06-12 18:58:23 阅读(474) 回复(0)

相关讨论

maven 是ant 以外的另外一种高级的构造工具。与Ant 不同的是,它内置了一套完整的构建生命周期,并且有一套严格的依赖管理机制。 从 Apache maven 网站上下载最的maven,解压到硬盘(这里为/opt/build/maven)。 指定环境变量到maven 安装位置。 [hantsy@localhost ~]$export M2_HOME=/opt/build/maven 把$M2_HOME/bin加入到系统的path中。 [hantsy@localhost ~]$export PATH=$PATH:$M2_HOME/bin 你也可以把这两句写进用户的配置文件...

by hantsy - Java文档中心 - 2008-09-15 21:08:35 阅读(834) 回复(0)

mvn archetype:generate -DgroupId=demo.struts -DartifactId=demo-struts-coc -DarchetypeArtifactId=maven-archetype-webapp |- POM.xml |- src |- main |- resources |- webapp |- index.jsp |- web-INF |- web.xml archetype:create会加载到.m2 repository中. 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/63150/sh...

by travelsky2008 - Java文档中心 - 2008-08-27 23:27:44 阅读(894) 回复(0)

初次接触maven,遇到一个问题,请大家帮忙看看。 我在windows xp下安装完maven2,配置好环境变量之后,根据网上的资料试着学习,当cmd下 Mvn archetype:create –DgroupID=testapp –DartifactId=testapp 时: 报这样的错: the plugin 'org.apache.maven.plugins:maven-jar-plugin' does not exist or no valid version could be found 上网差了一下,知道是下不到相应依赖jar包的原因,可以改一下setting.xml来解决,但是...

by oweny - Java - 2008-04-03 17:49:42 阅读(1340) 回复(1)

struts当前有三个可用的骨架,如下: struts2-archetype-starter Features Sitemesh integrationAction example (both instantiated through Spring and Struts itself)Validation example (action and action-alias level)Conversion example (global and action level)Resource bundle (both global, action and package level) struts2-archetype-portlet Features View, Edit, and Hel...

by Chen@Heng - Java文档中心 - 2007-11-12 23:31:40 阅读(363) 回复(0)

maven 将作为一个普通的构建系统,被人们重新认识,并且它将超越 Java技术。本文不打算成为一篇 maven 教程,而是将 maven 与其他技术进行比较,让您洞察 maven 与 Eclipse 相适应的地方,以及如何使这些工具相互协作。      在过去几年中,maven 已经不仅仅是 Java 世界的一个时髦话题。自 2001 年起,maven 已经成为构建工具领域的先驱。最近几年,人们常拿它与 Ant 比较。因为 maven 与 Ant 有一些显而易见的相似之处,所以...

by EricJava - Java文档中心 - 2006-11-10 14:27:04 阅读(515) 回复(0)

mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate -Dversion =3.3.1 -Dpackaging=jar -Dfile=E:\java_third\hibernate-distribution-3.3.2.GA\hibe rnate3.jar 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/63150/showart_2037477.html

by travelsky2008 - Java文档中心 - 2009-08-26 13:27:44 阅读(648) 回复(0)

vn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate -Dversion =3.3.1 -Dpackaging=jar -Dfile=E:\java_third\hibernate-distribution-3.3.2.GA\hibe rnate3.jar 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/63150/showart_2037476.html

by travelsky2008 - Java文档中心 - 2009-08-26 13:27:40 阅读(654) 回复(0)

1。maven是作什么的? maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), maven can manage a project's build, reporting and documentation from a central piece of information. 2。 POM的内容: 4.0.0 com.mycompany.app my-app jar 1.0-SNAPSHOT my-app http://maven.apache.org junit junit ...

by travelsky2008 - Java文档中心 - 2008-07-21 22:05:44 阅读(704) 回复(0)

外资公司正式员工职位: Qualifications: 1. Requires BS or higher degree of Computer Engineering or related fields and 4+ years experience as a software engineer. Requirements: 1. Solid experiences with J2EE technology, including but not limited to EJBs, JMS, Servlet, JSP. Knowledge and experience on web Services are also required. 2. Hands-on experience with open source tools/frameworks, i...

by alys_com - Web开发 - 2007-08-24 23:23:15 阅读(1190) 回复(0)

1)从http://maven.apache.org/download.html网站上下载maven-2.0.x.tar.gz包。 进入你下载的目录里,解压缩。在linux下,用tar来解压缩。如下: tar zxvf maven-2.0.tar.gz 或者 unzip maven-2.0.zip 2) "maven-2.0.x"的目录将被创建 3) 把bin目录添加到你的系统路径里面,(假设解压目录是/usr/local)如下: export PATH=/usr/local/maven-2.0.x/bin:$PATH or set PATH="c:\program files\maven-2.0.x\bin";%PATH% 4)确定...

by jim153 - Java文档中心 - 2007-06-18 10:21:49 阅读(410) 回复(0)