Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mtbadi39 opened this issue Jan 1, 2018 · 3 comments

Comments

@mtbadi39
Copy link

mtbadi39 commented Jan 1, 2018

No description provided.

@KinoLien
Copy link
Owner

KinoLien commented Jan 2, 2018

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

@mtbadi39
Copy link
Author

mtbadi39 commented Jan 2, 2018

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.

@KinoLien
Copy link
Owner

KinoLien commented Jan 4, 2018

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants