clojars.org snapshots

9 views
Skip to first unread message

Dimitry Gashinsky

unread,
Feb 1, 2010, 1:00:27 PM2/1/10
to incanter
Hi All,

I've setup a dependency on the incanter using maven and clojars repo.
I had to exclude gnujaxp, since it does not work with slf4j.

<dependency>
<groupId>incanter</groupId>
<artifactId>incanter</artifactId>
<version>1.0-master-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>incanter</groupId>
<artifactId>gnujaxp</artifactId>
</exclusion>
</exclusions>
</dependency>

It works great.

Now my real question is how often is snapshot gets updated. I am
reading all this great blogs about $data and $where functions and feel
left out, since they are not available in the snapshots.
Should I just start tracking the source from git and build my own snapshots?

Regards,
DiG

David Edgar Liebke

unread,
Feb 1, 2010, 1:33:25 PM2/1/10
to inca...@googlegroups.com
Yeah, I'm afraid Incanter's new modular structure is incompatible with
Clojars' deployment method.

I'm eager to find an alternative repository that has more complete
Maven support.

In the meantime, I suggest either grabbing the pre-built version from
http://incanter.org, or cloning the github repsitory, and using Maven
to install it in your local ~/.m2 repository (mvn install). Once it's
installed there, you can include any of the modules (incanter-app,
incanter-core, incanter-charts, etc.) as dependencies in a Leiningen
project.clj or Maven pom.xml file just like you can with the version
on Clojars.

David

Bradford Cross

unread,
Feb 1, 2010, 2:53:45 PM2/1/10
to inca...@googlegroups.com
On Mon, Feb 1, 2010 at 10:33 AM, David Edgar Liebke <lie...@gmail.com> wrote:
Yeah, I'm afraid Incanter's new modular structure is incompatible with
Clojars' deployment method.

I'm eager to find an alternative repository that has more complete
Maven support.

Rather than that, perhaps we could ping the clojars dude about multi-module support and help him implement it.  Has anyone done this yet?

FYI, I have been putting resources toward the same for leiningen (javac and multi-module).

If we can get lien + clojars able to support the incanter project, it is a pretty big win for incanter and the clojure community overall.
 

Alex Ott

unread,
Feb 1, 2010, 2:57:24 PM2/1/10
to inca...@googlegroups.com
Re

Bradford Cross at "Mon, 1 Feb 2010 11:53:45 -0800" wrote:
BC> On Mon, Feb 1, 2010 at 10:33 AM, David Edgar Liebke <lie...@gmail.com> wrote:

BC> Yeah, I'm afraid Incanter's new modular structure is incompatible with
BC> Clojars' deployment method.
BC>
BC> I'm eager to find an alternative repository that has more complete
BC> Maven support.

BC> Rather than that, perhaps we could ping the clojars dude about multi-module support and help him implement it.  Has anyone done
BC> this yet?

I asked them about deployment from maven, but got answer, that this is not
possible now....

BC> FYI, I have been putting resources toward the same for leiningen (javac and multi-module).

BC> If we can get lien + clojars able to support the incanter project, it is a pretty big win for incanter and the clojure community
BC> overall.

Is multi-project support ready for leiningen?

--
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/ http://alexott.net/
http://alexott-ru.blogspot.com/

Bradford Cross

unread,
Feb 1, 2010, 3:00:36 PM2/1/10
to inca...@googlegroups.com
On Mon, Feb 1, 2010 at 11:57 AM, Alex Ott <ale...@gmail.com> wrote:
Re

Bradford Cross  at "Mon, 1 Feb 2010 11:53:45 -0800" wrote:
 BC> On Mon, Feb 1, 2010 at 10:33 AM, David Edgar Liebke <lie...@gmail.com> wrote:

 BC>     Yeah, I'm afraid Incanter's new modular structure is incompatible with
 BC>     Clojars' deployment method.
 BC>
 BC>     I'm eager to find an alternative repository that has more complete
 BC>     Maven support.

 BC> Rather than that, perhaps we could ping the clojars dude about multi-module support and help him implement it.  Has anyone done
 BC> this yet?

I asked them about deployment from maven, but got answer, that this is not
possible now....

He didn't try to collaborate on implementing it or discuss where it is on the roadmap?
 

 BC> FYI, I have been putting resources toward the same for leiningen (javac and multi-module).

 BC> If we can get lien + clojars able to support the incanter project, it is a pretty big win for incanter and the clojure community
 BC> overall.

Is multi-project support ready for leiningen?

We (flightcaster) have javac working and pushed to a brach but that is waiting for Phil to merge to master. 

We had to postpone the multi-module for now because we are making a major push forward on research.
 

Alex Ott

unread,
Feb 1, 2010, 3:05:00 PM2/1/10
to inca...@googlegroups.com
Hello

Bradford Cross at "Mon, 1 Feb 2010 12:00:36 -0800" wrote:
BC> On Mon, Feb 1, 2010 at 11:57 AM, Alex Ott <ale...@gmail.com> wrote:
BC> I asked them about deployment from maven, but got answer, that this is not
BC> possible now....

BC> He didn't try to collaborate on implementing it or discuss where it is on the roadmap?

No, he just suggested to use scp to upload files

David Edgar Liebke

unread,
Feb 1, 2010, 3:11:34 PM2/1/10
to inca...@googlegroups.com
As Alex (Ott) said, he eventually got a hold of Alex (Osborne) to see
if Clojars could support the standard Maven deployment method. It
sounds as if Osborne had tried, but he wasn't able to get it to work,
hence the need to scp the pom and jar files to Clojars.

I'm strongly in favor of helping to improve Clojars and Leiningen, but
I'm also ready to move on with respect to Incanter's build system,
Maven works.

