central-publishing:publish
Full name:
io.github.mavenplugins:central-publishing-maven-plugin:0.8.1:publish
Description:
No description.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Binds by default to the lifecycle phase:
deploy
. - Requires that Maven runs in online mode.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<outputFilename> |
String |
- |
No description. Default: central-bundle.zip User Property: outputFilename |
<skipPublishing> |
boolean |
- |
No description. Default: false User Property: skipPublishing |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<autoPublish> |
boolean |
- |
Assign whether to auto publish a deployment. Meaning that no manual intervention is required, if a deployment is considered valid, before publishing it. Defaults to Constants.AUTO_PUBLISH_DEFAULT_VALUE .Default: false User Property: autoPublish |
<centralBaseUrl> |
String |
- |
Assign the URL that this plugin uses to publish releases. Defaults to Constants.CENTRAL_BASE_URL_DEFAULT_VALUE .Default: https://central.sonatype.com User Property: centralBaseUrl |
<centralSnapshotsUrl> |
String |
- |
Assign the URL that this plugin uses to publish snapshots. Defaults to Constants.CENTRAL_SNAPSHOTS_URL_DEFAULT_VALUE .User Property: centralSnapshotsUrl |
<checksums> |
String |
- |
Assign what type of checksums will be generated for files. Three options are available:
all - Will request MD5, SHA1, SHA256 and SHA512 to be generated.
required - Only MD5 and SHA1 will be requested to be generated.
none - No Checksums will be requested to be generated.
Default: ALL User Property: checksums |
<deploymentName> |
String |
- |
No description. Default: Deployment User Property: deploymentName |
<excludeArtifacts> |
List<String> |
- |
Assign artifacts that must not be added to the bundle that represents the deployment that will be published. User Property: excludeArtifacts |
<failOnBuildFailure> |
boolean |
- |
No description. Default: true User Property: failOnBuildFailure |
<forcedDeferredDirectory> |
File |
- |
No description. User Property: deferredDirectory |
<forcedOutputDirectory> |
File |
- |
No description. User Property: outputDirectory |
<forcedStagingDirectory> |
File |
- |
No description. User Property: stagingDirectory |
<ignorePublishedComponents> |
boolean |
- |
Assign whether we ignore, or more specifically, not add components that have already been published in the past to the bundle that will be published. When working with projects that are using a multi-module setup, and it's desired to publish only new modules (for example parent, child1 and child2 are all published, and it's desired to publish a new version X.Y.1 of child2, but leave child1 and parent unchanged), this setting will assure that previous published components will not be published again, which will cause the publishing to fail. Defaults to Constants.IGNORE_PUBLISHED_COMPONENTS_DEFAULT_VALUE .Default: false User Property: ignorePublishedComponents |
<publishCompletionPollInterval> |
int |
- |
Deprecated. use waitPollingInterval insteadNo description. Default: 1000 User Property: publishCompletionPollInterval |
<publishingServerId> |
String |
- |
No description. Default: central User Property: publishingServerId |
<waitForPublishCompletion> |
boolean |
- |
Deprecated. use autoPublish in combination with waitUntil insteadNo description. Default: false User Property: waitForPublishCompletion |
<waitMaxTime> |
int |
- |
Assign the amount of seconds that the plugin will wait for a deployment state. Can not be less than Constants.WAIT_MAX_TIME_DEFAULT_VALUE .Default: 1800 User Property: waitMaxTime |
<waitPollingInterval> |
int |
- |
Assign the amount of seconds between checking whether a deployment has published. Can not be less than Constants.WAIT_POLLING_INTERVAL_DEFAULT_VALUE .Default: 5 User Property: waitPollingInterval |
<waitUntil> |
String |
- |
Assign what to wait for, if desired to wait, of the processing of a deployment. See @org.sonatype.central.publisher.plugin.model.WaitUntilRequest for options. Defaults to Constants.WAIT_MAX_TIME_DEFAULT_VALUE .Default: VALIDATED User Property: waitUntil |
Parameter Details
<autoPublish>
Assign whether to auto publish a deployment. Meaning that no manual intervention is required, if a deployment is considered valid, before publishing it. Defaults to
Constants.AUTO_PUBLISH_DEFAULT_VALUE
.- Type:
boolean
- Required:
No
- User Property:
autoPublish
- Default:
false
<centralBaseUrl>
Assign the URL that this plugin uses to publish releases. Defaults to
Constants.CENTRAL_BASE_URL_DEFAULT_VALUE
.- Type:
java.lang.String
- Required:
No
- User Property:
centralBaseUrl
- Default:
https://central.sonatype.com
<centralSnapshotsUrl>
Assign the URL that this plugin uses to publish snapshots. Defaults to
Constants.CENTRAL_SNAPSHOTS_URL_DEFAULT_VALUE
.- Type:
java.lang.String
- Required:
No
- User Property:
centralSnapshotsUrl
<checksums>
Assign what type of checksums will be generated for files. Three options are available:
all - Will request MD5, SHA1, SHA256 and SHA512 to be generated.
required - Only MD5 and SHA1 will be requested to be generated.
none - No Checksums will be requested to be generated.
- Type:
java.lang.String
- Required:
No
- User Property:
checksums
- Default:
ALL
<deploymentName>
No description.
- Type:
java.lang.String
- Required:
No
- User Property:
deploymentName
- Default:
Deployment
<excludeArtifacts>
Assign artifacts that must not be added to the bundle that represents the deployment that will be published.
- Type:
java.util.List<java.lang.String>
- Required:
No
- User Property:
excludeArtifacts
<failOnBuildFailure>
No description.
- Type:
boolean
- Required:
No
- User Property:
failOnBuildFailure
- Default:
true
<forcedDeferredDirectory>
No description.
- Type:
java.io.File
- Required:
No
- User Property:
deferredDirectory
<forcedOutputDirectory>
No description.
- Type:
java.io.File
- Required:
No
- User Property:
outputDirectory
<forcedStagingDirectory>
No description.
- Type:
java.io.File
- Required:
No
- User Property:
stagingDirectory
<ignorePublishedComponents>
Assign whether we ignore, or more specifically, not add components that have already been published in the past to the bundle that will be published. When working with projects that are using a multi-module setup, and it's desired to publish only new modules (for example parent, child1 and child2 are all published, and it's desired to publish a new version X.Y.1 of child2, but leave child1 and parent unchanged), this setting will assure that previous published components will not be published again, which will cause the publishing to fail. Defaults to
Constants.IGNORE_PUBLISHED_COMPONENTS_DEFAULT_VALUE
.- Type:
boolean
- Required:
No
- User Property:
ignorePublishedComponents
- Default:
false
<outputFilename>
No description.
- Type:
java.lang.String
- Required:
Yes
- User Property:
outputFilename
- Default:
central-bundle.zip
<publishCompletionPollInterval>
Deprecated.
use
use
waitPollingInterval
insteadNo description.
- Type:
int
- Required:
No
- User Property:
publishCompletionPollInterval
- Default:
1000
<publishingServerId>
No description.
- Type:
java.lang.String
- Required:
No
- User Property:
publishingServerId
- Default:
central
<skipPublishing>
No description.
- Type:
boolean
- Required:
Yes
- User Property:
skipPublishing
- Default:
false
<waitForPublishCompletion>
Deprecated.
use
use
autoPublish
in combination with waitUntil
insteadNo description.
- Type:
boolean
- Required:
No
- User Property:
waitForPublishCompletion
- Default:
false
<waitMaxTime>
Assign the amount of seconds that the plugin will wait for a deployment state. Can not be less than
Constants.WAIT_MAX_TIME_DEFAULT_VALUE
.- Type:
int
- Required:
No
- User Property:
waitMaxTime
- Default:
1800
<waitPollingInterval>
Assign the amount of seconds between checking whether a deployment has published. Can not be less than
Constants.WAIT_POLLING_INTERVAL_DEFAULT_VALUE
.- Type:
int
- Required:
No
- User Property:
waitPollingInterval
- Default:
5
<waitUntil>
Assign what to wait for, if desired to wait, of the processing of a deployment. See @
org.sonatype.central.publisher.plugin.model.WaitUntilRequest
for options. Defaults to Constants.WAIT_MAX_TIME_DEFAULT_VALUE
.- Type:
java.lang.String
- Required:
No
- User Property:
waitUntil
- Default:
VALIDATED