code: public Artifact createArtifact( JarResource jarResource )
      {
  
          if ( jarResource.getClassifier() == null )
          {
              return artifactFactory.createArtifact( jarResource.getGroupId(), jarResource.getArtifactId(),
                                                     jarResource.getVersion(), Artifact.SCOPE_RUNTIME, "jar" );
          }
          else
          {
              return artifactFactory.createArtifactWithClassifier( jarResource.getGroupId(), jarResource.getArtifactId(),
                                                                   jarResource.getVersion(), "jar",
                                                                   jarResource.getClassifier() );
          }
      }
docs: {@inheritDoc}