LPS-49007 Fix publishing, makepom was less strict on optional configs