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:
<build>
...
<plugins>
...
<plugin>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>1.3.2</version>
</plugin>
...
</plugins>
</build>
Incanter is divided into several different modules, each with its own
pom.xml. Some of them include the Clojure plugin, some do not
(presumably they don't need it).
Incanter's top-level pom.xml does not include the Clojure plugin, so
clojure:* goals will not work in the top-level project directory. In
some of the module directories, such as "modules/incanter-app", the
clojure:* goals should work.
-SS
On Mar 21, 3:04 pm, alux <[email protected]> wrote:
> 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 schrieb:
>
>
>
> > On Mar 20, 7:56 am, alux <[email protected]> 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 to be out-of-date for Incanter's current
> > source repository. The Clojure Maven plugin is not specified as a
> > plugin by the top-level pom.xml. This may be a bug to take up with
> > the Incanter developers.
>
> > -SS
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
To unsubscribe from this group, send email to
clojure+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.