gitzip icon indicating copy to clipboard operation
gitzip copied to clipboard

Question : is it possible to use with **wagon-maven-plugin** to download project source

Open mtbadi39 opened this issue 7 years ago • 3 comments

mtbadi39 avatar Jan 01 '18 21:01 mtbadi39

Could you tell some details about it? or how do you want to use with the plugin to download? or any scenarios?

KinoLien avatar Jan 02 '18 06:01 KinoLien

Hi @KinoLien and thanks for the replay In my java project (see : swing-effects), am using maven to manage the project's build process. Maven is - at its heart - a plugin execution framework; all the work is done by plugins. So, in this project, the wagon-maven-plugin is used to download source files from the remote Github repository during the build prcess. To ensure that the source are the latest, am always using the master branch (~/archive/master.zip) But the remote repository contains also other files/directories wich we dont need them ! The question is : is it possible to use gitzip in conjenction with wagon-maven-plugin to download only the content of a sub-directory (../src).

Thanks again.

mtbadi39 avatar Jan 02 '18 11:01 mtbadi39

Thank you for the reply.

Frankly, I don't know how to response the question, cause i'm not a java developer and not skilled for maven framework.

So i was thinking, if you can get github source through shell script during build process, maybe SVN is the solution. (refer this)

KinoLien avatar Jan 04 '18 06:01 KinoLien