Class LegacyMavenPublishingRepositoryAction
- java.lang.Object
-
- org.jboss.gm.manipulation.actions.LegacyMavenPublishingRepositoryAction
-
- All Implemented Interfaces:
org.gradle.api.Action<org.gradle.api.Project>
public class LegacyMavenPublishingRepositoryAction extends java.lang.Object implements org.gradle.api.Action<org.gradle.api.Project>Adds a publication repository to the legacy maven plugin. Repository URL and authentication token need to be configured externally. Performed configuration is equivalent to following gradle snippet:uploadArchives { repositories { maven { url = System.getProperty('AProxDeployUrl') credentials(HttpHeaderCredentials) { name = "Authorization" value = "Bearer " + System.getProperty('accessToken') } authentication { header(HttpHeaderAuthentication) } } } }
-
-
Constructor Summary
Constructors Constructor Description LegacyMavenPublishingRepositoryAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(org.gradle.api.Project project)
-