通过 Apache Ivy 从 maven 原型创建项目 [英] Create project from maven archetype via Apache Ivy

查看:23
本文介绍了通过 Apache Ivy 从 maven 原型创建项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果您想使用 Maven 原型创建项目,请键入

If you want to create project with a Maven archetype you type

mvn archetype:generate -DarchetypeGroupId=... -DarchetypeArtifactId=... \
                       -DarchetypeVersion=... -DgroupId=... -DartifactId=... \
                       -Dversion=...

如果您使用 Ivy,这条线会如何变化?

How this line would change if you are using Ivy?

推荐答案

ivy 不是 maven 的替代品,它是 ant 的依赖管理器.如果你想使用原型常春藤将没有任何帮助

ivy is not a drop in replacement for maven, it's a dependency manager for ant. If you want to use archetypes ivy won't be of any help

这篇关于通过 Apache Ivy 从 maven 原型创建项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