fix orphan module issue 78/113578/3
authorTaka Cho <takamune.cho@att.com>
Tue, 6 Oct 2020 16:30:37 +0000 (12:30 -0400)
committerTaka Cho <takamune.cho@att.com>
Tue, 6 Oct 2020 21:21:53 +0000 (17:21 -0400)
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>
models-sim/packages/models-simulator-docker/pom.xml
models-sim/packages/models-simulator-tarball/pom.xml

index c6f4717..f6ccfd1 100644 (file)
@@ -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>
index 9fb1fb5..fd8bbda 100644 (file)
   <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>