summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorPawel <pawel.kasperkiewicz@nokia.com>2021-05-14 10:00:19 +0200
committerPawel <pawel.kasperkiewicz@nokia.com>2021-05-14 10:00:19 +0200
commitb67399b143328e0f31ebf0f679f72c4fda062e3d (patch)
tree840e3367238096bb1f47a8cb12211e868b85e998 /pom.xml
parentb7f2841a2a69d0253e10868869bba0efdcbdf131 (diff)
Temporary add mvn profile for enabling/disabling Prometheus metrics1.9.2
Issue-ID: DCAEGEN2-2683 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: I482098f0d9bfc71ada771c3dc74a43ee29423a73
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml42
1 files changed, 25 insertions, 17 deletions
diff --git a/pom.xml b/pom.xml
index c1884320..dd8bbc2d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
</parent>
<groupId>org.onap.dcaegen2.collectors.ves</groupId>
<artifactId>VESCollector</artifactId>
- <version>1.9.1-SNAPSHOT</version>
+ <version>1.9.2-SNAPSHOT</version>
<name>dcaegen2-collectors-ves</name>
<description>VESCollector</description>
<properties>
@@ -208,6 +208,30 @@
</build>
<profiles>
<profile>
+ <id>buildForPerfTests</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <dependencies>
+ <!-- Libraries related with performance tests-->
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-actuator</artifactId>
+ <version>${spring.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-prometheus</artifactId>
+ <version>${micrometer.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-core</artifactId>
+ <version>${micrometer.version}</version>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
<id>with-system-proxy</id>
<build>
<plugins>
@@ -266,22 +290,6 @@
</dependencies>
</dependencyManagement>
<dependencies>
- <!-- Libraries related with performance tests-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-actuator</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <dependency>
- <groupId>io.micrometer</groupId>
- <artifactId>micrometer-registry-prometheus</artifactId>
- <version>${micrometer.version}</version>
- </dependency>
- <dependency>
- <groupId>io.micrometer</groupId>
- <artifactId>micrometer-core</artifactId>
- <version>${micrometer.version}</version>
- </dependency>
<!-- JSON RELATED -->
<dependency>
<groupId>com.networknt</groupId>