Commit 282dddb
committed
fix(ci): deactivate default profile in compat installs
The micrometer and jmx-exporter compatibility tests install local
artifacts with -Dmaven.test.skip=true, which skips building the
*:test-jar artifacts that the activeByDefault default profiles declare
as test dependencies. Leaving the profile active broke dependency
resolution (e.g. prometheus-metrics-exposition-textformats:jar:tests),
failing on main and on every PR (e.g. #2173).
Deactivate those profiles in the compat install (-P '!default'), the
same approach the release task already uses (-P 'release,!default').
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>1 parent 9220fd4 commit 282dddb
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
100 | 106 | | |
101 | 107 | | |
102 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
132 | 138 | | |
133 | 139 | | |
134 | 140 | | |
| |||
0 commit comments