And if we can find a public repository, then most people will never
need to use Maven, they can just use Leiningen to build projects that
depend on Incanter.

That being said, I'll happily switch to lein if somebody creates a
project.clj file that works (as long as lein works properly on the Mac
again).

David

Ben Mabey

unread,
Feb 1, 2010, 3:32:27 PM2/1/10
to inca...@googlegroups.com
David Edgar Liebke wrote:

*snip*


>
> That being said, I'll happily switch to lein if somebody creates a
> project.clj file that works (as long as lein works properly on the Mac
> again).
>
> David
>
>

FYI, the OSx specific bug has been resolved and the stable version of
leinigen includes that patch. You no longer get the 'Cannot load
com.apple.laf.AquaLookAndFeel' error anymore when adding incanter as a dep.

-Ben

David Edgar Liebke

unread,
Feb 1, 2010, 3:34:47 PM2/1/10
to inca...@googlegroups.com
> FYI, the OSx specific bug has been resolved and the stable version of
> leinigen includes that patch.  You no longer get the 'Cannot load
> com.apple.laf.AquaLookAndFeel' error anymore when adding incanter as a dep.
>

Fantastic! Thanks for the info Ben, now I should be able to remove the
bright red warning messages on a couple of my blog posts.

David

Ben Mabey

unread,
Feb 1, 2010, 4:00:30 PM2/1/10
to inca...@googlegroups.com
Hmm.. Actually, I think I spoke a little too soon. :/ Looking at
leinigen's github issues it still seems to be open:
http://github.com/technomancy/leiningen/issues#issue/4

I forgot that I was using edge leiningen. Sorry for getting your hopes
up! However, Phil recently pushed out a RC for 1.1. The special
handling for OSx should be in the stable version shorty:
http://github.com/technomancy/leiningen/blob/master/src/leiningen/compile.clj#L118

-Ben

Bradford Cross

unread,
Feb 1, 2010, 5:57:34 PM2/1/10
to inca...@googlegroups.com
On Mon, Feb 1, 2010 at 12:11 PM, David Edgar Liebke <lie...@gmail.com> wrote:
As Alex (Ott) said, he eventually got a hold of Alex (Osborne) to see
if Clojars could support the standard Maven deployment method. It
sounds as if Osborne had tried, but he wasn't able to get it to work,
hence the need to scp the pom and jar files to Clojars.

I'm strongly in favor of helping to improve Clojars and Leiningen, but
I'm also ready to move on with respect to Incanter's build system,
Maven works.

And if we can find a public repository, then most people will never
need to use Maven, they can just use Leiningen to build projects that
depend on Incanter.

That being said, I'll happily switch to lein if somebody creates a
project.clj file that works (as long as lein works properly on the Mac
again).

Yea, I hear you - I've not been impressed with the progress of lein recently.  Just push to a real maven repo and be done with it for now. :-)
 

Alex Ott

unread,
Feb 2, 2010, 2:34:23 AM2/2/10
to inca...@googlegroups.com
Hello

Bradford Cross at "Mon, 1 Feb 2010 14:57:34 -0800" wrote:
BC> On Mon, Feb 1, 2010 at 12:11 PM, David Edgar Liebke <lie...@gmail.com> wrote:

BC> As Alex (Ott) said, he eventually got a hold of Alex (Osborne) to see
BC> if Clojars could support the standard Maven deployment method. It
BC> sounds as if Osborne had tried, but he wasn't able to get it to work,
BC> hence the need to scp the pom and jar files to Clojars.
BC>
BC> I'm strongly in favor of helping to improve Clojars and Leiningen, but
BC> I'm also ready to move on with respect to Incanter's build system,
BC> Maven works.
BC>
BC> And if we can find a public repository, then most people will never
BC> need to use Maven, they can just use Leiningen to build projects that
BC> depend on Incanter.

BC> That being said, I'll happily switch to lein if somebody creates a
BC> project.clj file that works (as long as lein works properly on the Mac
BC> again).

BC> Yea, I hear you - I've not been impressed with the progress of lein
BC> recently. Just push to a real maven repo and be done with it for now. :-)

We can use following repository hosting
http://nexus.sonatype.org/oss-repository-hosting.html, for example?

BC> David

BC> On Mon, Feb 1, 2010 at 2:53 PM, Bradford Cross

--

With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/ http://alexott.net

http://alexott-ru.blogspot.com/

David Edgar Liebke

unread,
Feb 2, 2010, 11:05:08 AM2/2/10
to inca...@googlegroups.com
> We can use following repository hosting
> http://nexus.sonatype.org/oss-repository-hosting.html, for example?
>

Alright, I've signed up and submitted a ticket to create a repository
for Incanter on http://oss.sonatype.org. We'll see how it goes.

Alex, I suspect I'll need your expertise with the maven-release plugin
in order to deploy to the repository, once it has been created.

David

Alex Ott

unread,
Feb 2, 2010, 11:08:37 AM2/2/10
to inca...@googlegroups.com
Hello

David Edgar Liebke at "Tue, 2 Feb 2010 11:05:08 -0500" wrote:
>> We can use following repository hosting
>> http://nexus.sonatype.org/oss-repository-hosting.html, for example?
>>

DEL> Alright, I've signed up and submitted a ticket to create a repository
DEL> for Incanter on http://oss.sonatype.org. We'll see how it goes.

DEL> Alex, I suspect I'll need your expertise with the maven-release plugin
DEL> in order to deploy to the repository, once it has been created.

Yep, I will provide corresponding changes into pom.xml for uploading jars

Reply all
Reply to author
Forward
0 new messages