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
@@ -191,16 +237,12 @@ The BOMs use `${project.version}` for all A2A SDK modules, ensuring:
191
237
192
238
## Build Order
193
239
194
-
BOMs are listed first in the parent pom's `<modules>` section:
195
-
```xml
196
-
<modules>
197
-
<module>boms/sdk</module>
198
-
<module>boms/reference</module>
199
-
<!-- ... other modules ... -->
200
-
</modules>
201
-
```
240
+
BOMs have explicit dependencies to ensure correct reactor build order:
241
+
-**SDK BOM** builds first (no BOM dependencies)
242
+
-**Extras BOM** builds second (depends on SDK BOM)
243
+
-**Reference BOM** builds third (depends on SDK BOM)
202
244
203
-
This ensures BOMs are built early, making them available for any future internal use if needed.
245
+
Maven's reactor automatically orders them correctly based on their `<dependencies>` declarations, regardless of their position in the parent pom's `<modules>` section.
204
246
205
247
## Examples
206
248
@@ -212,21 +254,25 @@ See the `examples/` directory for sample projects using these BOMs:
212
254
213
255
When releasing the A2A Java SDK:
214
256
215
-
1.Both BOMs are released as separate Maven artifacts
257
+
1.All three BOMs are released as separate Maven artifacts
216
258
2. External users can depend on them via Maven Central
217
259
3. BOMs follow the same version scheme as the SDK (e.g., `0.4.0.Alpha1`, `0.4.0`)
218
260
219
261
## Questions?
220
262
221
263
-**Which BOM should I use?**
222
264
- Quarkus project → Reference BOM
223
-
- Other framework → SDK BOM
265
+
- Production server with database/distributed features → Extras BOM
266
+
- Other framework/basic agent → SDK BOM
267
+
268
+
-**Can I use Extras BOM with Spring Boot?**
269
+
- Yes! Extras BOM imports SDK BOM and adds server enhancements that work with any framework.
224
270
225
271
-**Can I use Reference BOM with Spring Boot?**
226
-
- Yes, but you'll get unnecessary Quarkus dependencies. Use SDK BOM instead.
272
+
- Yes, but you'll get unnecessary Quarkus dependencies. Use SDK BOM or Extras BOM instead.
227
273
228
-
-**Do I need both BOMs?**
229
-
- No, choose one. Reference BOM already imports SDK BOM.
0 commit comments