Skip to content

Commit 596b1c0

Browse files
committed
Remove conformance modules from publish snapshot workflow
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
1 parent 5112339 commit 596b1c0

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎.github/workflows/publish-snapshot.yml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@ jobs:
2929
with:
3030
node-version: '20'
3131

32+
# Conformance tests are not published, and they break javadoc:aggregate: its forked
33+
# compile lifecycle never produces mcp classes (compiled at prepare-package), so their
34+
# dependency on mcp falls back to the local Maven repository, where the current
35+
# snapshot may not exist (e.g. right after a version bump, on a Maven cache miss).
3236
- name: Generate Java docs
33-
run: ./mvnw -Pjavadoc -B javadoc:aggregate
37+
run: ./mvnw -Pjavadoc -B -pl '!conformance-tests,!conformance-tests/client-jdk-http-client,!conformance-tests/client-spring-http-client,!conformance-tests/server-servlet' javadoc:aggregate
3438

3539
- name: Jackson 2 Integration Tests
3640
run: ./mvnw -pl mcp-test -am -Pjackson2 test
@@ -45,6 +49,7 @@ jobs:
4549
-Pjavadoc \
4650
-Prelease \
4751
--batch-mode \
52+
-pl '!conformance-tests,!conformance-tests/client-jdk-http-client,!conformance-tests/client-spring-http-client,!conformance-tests/server-servlet' \
4853
--update-snapshots deploy \
4954
-Dmaven.repository.credentialScope=id
5055

0 commit comments

Comments
 (0)