
maven
文章平均质量分 77
lingqi1818
这个作者很懒,什么都没留下…
展开
-
配置maven
maven的配置有3个阶段: 1.Project - most static configuration occurs in pom.xml 2.Installation - this is configuration added once for a Maven installation 3.User - 这个配置需要制定一个特殊用户。 注意:the installation and use原创 2014-06-16 09:41:56 · 385 阅读 · 0 评论 -
使用maven的好处
John Casey standardization reuse consistency wrt build output dependency management scalability (lower level of additional info/code to add a new step to the build process) Ashley williams Depend原创 2014-06-16 09:42:06 · 2172 阅读 · 1 评论 -
创建多个工程
How do I build more than one project at once? The concept of dealing with multiple modules is built in to Maven 2.0. In this section, we will show how to build the WAR above, and include the previous原创 2014-06-16 09:42:16 · 364 阅读 · 0 评论 -
编译期使用MAVEN
To reference a property defined in an external file, all you need to do is add a reference to this external file in your pom.xml. First, let's create our external properties file and call it src/main/原创 2014-06-16 09:42:11 · 364 阅读 · 0 评论 -
maven安装方法
安装方法非常简单,只要添加相应的环境变量即可。 windows下安装: PATH变量加上%M2_HOME%\bin,M2_HOME为你的maven安装目录 LINUX下安装: export M2=$M2_HOME/bin原创 2014-06-16 09:41:51 · 391 阅读 · 0 评论 -
maven开篇
今天开始记录学习MAVEN的笔记,当然这里的maven指的是maven2。 首先介绍什么是maven? 根据官网介绍,maven在犹太词里的意思是知识的仓库,这个创意源于Jakarta Turbine这个项目,由于多个project都需要用ant来bulid,并且把jar包check into到CVS,他们需要有一个标准的方法去构建,编译,组合,发布project,并且能共享JARs。maven原创 2014-06-16 09:41:45 · 431 阅读 · 0 评论 -
maven快速入门
查看版本信息: mvn --version 显示如下则安装成功 Maven version: 2.0.8 Java version: 1.5.0_12 OS name: "windows 2003" version: "5.2" arch: "x86" Family: "windows" 创建第一个project mvn archetype:create -DgroupId=com原创 2014-06-16 09:42:01 · 439 阅读 · 0 评论