Package sp.sd.nexusartifactuploader
Class Utils
java.lang.Object
sp.sd.nexusartifactuploader.Utils
Created by suresh on 5/20/2016.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.sonatype.aether.artifact.ArtifacttoArtifact(Artifact artifact, String groupId, String version, File artifactFile) static BooleanuploadArtifacts(TaskListener Listener, String ResolvedNexusUser, String ResolvedNexusPassword, String ResolvedNexusUrl, String ResolvedRepository, String ResolvedProtocol, String ResolvedNexusVersion, org.sonatype.aether.artifact.Artifact... artifacts)
-
Method Details
-
toArtifact
-
uploadArtifacts
public static Boolean uploadArtifacts(TaskListener Listener, String ResolvedNexusUser, String ResolvedNexusPassword, String ResolvedNexusUrl, String ResolvedRepository, String ResolvedProtocol, String ResolvedNexusVersion, org.sonatype.aether.artifact.Artifact... artifacts) throws IOException - Throws:
IOException
-