Create project from maven archetype via Apache Ivy

馋奶兔 提交于 2020-01-06 04:57:09

问题


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

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

How this line would change if you are using Ivy?


回答1:


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




回答2:


Since Ant + Ivy is all about configuration and flexibility, since this combo doesn't rely on conventions, since it doesn't suggest any methodology or structure, what should a "default" Ant + Ivy project looks like? Does this question even make sense?

You'll find some template for an empty project (like this ivy-template) though.



来源:https://stackoverflow.com/questions/3423077/create-project-from-maven-archetype-via-apache-ivy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!