You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| central.bearerToken | Bearer token for authentication || xxxxxxxx... |
47
+
| central.serverId | Server id in settings.xml to use for bearer token | central | myserverid |
48
+
| central.namespace | Namespace of the component || org.eclipse.cbi |
49
+
| central.name | Name of the component || org.eclipse.cbi.tycho.example-parent |
50
+
| central.version | Version of the component || 1.0.0 |
51
+
| central.deploymentId | Deployment id for release/drop operations || xxxxx-xxxxx-xxxx-xxx-xxxxxxx |
52
+
| central.centralApiUrl | Custom Central Portal API URL |https://central.sonatype.com/api/v1/publisher|https://central.sonatype.com/api/v1/publisher|
53
+
| central.removeAll | If true, drop all deployments in the namespace | false | true |
54
+
| central.removeFailedOnly | If true, only drop deployments in FAILED state (used with removeAll or when dropping by id/latest) | true | true |
55
+
| central.dryRun | If true, only simulate the release/drop (no action performed) | false | true |
56
+
| central.artifactFile | Path to the artifact file to upload (zip file containing Maven artifacts) || /path/to/bundle.zip |
57
+
| central.bundleName | Custom name for the upload bundle (defaults to artifact filename without extension) || my-custom-bundle |
58
+
| central.automaticPublishing | Whether to automatically publish after validation (true=AUTOMATIC, false=USER_MANAGED) | false | true |
59
+
| central.maxWaitTime | Maximum wait time in seconds for validation to complete | 300 | 600 |
60
+
| central.maxWaitTimePublishing | Maximum wait time in seconds for publishing to complete | 600 | 900 |
61
+
| central.pollInterval | Polling interval in seconds when checking deployment status | 5 | 10 |
62
+
| central.waitForCompletion | If true, wait for complete publishing process. If false, return after validation/publishing starts | false | true |
63
+
| central.showAllDeployments | Lists all deployments available (goal: rc-list) | false | true |
64
+
| central.showArtifacts | If true (or not set as default), shows all info including artifacts. If false, shows only deployment's details without artifacts. (goal: rc-list) | true | false |
63
65
64
66
You can provide your Bearer token either via the command line or securely via your Maven `settings.xml` file.
65
67
66
68
## Plugin Goals
67
69
68
-
| Goal/Function | Description | Main Parameters | Example Command |
| rc-drop | Drop (delete) a deployment (supports dry run) | deploymentId, bearerToken, dryRun | mvn central-staging-plugins:rc-drop -Dcentral.deploymentId=xxxxx-xxxxx-xxxx-xxx-xxxxxxx -Dcentral.dryRun=true |
74
-
| rc-list | List all deployments for a namespace, with state, date, and errors per component | namespace, bearerToken | mvn central-staging-plugins:rc-list -Dcentral.namespace=org.eclipse.cbi |
| rc-drop | Drop (delete) a deployment (supports dry run) | deploymentId, bearerToken, dryRun | mvn central-staging-plugins:rc-drop -Dcentral.deploymentId=xxxxx-xxxxx-xxxx-xxx-xxxxxxx -Dcentral.dryRun=true |
76
+
| rc-list | List all deployments for a namespace, with state, date, and errors per component | namespace, showAllDeployments, showArtifacts, bearerToken| mvn central-staging-plugins:rc-list -Dcentral.namespace=org.eclipse.cbi |
0 commit comments