github创建maven项目过程
Posted 嘉言懿行
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了github创建maven项目过程相关的知识,希望对你有一定的参考价值。
笔者运行环境:
1. windows 10
2. cygwin,安装openssh
3. git版本 2.11.0
前置操作,如果已经配置可以略过
1. cygwin下执行 ssh-keygen -t rsa 后一路回车
2. cat ~/.ssh/id_rsa.pub 得到公钥key
3. github登录后,SSH key中添加公钥
创建步骤
1. 登录github,创建一个新的repository:test
2. git clone到本地
3. cd test && mvn archetype:generate -DgroupId=com.hangzhou.hefei -DartifactId=test -DarchetypeArtifactId=^Cven-archetype-quickstart -DinactiveMode=false && mv test/* ./ && rm -rf test
4. mvn idea:idea 或者 mvn eclipse:eclipse 创建ide可以识别的工程
完成。
以上是关于github创建maven项目过程的主要内容,如果未能解决你的问题,请参考以下文章
(最新)开源Android github项目到Maven上详细过程
(最新)开源Android github项目到Maven上详细过程
(最新)开源Android github项目到Maven上详细过程