简体   繁体   中英

create project from maven2 repository

I want to create a maven2 project from artifacts in maven2 repository (POM and sources). Of course,I can create the directory structure, copy POM file and extract the sources manually. But I wonder if I can automate this task with 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.

Perhaps Maven archetype plugin can serve your need? It allows you to create an archetype, which can then be used to create a project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM