diff --git a/modules/opencensus/pom.xml b/modules/opencensus/pom.xml
index 0fd8897744820..185444c6fc332 100644
--- a/modules/opencensus/pom.xml
+++ b/modules/opencensus/pom.xml
@@ -100,14 +100,14 @@
io.opencensus
opencensus-exporter-stats-prometheus
${opencensus.version}
- test
+ runtime
io.prometheus
simpleclient_httpserver
0.3.0
- test
+ runtime