软件工程技术
2016-07-14 07:33
435 查看
在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插件。
一、构建自动化
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插件。
相关文章推荐
- Enterprise Library for .NET Framework 2.0缓存使用实例
- C# Entity Framework中的IQueryable和IQueryProvider详解
- 由vbs sort引发.NET Framework之间的关系说明
- C#修改IIS站点framework版本号的方法
- C#难点逐个击破(6):C#数据类型与.net framework数据类型
- zend framework框架中url大小写问题解决方法
- YII Framework框架教程之安全方案详解
- Yii PHP Framework实用入门教程(详细介绍)
- 微软NET Framework 3.5 Beta 1 发布 提供下载
- 使用Entity Framework(4.3.1版本)遇到的问题整理
- 解决了Ajax、MySQL 和 Zend Framework 的乱码问题
- WINDOWS + WAMP + Zend Framework 配置步骤分享
- zend framework文件上传功能实例代码
- 工厂模式在Zend Framework中应用介绍
- .NET Framework SQL Server 数据提供程序连接池
- Zend Framework教程之视图组件Zend_View用法详解
- Zend Framework教程之配置文件application.ini解析
- Zend Framework教程之MVC框架的Controller用法分析
- Zend Framework教程之Zend_Db_Table表关联实例详解
- Zend Framework教程之Loader以及PluginLoader用法详解