diff options
author | sthelen <thelen.sebastian@gmail.com> | 2010-05-26 15:50:05 +0800 |
---|---|---|
committer | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2010-10-17 15:24:36 +0800 |
commit | 19b345606e6ca28a2caada8237405d59f4b97cb5 (patch) | |
tree | b605ec12b5437f42aa696f69d3de4485a0f27dee /src/site/apt | |
parent | fe4c4e7599c730ba8594d8da731894e37384fad4 (diff) | |
download | maven-nar-plugin-19b345606e6ca28a2caada8237405d59f4b97cb5.tar.gz maven-nar-plugin-19b345606e6ca28a2caada8237405d59f4b97cb5.tar.bz2 maven-nar-plugin-19b345606e6ca28a2caada8237405d59f4b97cb5.tar.xz maven-nar-plugin-19b345606e6ca28a2caada8237405d59f4b97cb5.zip |
Enhanced usage documentation a bit.
As the plugin strips the part after the last dash of a classifier to interpret it as
the library type it must be specified or else the classifier will be truncated at the wrong
possition. - There is not check if the last part really is a type or part of the classifier.
Diffstat (limited to 'src/site/apt')
-rw-r--r-- | src/site/apt/usage.apt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/site/apt/usage.apt b/src/site/apt/usage.apt index b597732..83f937b 100644 --- a/src/site/apt/usage.apt +++ b/src/site/apt/usage.apt @@ -141,6 +141,9 @@ to pick up the unpacked libraries. Note there is no "nar" packaging as the normal packaging for assemblies would be "pom". + This example assumes that the dependencies are jni libraries. +In other cases the classifiers must be adapted accordingly. + +-- <project> ... @@ -166,9 +169,9 @@ assemblies would be "pom". <artifactId>maven-nar-plugin</artifactId> <configuration> <classifiers> - <classifier>x86-Windows-msvc</classifier> - <classifier>ppc-MacOSX-g++</classifier> - <classifier>i386-Linux-g++</classifier> + <classifier>x86-Windows-msvc-jni</classifier> + <classifier>ppc-MacOSX-g++-jni</classifier> + <classifier>i386-Linux-g++-jni</classifier> </classifiers> </configuration> <executions> |