Windows and Linux build for same GAV different classifier
This post has NOT been accepted by the mailing list yet.
I have a case where I am building Native Libraries in C++ using the same code base on Linux and Windows. The maven project POM contains two profiles for windows and linux that create and attach the correct artifact/classifier.
Project POM: com.xyz.native:myLib:pom:0-SNAPSHOT
Windows Artifact: com.xyz.native:myLib:dll:windows:0-SNAPSHOT
Linux Artifact: com.xyz.native:myLib:so:linux:0-SNAPSHOT
The builds run and deploy the correct Artifacts, but at some point in time one of the two artifacts disappears form Nexus.
Does anyone know why the Artifact is deleted?
Is my approach to creating the set of artifacts valid or is there something I am missing?