[英]create project from maven2 repository
I want to create a maven2 project from artifacts in maven2 repository (POM and sources). 我想从maven2存储库(POM和源代码)中的工件创建一个maven2项目。 Of course,I can create the directory structure, copy POM file and extract the sources manually.
当然,我可以创建目录结构,复制POM文件并手动提取源。 But I wonder if I can automate this task with maven.
但是我想知道是否可以使用Maven自动执行此任务。
Maybe dependency:unpack-dependencies can help you? 也许依赖性:解压依赖性可以帮助您? Note, there are parameters such as classifier , copyPom , outputDirectory , type , etc that can be used to configure the content of the output.
注意,有一些参数,例如classifier , copyPom , outputDirectory , type等,可用于配置输出的内容。
Perhaps Maven archetype plugin can serve your need? 也许Maven原型插件可以满足您的需求? It allows you to create an archetype, which can then be used to create a project.
它允许您创建原型,然后可以将其用于创建项目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.