Now I want to use the Wrapping-Java class in another project - a JAR library. My intention was to add the NAR package as dependency to the maven pom.xml of the JAR library (as dependency <type>nar</type>). Dependency resolution in Maven works fine, but I'm not able to use the Java class until I made the JAR package itself a NAR package. This is no option because their are other depending project modules which cannot be altered to NAR packages.
Q: Is it possible to have a NAR module as dependency of a "normal" Java Library of packaging type JAR with full access to Java Classes defined inside the NAR module?
Thx.
For me, there are two possible solutions: 1) do some configuration tricks to get a *.jar file besides the *.nar files as output of the NAR modules, or 2) find some configuration for the normal JAR module to consume Java class files from a *.nar file instead of *.jar file.
Any hints?
Hi Steffen,
Did you look at the imagej-launcher project linked from the NAR examples in the FAQ? It is very similar to your use case in that it is a single module project that generates both a NAR and a JAR. In our case both get installed and deployed successfully so maybe the answer you seek can be gleaned from its POM configuration.
Regards,
Curtis
--
You received this message because you are subscribed to the Google Groups "NAR Maven plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maven-nar+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes the IT's pass for me.