Repository navigation
Commit 1078d36
committed
Exclude conformance tests from the Maven Central release build
mcp's module-info refers to sibling modules by their JPMS names, which
only exist once those modules are packaged as jars. Before the package
phase, the reactor passes bare target/classes directories, which can't
be automatic modules. So mcp is compiled at prepare-package.
javadoc:aggregate forks a compile-phase build of the whole reactor, so
the fork never produces mcp classes. Modules that depend on mcp at
compile scope (the conformance tests) then fall back to Maven Central,
where the release version doesn't exist yet.
The conformance tests are not deployed, so leave them out of the
release build.
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>1 parent 47da1ad commit 1078d36
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
0 commit comments