-
Notifications
You must be signed in to change notification settings - Fork 158
Working examples
We gladly welcome working examples of the NAR plugin in use!
These projects provide small examples of how to use the NAR plugin:
Several open source projects make use of the NAR plugin:
-
SLIM-curve uses NAR with some extra configuration, and may be a good second project to study for seeing a few more parameters in action.
-
ImageJ has a native launcher component which uses NAR. Search the
pom.xml
for "nar" to find the relevant blocks. It is not a simple "hello world" example (e.g., it uses OS-specific profiles), but it is a working real-world use case which successfully builds on a Jenkins server farm including Windows, OS X and Linux nodes. -
RpiCastServer (educational code) is a server implementing the DIAL protocol, intended to run in a Raspberry Pi to give similar functionality to a Chromecast device.
In addition, there are some projects which provide NAR-packaged open source libraries, ready to be included as dependencies in your Maven projects:
-
boost-nar packages the Boost C++ libraries in Maven form as NAR artifacts.
-
Narlibs is a collection of NAR-packaged open source libraries, including rapidjson, ZeroMQ, log4cplus, Google Test and LIBNODAVE.
Lastly, see the NAR plugin's own integration tests. You can run a specific integration test using:
mvn -Prun-its -Dinvoker.test=<directory-name>
where <directory-name>
is something like it0003-jni
.