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
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
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.
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/
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?
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
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
*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
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
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
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).
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
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
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