whyrusleeping / gx

A package management tool
MIT License
1.88k stars 110 forks source link

gx and Maven #110

Open jefft0 opened 8 years ago

jefft0 commented 8 years ago

I have a Scala project that uses Maven to compile. I'd like the project code to "live" in IPFS. This is a very general question. Have you thought about how gx and Maven would work together? For example, maybe there could there be a Maven extension that will invoke gx to fetch the dependencies when I run

mvn compile
whyrusleeping commented 7 years ago

@jefft0 Sorry for taking so long to respond (trying to get through the huge issue backlog).

I havent personally had much experience with maven so i'm not sure how that side of things could work, but implementing a gx-java or gx-maven subtool should be pretty easy to do.

Take a look at the gx sample hooks here: https://github.com/whyrusleeping/gx/blob/master/examples/gx-sample