Processing's (processing.org) basic library jars are not on clojars or maven. I have a project going with clojure and would like to upload the jars to clojars under my username. It was kind of tedious to get them into my .m2 folder one a time. I will be need to be able to access them via clojars so that others can help me with my project. How can I upload these dependencies?
lein deploy clojars
doesn't upload the dependencies - all the processing library jars.
My processing localrepo is also on github stored here:
https://github.com/originalsurfmex/originalsurfmex_m2/tree/master/repository/processing
Thanks for your help and links so far. This is as far as I have gotten:
I have had some success - minus the ability to sign jars and poms.
I gotta admit though its kind of a pain. Here is the process. There must be an automated way to do this right?
Go to your .m2/repository/group/library/version/
folder
md5sum lib.jar > lib.jar.md5
sha1sum lib.jar > lib.jar.sha1
<groupId>libgroup</groupId>
to
<groupId>org.clojars.username.libgroup</groupId>
<description>processing-libs</description>
<url>http://www.processing.org</url>
<scm>
<tag>something relevant?</tag>
<url>somewhere relevant?</url>
</scm>
<licenses>
<license>
<name/>
<url/>
<distribution/>
</license>
</licenses>
<developers>
<developer>
<id/>
<name/>
<email/>
</developer>
</developers>
<repositories>
<repository>
<id>clojars.org</id>
<url>http://clojars.org/repo/</url>
</repository>
</repositories>
md5sum lib.pom > lib.pom.md5
sha1sum lib.pom > lib.pom.sha1
scp lib* clojars@clojars.org:
Here they are in github (the md5 and sha1 files not included of course):
https://github.com/originalsurfmex/originalsurfmex_m2/tree/master/repository/processing/core/2.1
Here they are in clojars:
https://clojars.org/org.clojars.originalsurfmex.processing/core
https://clojars.org/org.clojars.originalsurfmex.processing/gluegen-rt
Before I go ahead and add all of these libs I have two concerns:
I have polluted clojars.org my mistakes --> https://clojars.org/users/originalsurfmex
Is it gonna be a waste or a deal breaker that my jars and poms aren't signed? I can't seem to figure out how to sign them. I have SSH and PGP setup on clojar.org and scp runs just fine.