Request: max.jar and jitter.jar into central Maven repository
Sep 08 2012 | 9:09 pm
Is there any chance that Cycling '74 can push max.jar and jitter.jar into the central Maven repo at some stage?
I want to push a bunch of libraries there - all my MXJ code now builds via Maven - but I can't do that because my base libraries depend on (at present, local repo) max.jar and jitter.jar artifacts. The best solution, as far as I can tell, would be for Cycling to push sourceless artifacts, as described under the "Sources and Javadoc" boxout here:
I could do something similar, but I don't control com.cycling74 as a potential group ID.
- Sep 12 2012 | 6:46 pmGreat idea, Nick: Obviously, this would greatly simplify sharing of (hopefully larger and more complex) java projects by allowing Maven to manage dependencies.
- Sep 13 2012 | 11:59 amI enclose a screen-shot of how we're doing in the large-and-complex stakes at the moment. Needless to say, this is all Maven-controlled, but max.jar and jitter.jar have to be planted into the repo. manually. (We also have Maven tasks for dumping all dependencies into one directory, for max.java.config.txt.)As a complete aside, we're also generating our max.java.config.txt files from a Clojure DSL: https://github.com/cassiel/topherizer
- Sep 13 2012 | 3:25 pmThis would be really helpful. I am preparing documentation to release a bunch of Java code I've written and most if it is going to go into the Maven central repository and it would be nice to be able to put my mxj stuff in there too.
- Sep 16 2012 | 1:57 pmI'd like to ping this request. I'm starting to roll stuff into Travis CI (http://travis-ci.org/) for continuous testing, but I can't do that for any of my Max projects because max.jar and jitter.jar can't be fetched via Maven.
- Sep 17 2012 | 1:50 pmYes, this is very useful, and not too hard to do...a short look at the competing java classpaths in this note (I'm impressed/depressed by both!) will show you the advantage of a dependency/'library' manager, especially when we use areas like the new JVM based languages (e.g.: Clojure), and neat test/verification frameworks (e.g.: jmock) , etc., etc., etc.... Maven is the de-facto standard, and may other dev tools in java use it's repository. Let's go there... soon!
- Sep 17 2012 | 4:28 pmI just opened Cycling Java forum to check whether this question is already asked. Yes, it is. I would like to join this request for the benefit and happiness of all java/scala Max developers )
- Sep 18 2012 | 3:50 pm*PING* ... is this not going to happen? Waiting for research? Java dev to get back from vacation/other contract? Inquiring minds, etc.etc... Topher? Ben? Anyone? have mxj join the ranks of the *real* java libs, ok? ;-)... (just kiddin')...(but not...) charlieb
- Sep 20 2012 | 2:41 pmYes, Cycling '74 please push max.jar and jitter.jar into the central Maven repo ! S'il vous plait!
- Sep 20 2012 | 8:46 pmThanks for following up on this. Just a quick reply for the moment, that we are interested in solving this for all of you advanced Java in Max developers, but can't make a time commitment on it.
- Jan 05 2014 | 7:33 pmJust a quick reply for the moment, that we are interested in solving this for all of you advanced Java in Max developers, but can’t make a time commitment on it.Hi Joshua (or anyone else who wants to take a look), I hope you are well. Any updates on this? What exactly do you need to solve? If it is a matter of resources to prepare and submit the sourceless jars I would be happy to help out.I'm not trying to nag, but this would be really useful to me. I am working on preparing a bunch of my Max/mxj work for release---some of my jars have a number of dependencies to specific versions of other jars and this would be a big help to anyone that wanted to use my code.I have been making double-clickable BASH scripts to help composers and other users of my code install and configure their Max environment to run my code. These scripts could be simplified if my code and its dependancies were in Maven Central.Thanks!
- Jan 06 2014 | 10:15 pmI guess - giving this a little bit of thought - it would be necessary to do a bit of refactoring of the Cycling 74 namespace to make this work optimally. What's needed in the public repos is enough code (interfaces and implementations) to build up unit tests (including mocks and proxies) in order to test from the ground up in Travis in the absence of Max itself. Since max.jar contains JNI links into Max, it's not really a dependency in the usual sense.Similarly, having max.jar as a dependency means that it's not possible to use Maven (or Leiningen or whatever) to build a usable dependency list since max.jar is already provided by Max. Strictly speaking from the Maven perspective, I suspect this shouldn't be so: MXJ packages should perhaps be responsible for wheeling in max[-x.y.z].jar themselves.I'd like to extend to be able to fetch Maven dependencies; as things stand, it would make sense to have a max.jar dependency to interfaces and proxies, and then ignore this when assembling Java libraries for running in Max itself.
- Jan 06 2014 | 10:16 pm
- Jan 07 2014 | 6:02 amYay Nick! Your post analyzing the issue made a lightbulb go off in my head: I think I actually may have already written a library that solves all the issues you present.I will sleep on this, look at my code tomorrow, and follow up. We may be much closer than we thought!