[MacPorts] #30860: leiningen not compatible with maven3 port
MacPorts
noreply at macports.org
Thu Aug 18 08:04:03 PDT 2011
#30860: leiningen not compatible with maven3 port
--------------------------------+-------------------------------------------
Reporter: rattigan@… | Owner: ian.eure@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.1
Keywords: | Port: leiningen
--------------------------------+-------------------------------------------
Changes (by macsforever2000@…):
* keywords: leiningen maven =>
* owner: macports-tickets@… => ian.eure@…
Old description:
> leiningen does not appear to work with maven3 installed, even if maven3
> is not selected.
>
> To reproduce:
>
> sudo port install maven2
>
> sudo port install maven3
>
> sudo port select maven maven2
>
> sudo port install leiningen
>
> lein repl
>
> this results in a stacktrace:
> {{{
> Exception in thread "main" java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at jline.ConsoleRunner.main(ConsoleRunner.java:69)...
> }}}
>
> The problem is resolved by:
>
> sudo port deactivate maven3
>
> lein repl
>
> {{{
> That's not a task. Use "lein help" to list all tasks.
> REPL started; server listening on localhost:27443.
> user=>
> }}}
New description:
leiningen does not appear to work with maven3 installed, even if maven3 is
not selected.
To reproduce:
{{{
sudo port install maven2
sudo port install maven3
sudo port select maven maven2
sudo port install leiningen
lein repl
}}}
this results in a stacktrace:
{{{
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at jline.ConsoleRunner.main(ConsoleRunner.java:69)...
}}}
The problem is resolved by:
{{{
sudo port deactivate maven3
lein repl
}}}
{{{
That's not a task. Use "lein help" to list all tasks.
REPL started; server listening on localhost:27443.
user=>
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/30860#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list