Hello,
I'm having a problem with nar-download and hoping someone can point me in the right direction.
I have an assembly build that worked fine with NAR plugin version 2.
Now, it only downloads the NAR packages that match the machine's AOL.
For instance, I specify :
<plugin>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<version>3.5.2</version>
<configuration>
<classifiers>
<classifier>amd64-Linux-gpp-jni</classifier>
<classifier>amd64-Linux-gpp-shared</classifier>
<classifier>amd64-Windows-msvc-jni</classifier>
<classifier>amd64-Windows-msvc-shared</classifier>
</classifiers>
</configuration>
<extensions>true</extensions>
<executions>
<execution>
<goals>
<goal>nar-download</goal>
<goal>nar-unpack</goal>
<goal>nar-assembly</goal>
</goals>
</execution>
</executions>
</plugin>
But on a linux machine, only the amd64-Linux-gpp classifiers get downloaded.
On a Windows machine, only the amd64-Windows-msvc ones get downloaded.
The build log does say :
[DEBUG] Configuring mojo 'com.github.maven-nar:nar-maven-plugin:3.5.2:nar-download' with basic configurator -->
[DEBUG] (f) baseDir = /home/scada/workspace/dip-clean/modules/build/modules/distribution
[DEBUG] (f) classesDirectory = /home/scada/workspace/dip-clean/modules/build/modules/distribution/target/classes
[DEBUG] (f) classifiers = [amd64-Linux-gpp-jni, amd64-Linux-gpp-shared, amd64-Windows-msvc-jni, amd64-Windows-msvc-shared]
[DEBUG] (f) ignore = false
[DEBUG] (f) layout = com.github.maven_nar.NarLayout21
But the binaries for other AOLs do not get downloaded.
Where can I start looking ?