Class JsiiReleaseMaven.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Deprecated.
    • Method Detail

      • mavenGpgPrivateKeyPassphrase

        @Stability(Experimental)
        public JsiiReleaseMaven.Builder mavenGpgPrivateKeyPassphrase​(String mavenGpgPrivateKeyPassphrase)
        Deprecated.
        Parameters:
        mavenGpgPrivateKeyPassphrase - GitHub secret name which contains the GPG private key or file that includes it. This is used to sign your Maven packages. See instructions.
        Returns:
        this
      • mavenGpgPrivateKeySecret

        @Stability(Experimental)
        public JsiiReleaseMaven.Builder mavenGpgPrivateKeySecret​(String mavenGpgPrivateKeySecret)
        Deprecated.
        Parameters:
        mavenGpgPrivateKeySecret - GitHub secret name which contains the GPG private key or file that includes it. This is used to sign your Maven packages. See instructions.
        Returns:
        this
      • mavenPassword

        @Stability(Experimental)
        public JsiiReleaseMaven.Builder mavenPassword​(String mavenPassword)
        Deprecated.
        Parameters:
        mavenPassword - 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).
        Returns:
        this
      • mavenStagingProfileId

        @Stability(Experimental)
        public JsiiReleaseMaven.Builder mavenStagingProfileId​(String mavenStagingProfileId)
        Deprecated.
        Parameters:
        mavenStagingProfileId - 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).
        Returns:
        this
      • mavenUsername

        @Stability(Experimental)
        public JsiiReleaseMaven.Builder mavenUsername​(String mavenUsername)
        Deprecated.
        Parameters:
        mavenUsername - 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).
        Returns:
        this
      • postPublishSteps

        @Stability(Experimental)
        public JsiiReleaseMaven.Builder postPublishSteps​(List<? extends JobStep> postPublishSteps)
        Deprecated.
        Parameters:
        postPublishSteps - 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 publishToGitHubReleases this will override steps added via addGitHubPostPublishingSteps.

        Returns:
        this
      • prePublishSteps

        @Stability(Experimental)
        public JsiiReleaseMaven.Builder prePublishSteps​(List<? extends JobStep> prePublishSteps)
        Deprecated.
        Parameters:
        prePublishSteps - 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 publishToGitHubReleases this will override steps added via addGitHubPrePublishingSteps.

        Returns:
        this