Class MavenPublishOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.release.MavenPublishOptions.Jsii$Proxy
-
- All Implemented Interfaces:
CommonPublishOptions,MavenPublishOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- MavenPublishOptions
@Stability(Experimental) @Internal public static final class MavenPublishOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MavenPublishOptions
An implementation forMavenPublishOptions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.release.MavenPublishOptions
MavenPublishOptions.Builder, MavenPublishOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(MavenPublishOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theMavenPublishOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetMavenEndpoint()(experimental) URL of Nexus repository.StringgetMavenGpgPrivateKeyPassphrase()(experimental) GitHub secret name which contains the GPG private key or file that includes it.StringgetMavenGpgPrivateKeySecret()(experimental) GitHub secret name which contains the GPG private key or file that includes it.StringgetMavenPassword()(experimental) GitHub secret name which contains the Password for maven repository.StringgetMavenRepositoryUrl()(experimental) Deployment repository when not deploying to Maven Central.StringgetMavenServerId()(experimental) Used in maven settings for credential lookup (e.g.StringgetMavenStagingProfileId()(experimental) GitHub secret name which contains the Maven Central (sonatype) staging profile ID (e.g.StringgetMavenUsername()(experimental) GitHub secret name which contains the Username for maven repository.List<JobStep>getPostPublishSteps()(experimental) Steps to execute after executing the publishing command.List<JobStep>getPrePublishSteps()(experimental) Steps to execute before executing the publishing command.ToolsgetPublishTools()(experimental) Additional tools to install in the publishing job.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(MavenPublishOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theMavenPublishOptions.Builder.
-
-
Method Detail
-
getMavenEndpoint
public final String getMavenEndpoint()
Description copied from interface:MavenPublishOptions(experimental) URL of Nexus repository.if not set, defaults to https://oss.sonatype.org
Default: "https://oss.sonatype.org"
- Specified by:
getMavenEndpointin interfaceMavenPublishOptions
-
getMavenGpgPrivateKeyPassphrase
public final String getMavenGpgPrivateKeyPassphrase()
Description copied from interface:MavenPublishOptions(experimental) GitHub secret name which contains the GPG private key or file that includes it.This is used to sign your Maven packages. See instructions.
Default: "MAVEN_GPG_PRIVATE_KEY_PASSPHRASE" or not set when using GitHub Packages
- Specified by:
getMavenGpgPrivateKeyPassphrasein interfaceMavenPublishOptions- See Also:
- https://github.com/aws/publib#maven
-
getMavenGpgPrivateKeySecret
public final String getMavenGpgPrivateKeySecret()
Description copied from interface:MavenPublishOptions(experimental) GitHub secret name which contains the GPG private key or file that includes it.This is used to sign your Maven packages. See instructions.
Default: "MAVEN_GPG_PRIVATE_KEY" or not set when using GitHub Packages
- Specified by:
getMavenGpgPrivateKeySecretin interfaceMavenPublishOptions- See Also:
- https://github.com/aws/publib#maven
-
getMavenPassword
public final String getMavenPassword()
Description copied from interface:MavenPublishOptions(experimental) GitHub secret name which contains the Password for maven repository.For Maven Central, you will need to Create JIRA account and then request a new project (see links).
Default: "MAVEN_PASSWORD" or "GITHUB_TOKEN" when using GitHub Packages
- Specified by:
getMavenPasswordin interfaceMavenPublishOptions- See Also:
- https://issues.sonatype.org/secure/CreateIssue.jspa?issuetype=21&pid=10134
-
getMavenRepositoryUrl
public final String getMavenRepositoryUrl()
Description copied from interface:MavenPublishOptions(experimental) Deployment repository when not deploying to Maven Central.Default: - not set
- Specified by:
getMavenRepositoryUrlin interfaceMavenPublishOptions
-
getMavenServerId
public final String getMavenServerId()
Description copied from interface:MavenPublishOptions(experimental) Used in maven settings for credential lookup (e.g. use github when publishing to GitHub).Default: "ossrh" (Maven Central) or "github" when using GitHub Packages
- Specified by:
getMavenServerIdin interfaceMavenPublishOptions
-
getMavenStagingProfileId
public final String getMavenStagingProfileId()
Description copied from interface:MavenPublishOptions(experimental) GitHub secret name which contains the Maven Central (sonatype) staging profile ID (e.g. 68a05363083174). Staging profile ID can be found in the URL of the "Releases" staging profile under "Staging Profiles" in https://oss.sonatype.org (e.g. https://oss.sonatype.org/#stagingProfiles;11a33451234521).Default: "MAVEN_STAGING_PROFILE_ID" or not set when using GitHub Packages
- Specified by:
getMavenStagingProfileIdin interfaceMavenPublishOptions
-
getMavenUsername
public final String getMavenUsername()
Description copied from interface:MavenPublishOptions(experimental) GitHub secret name which contains the Username for maven repository.For Maven Central, you will need to Create JIRA account and then request a new project (see links).
Default: "MAVEN_USERNAME" or the GitHub Actor when using GitHub Packages
- Specified by:
getMavenUsernamein interfaceMavenPublishOptions- See Also:
- https://issues.sonatype.org/secure/CreateIssue.jspa?issuetype=21&pid=10134
-
getPostPublishSteps
public final List<JobStep> getPostPublishSteps()
Description copied from interface:CommonPublishOptions(experimental) Steps to execute after executing the publishing command.These can be used to add/update the release artifacts ot any other tasks needed.
Note that when using this in
publishToGitHubReleasesthis will override steps added viaaddGitHubPostPublishingSteps.- Specified by:
getPostPublishStepsin interfaceCommonPublishOptions
-
getPrePublishSteps
public final List<JobStep> getPrePublishSteps()
Description copied from interface:CommonPublishOptions(experimental) Steps to execute before executing the publishing command. These can be used to prepare the artifact for publishing if neede.These steps are executed after
dist/has been populated with the build output.Note that when using this in
publishToGitHubReleasesthis will override steps added viaaddGitHubPrePublishingSteps.- Specified by:
getPrePublishStepsin interfaceCommonPublishOptions
-
getPublishTools
public final Tools getPublishTools()
Description copied from interface:CommonPublishOptions(experimental) Additional tools to install in the publishing job.Default: - no additional tools are installed
- Specified by:
getPublishToolsin interfaceCommonPublishOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-