ChinaUnix.net
相关文章推荐:

maven 怎么导出

大家好: 我现在有一个需求是把一些class文件用maven打成jar包,但不知道怎么弄,麻烦大家多多帮忙啊 先谢了

by wadez - Java - 2007-02-01 20:40:23 阅读(4715) 回复(4)

相关讨论

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 阅读(923) 回复(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 阅读(1220) 回复(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 阅读(1376) 回复(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 阅读(1698) 回复(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 阅读(608) 回复(0)

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

by EricJava - Java文档中心 - 2006-11-10 14:27:04 阅读(840) 回复(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 阅读(963) 回复(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 阅读(952) 回复(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 阅读(1075) 回复(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 阅读(1485) 回复(0)