Opened 13 years ago

Last modified 7 years ago

#30860 closed defect

leiningen not compatible with maven3 port — at Initial Version

Reported by: rattigan@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc:
Port: leiningen

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=> 

Change History (0)

Note: See TracTickets for help on using tickets.