Opened 13 years ago

Closed 7 years ago

#30860 closed defect (fixed)

leiningen not compatible with maven3 port

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

Description (last modified by mf2k (Frank Schima))

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 (6)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: leiningen maven removed
Owner: changed from macports-tickets@… to ian.eure@…

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Owner: changed from ian.eure@… to ieure@…

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Does this still happen with 1.6.1.1?

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from ieure@… to macports-tickets@…

comment:5 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Is this still a problem with leiningen 2.5.0?

comment:6 Changed 7 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

No response; assuming fixed in new version.

Note: See TracTickets for help on using tickets.