Request: max.jar and jitter.jar into central Maven repository

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 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.)

Attachments:

This 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.

I’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.

Yes, 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!

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.

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.

I 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.