Thank you Stuart,
this closes some of my thinking loops.
Greetings from Europe, alux
Stuart Sierra schrieb:
> Maven has a default search path, but it only works for the standard
> plugins distributed by Apache.
>
> To use the Clojure plugin (any of the clojure:* commands) the pom.xml
> must cont
Maven has a default search path, but it only works for the standard
plugins distributed by Apache.
To use the Clojure plugin (any of the clojure:* commands) the pom.xml
must contain a section like this:
...
...
com.theoryinpractise
clojure-maven-plugin
Hello Stuart,
yes, thats not in. I'm not enough into maven to know where the plugins
have to be specified. I had the hope that maven searches its
repository, when I call a specific goal of the form xxx:yyy - so this
hope was in vain?
Thank you for the comment.
Regards, alux
Stuart Sierra schri
On Mar 20, 7:56 am, alux wrote:
> mvn clojure:repl
>
> But that doesnt work.
>
> [ERROR] BUILD ERROR
> [INFO]
>
> [INFO] The plugin 'org.apache.maven.plugins:maven-clojure-plugin' does
> not exist
Those instructions appear t
Thank you Mark,
now I get two new problems.
(I'm still in the testproject, not in incanter.)
clojure:repl
The REPL starts. Now when I type something in, it is not echoed until
I hit enter. So I have to use the REPL blind. Difficult.
clojure:swank
This has already been described as a windows prob
The plugin is in central, tho you need to declare it in your project as
outlined in the README:
com.theoryinpractise
clojure-maven-plugin
1.3.2
--
Pull me down under...
On Sun, Mar 21, 2010 at 4:55 AM, alux wrote:
> Well, so I hope there is THE plugin, and not some plugin
>
> I'm just go through the Incanter getting-started
> http://data-sorcery.org/2009/12/20/getting-started/
>
> There I find, that I can use
>
> mvn clojure:repl
>
> I dont know where to search for a solution, so I ask here.
>
>
There's a pom.xml that works at
http://hohonuuli.blogspot.com/2010/01/m
Hi Mark,
sound plausible. But what should I do now? If there is any way to tell
maven what it should use, I'd be happy. Preferred in settings.xml, so
i can use it in every project.
Thank you, alux
Mark Derricutt schrieb:
> If this was a fresh project with no plugins defined, maven would look in
If this was a fresh project with no plugins defined, maven would look in the
default group, for either clojure-maven-plugin or maven-clojure-plugin.
--
Pull me down under...
On Sun, Mar 21, 2010 at 7:09 AM, liebke wrote:
> The Clojure Maven plugin should be called clojure-maven-plugin, not
> m
But even if I delete it, and do
mvn -o clojure:swank
I get the same error.
Black maven magic. ;-(
Regards, a.
alux schrieb:
> deleting it doesnt help, it seems to be reloaded when I run
> clojure:swank
>
> a.
>
>
>
> alux schrieb:
> > So, I found a file:
> >
> > %repo%\org\apache\maven\plugins
deleting it doesnt help, it seems to be reloaded when I run
clojure:swank
a.
alux schrieb:
> So, I found a file:
>
> %repo%\org\apache\maven\plugins\maven-clojure-plugin\maven-metadata-
> central.xml
>
> containing
>
>
>
> org.apache.maven.plugins
> maven-clojure-plugin
>
>
> No, I dont
So, I found a file:
%repo%\org\apache\maven\plugins\maven-clojure-plugin\maven-metadata-
central.xml
containing
org.apache.maven.plugins
maven-clojure-plugin
No, I dont know where it comes from.
a.
alux schrieb:
> Hm.
>
> It cant be an incanter problem. In an empty directory, I get:
When I'm having inexplicable Maven problems, I rm ~/.m2/* and then mvn
install again.
Good luck,
David
On Mar 20, 2:27 pm, alux wrote:
> Hm.
>
> It cant be an incanter problem. In an empty directory, I get:
>
> D:\projekts\test>mvn clojure:swank
> [INFO] Scanning for projects...
> [INFO] Search
Hm.
It cant be an incanter problem. In an empty directory, I get:
D:\projekts\test>mvn clojure:swank
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'clojure'.
[INFO]
[ERROR] BUILD ERROR
[
Um, thats been copy and paste, yes.
(side remark, I read on about the plugin, and now I installed the
needed swank file too)
Thanks and greetings, alux
liebke schrieb:
> Ah, you're right, only the bin/swank script calls maven the clj and
> clj.bat scripts are stand-alone, I thought I had changed
Ah, you're right, only the bin/swank script calls maven the clj and
clj.bat scripts are stand-alone, I thought I had changed them (but
it's better that they're stand-alone).
Was the following the actual error?
> [ERROR] BUILD ERROR
> [INFO]
> --
Ah, hello David ;-)
Thanks for the quick answer.
The script, at least the windows one (and as far as I understand the
linux one too) is standalone, without maven. It worked, but I was
stuck some steps later when I tried to start the swank server - there
is a linux script only.
Trying to start sw
There are two solutions to your problem, 1) use the bin/clj script
which calls mvn clojure:repl from the modules/incanter-app directory,
or 2) just cd to the modules/incanter-app directory and then run mvn
clojure:repl your self.
That was described in the post you linked to, but it's easy to
miss.
Hm. Wer lesen kann, ist klar im Vorteil ;-)
Well, so I hope there is THE plugin, and not some plugins, and try the
first google shows:
git clone git://github.com/talios/clojure-maven-plugin
cd clojure-maven-plugin
mvn install
back to incanter, try again. Still the same. Sad, I had hope thats
Hi,
On Sat, Mar 20, 2010 at 04:56:39AM -0700, alux wrote:
> [INFO] The plugin 'org.apache.maven.plugins:maven-clojure-plugin' does
> not exist
> or no valid version could be found
>
> I dont know where to search for a solution, so I ask here.
Just guessing: you don't have clojure-maven plugin
20 matches
Mail list logo