talios / clojure-maven-plugin

Apache Maven Mojo for compiling clojure scripts to class files
252 stars 74 forks source link

Get error about "clojure" packaging when running the REPL #24

Open sbowman opened 13 years ago

sbowman commented 13 years ago

When I try to run "mvn clojure:repl" on my project, I get the following error message:

[INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building singularity [INFO] task-segment: [clojure:repl] [INFO] ------------------------------------------------------------------------ [INFO] Preparing clojure:repl [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot find lifecycle mapping for packaging: 'clojure'. Component descriptor cannot be found in the component repository: org.apache.maven.lifecycle.mapping.LifecycleMappingclojure. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Fri Nov 19 16:40:54 MST 2010 [INFO] Final Memory: 8M/81M [INFO] ------------------------------------------------------------------------

The "clojure:compile" task works, though.

talios commented 13 years ago

Hi - what version of the plugin are you using? the clojure packaging style only came in with 1.3.4.

Also, if using the clojure packaging style, you need true in the plugin declaration.