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
| 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 |
71
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 |
72
75
76
+
### Publishing Mode Examples
77
+
78
+
The `automaticPublishing` parameter controls the publishing behavior:
79
+
80
+
**Manual Publishing (default)**: Upload, validate, and wait for manual approval
The `rc-upload` goal requires a bundle file (zip archive) that follows the [Maven Repository Layout](https://maven.apache.org/repository/layout.html). The bundle must contain your artifacts with all required files: JAR, POM, sources, javadoc, and their corresponding signatures and checksums.
@@ -80,7 +99,7 @@ See doc: https://central.sonatype.org/publish/publish-portal-upload/
80
99
81
100
For a project with namespace `com.sonatype.central.example`, component `example_java_project`, and version `0.1.0`:
82
101
83
-
```
102
+
```shell
84
103
bundle.zip
85
104
└── com/
86
105
└── sonatype/
@@ -120,6 +139,16 @@ bundle.zip
120
139
-**Multiple components**: A single bundle can contain multiple components
121
140
-**Layout**: Must follow Maven Repository Layout with proper directory structure
122
141
142
+
### Deployment States
143
+
144
+
The deployment state can have the following values:
145
+
146
+
-**PENDING**: A deployment is uploaded and waiting for processing by the validation service
147
+
-**VALIDATING**: A deployment is being processed by the validation service
148
+
-**VALIDATED**: A deployment has passed validation and is waiting on a user to manually publish via the Central Portal UI
149
+
-**PUBLISHING**: A deployment has been either automatically or manually published and is being uploaded to Maven Central
150
+
-**PUBLISHED**: A deployment has successfully been uploaded to Maven Central
151
+
-**FAILED**: A deployment has encountered an error (additional context will be present in an errors field)
123
152
124
153
## Authenticate
125
154
@@ -208,8 +237,8 @@ mvn clean package
208
237
209
238
## License
210
239
211
-
Eclipse Public License v.2.0 ([LICENSE](LICENSE))
240
+
Eclipse Public License v.2.0 ([LICENSE](LICENSE))
212
241
213
242
## Contributing
214
243
215
-
Contributions are welcome! Please submit issues and pull requests via GitHub.
244
+
Contributions are welcome! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on how to contribute to this project.
0 commit comments