Change PTL of VNFSDK to be Dan Xu
[vnfsdk/refrepo.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index e655750..0854411 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
 
+    Copyright (C) 2018, Huawei Technologies, Ltd.
     Copyright (C) 2017 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2020 Nokia
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <parent>
-      <groupId>org.openo.oparent</groupId>
+      <groupId>org.onap.oparent</groupId>
       <artifactId>oparent</artifactId>
-      <version>1.1.0-SNAPSHOT</version>
-      <relativePath>../oparent</relativePath>
+      <version>2.1.0</version>
+      <relativePath>../../oparent</relativePath>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
-    <groupId>org.openo.client.gui</groupId>
-    <artifactId>client-gui</artifactId>
+    <groupId>org.onap.vnfsdk.refrepo</groupId>
+    <artifactId>vnfmarket</artifactId>
+    <version>1.6.4-SNAPSHOT</version>
     <packaging>pom</packaging>
-    <name>client-gui</name>
+    <name>vnfsdk-refrepo</name>
+
+       <properties>
+        <java.version>11</java.version>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <sonar.language>java</sonar.language>
+        <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
+        <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
+        <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
+        <sonar.projectVersion>${project.version}</sonar.projectVersion>
+        <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
+    </properties>
 
     <modules>
-        <module>auth</module>
-        <module>catalog</module>
-        <module>common</module>
-        <module>extsys</module>
-        <module>integration</module>
-        <module>lifecyclemgr</module>
-        <module>login</module>
-        <module>monitor</module>
-        <module>performance</module>
-        <module>resmgr</module>
+        <module>vnfmarket-be</module>
     </modules>
+
+       <build>
+        <plugins>
+            <plugin>
+                <groupId>org.jacoco</groupId>
+                <artifactId>jacoco-maven-plugin</artifactId>
+                <executions>
+                  <execution>
+                    <id>prepare-agent</id>
+                    <goals>
+                        <goal>prepare-agent</goal>
+                    </goals>
+                  </execution>
+                  <execution>
+                     <id>report</id>
+                     <goals>
+                       <goal>report</goal>
+                     </goals>
+                     <configuration>
+                        <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
+                        <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
+                     </configuration>
+                  </execution>
+               </executions>
+            </plugin>
+
+        </plugins>
+    </build>
+
+    <profiles>
+        <profile>
+            <id>docker</id>
+            <properties>
+                <maven.test.skip>true</maven.test.skip>
+            </properties>
+        </profile>
+    </profiles>
+
 </project>