Skip to content

Commit 1e113a0

Browse files
committed
fix pom
Signed-off-by: Jay DeLuca <jaydeluca4@gmail.com>
1 parent d6f523c commit 1e113a0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/java-version-matrix-tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,12 @@ jobs:
4848
- name: Build core library artifacts
4949
run: mise exec -- ./mvnw install -DskipTests -Dspotless.check.skip=true -Dcoverage.skip=true -Dcheckstyle.skip=true -Dwarnings=-nowarn -pl '!integration-tests'
5050

51-
- name: Install integration-tests parent POM
51+
- name: Install parent POMs
5252
run: |
5353
cd integration-tests
5454
mise exec -- ../mvnw clean install -N -Dspotless.skip=true
55+
cd it-exporter
56+
mise exec -- ../../mvnw install -N -Dspotless.skip=true
5557
5658
- name: Rebuild sample apps targeting Java ${{ matrix.java-version }}
5759
run: |

integration-tests/it-exporter/it-exporter-httpserver-sample/src/main/java/io/prometheus/metrics/it/exporter/httpserver/HTTPServerSample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ private static void run(Mode mode, int port) throws IOException, InterruptedExce
6565
PrometheusRegistry.defaultRegistry.register(failingCollector);
6666
}
6767

68-
HTTPServer server = HTTPServer.builder().metricsHandlerPath("/").port(port).buildAndStart();
68+
HTTPServer server = HTTPServer.builder().port(port).buildAndStart();
6969

7070
System.out.println(
7171
"HTTPServer listening on port http://localhost:" + server.getPort() + "/metrics");

0 commit comments

Comments
 (0)