Hello all,

I have created, tested and packaged a JNI library to a nar archive using 
nar-maven-plugin 3.2.0. It compiles and installs into .m2 local repository.

Now, if I would wanted to call it from another project. As I understand, if 
it was a Maven project, I would need to do 2 things: 1. add a dependency 
and specify its type as "nar", and 2. add nar-maven-plugin in the plugins 
section so maven knows what to do with the nar file.

HERE IS THE QUESTION: I need to use the nar library from leiningen - HOW? 
:). 

I have seen on the nar-maven-website that Leining is mentioned only here: 
http://maven-nar.github.io/dependency-info.html, but nothing more.

I tried to add nar-maven-plugin to :plugins in project.clj but it does not 
help. 
I have also tried to add :type "nar" for my library's dependency - not 
recognized. 
If i add :extension "nar", the repl starts, but the class that is in it is 
not found.

I understand that the Leiningen list might be a better place for this 
question, but I have just joined there and cannot post yet.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to