aboutsummaryrefslogtreecommitdiffstats
path: root/models-sim
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2020-10-06 12:30:37 -0400
committerTaka Cho <takamune.cho@att.com>2020-10-06 17:21:53 -0400
commit1a42ecf8eeab69f8b9337571a28c653612ac259f (patch)
treeb5ba658dd189e79a8645f3fc2f206838e969d627 /models-sim
parent9591e2dd26eacd9fd44ac72c325b83ca3d3534f9 (diff)
fix orphan module issue
when running sonar:sonar models-simulator-tarball" module gets orphan module error Issue-ID: POLICY-2859 Change-Id: I1d08a7ffadb7446c04fb62460e33ba3d2abffe6e Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'models-sim')
-rw-r--r--models-sim/packages/models-simulator-docker/pom.xml2
-rw-r--r--models-sim/packages/models-simulator-tarball/pom.xml5
2 files changed, 7 insertions, 0 deletions
diff --git a/models-sim/packages/models-simulator-docker/pom.xml b/models-sim/packages/models-simulator-docker/pom.xml
index c6f4717c0..f6ccfd162 100644
--- a/models-sim/packages/models-simulator-docker/pom.xml
+++ b/models-sim/packages/models-simulator-docker/pom.xml
@@ -43,6 +43,8 @@
<docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
<docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
<maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
+ <!-- There is no code in this sub-module, only holds interfaces. So skip sonar. -->
+ <sonar.skip>true</sonar.skip>
</properties>
<build>
diff --git a/models-sim/packages/models-simulator-tarball/pom.xml b/models-sim/packages/models-simulator-tarball/pom.xml
index 9fb1fb5fd..fd8bbdabc 100644
--- a/models-sim/packages/models-simulator-tarball/pom.xml
+++ b/models-sim/packages/models-simulator-tarball/pom.xml
@@ -35,6 +35,11 @@
<name>${project.artifactId}</name>
<description>A module that runs all "simulators", including DMaaP.</description>
+ <properties>
+ <!-- There is no code in this sub-module, only holds interfaces. So skip sonar. -->
+ <sonar.skip>true</sonar.skip>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.onap.policy.models.sim</groupId>