首页 > 其他 > 详细

软件工程技术

时间:2016-07-14 16:00:19      阅读:221      评论:0      收藏:0      [点我收藏+]

在Maven项目的context来理解软件工程技术,并实现和整合他们。


一、构建自动化
1.创建一个新的项目:
mvn archetype:generate -DgroupId=net.srirangan.packt.maven -DartifactId=MySampleApp
命令mvn install可以包含build生命周期的大部分内容,包括编译、测试、打包和安装artifact到local repository。

构建生命周期的阶段:
> Validate: Validates that all project information is available and correct
> Compile: Compiles the source code
> Test: Runs unit tests within a suitable framework
> Package: Packages the compiled code in its distribution format
> Integration-test: Processes the package in the integration test environment
> Verify: Runs checks to verify if the package is valid
> Install: Installs the package in the local repository
> Deploy: Installs the final package in a remote repository

 构建生命周期的每一个阶段,都是一个Maven插件。

本文出自 “雪花” 博客,请务必保留此出处http://6216083.blog.51cto.com/6206083/1826236

软件工程技术

原文:http://6216083.blog.51cto.com/6206083/1826236

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!