If the libraries tag contains more than one library tag
with different types, files of the same type are copied to
all NAR archives.
For example, we want to package a third-party library that
is built both as static and as shared. So pom.xml
contains the following nar-maven-plugin configuration:
Expected that two NAR archives will be generated:
one with a static library, the other with a shared library.
In fact, two NAR archives with the same content are generated.
The content of the archives are determined by the order of the
libraries in the configuration.
Not the way I'd do it, but don't have time to re arrange it, and it's not wrong as far as I can see.
No rejections from others, passed travis, merging.
If the libraries tag contains more than one library tag with different types, files of the same type are copied to all NAR archives. For example, we want to package a third-party library that is built both as static and as shared. So pom.xml contains the following nar-maven-plugin configuration:
Accordingly, native libraries are located as follows:
Expected that two NAR archives will be generated: one with a static library, the other with a shared library.
In fact, two NAR archives with the same content are generated. The content of the archives are determined by the order of the libraries in the configuration.