code: public String getDependencyFileBasename( Artifact artifact, Boolean outputJarVersion, Boolean useUniqueVersions )
      {
          String filename = artifact.getArtifactId();
  
          if ( outputJarVersion != null )
          {
  
              if ( outputJarVersion )
              {
                  filename += "__V";
              }
              else
              {
                  filename += "-";
              }
  
              filename += getDependencyFileVersion( artifact, useUniqueVersions );
          }
  
          if ( StringUtils.isNotEmpty( artifact.getClassifier() ) )
          {
              filename += "-" + artifact.getClassifier();
          }
  
          return filename;
      }
docs: {@inheritDoc}