DMAAP-84 also include sonar in pom.xml 01/10001/1
authorATT default cloud user <dgl@research.att.com>
Fri, 1 Sep 2017 19:47:00 +0000 (19:47 +0000)
committerATT default cloud user <dgl@research.att.com>
Fri, 1 Sep 2017 21:20:27 +0000 (21:20 +0000)
Change-Id: Id7ac31258133399ab10cdcebdb810c7b0048685a
Signed-off-by: ATT default cloud user <dgl@research.att.com>
README.md
pom.xml

index d96612c..00e4d8c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -23,6 +23,8 @@ After cloning from this git repo:
 mvn clean install javadoc:javadoc
 ```
 
+A description of the API is generated, and found in targets/generated-source/swagger.json.
+
 ### Configurable Parameters
 
 Behavior of the API is controlled by settings in a properties file (typically etc/dmaapbc.properties).
diff --git a/pom.xml b/pom.xml
index 29592f3..94ea22e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -226,9 +226,15 @@ A convention of this API is to return JSON responses per OpenStack style.
     <jettyVersion>9.3.7.v20160115</jettyVersion>
     <eelf.version>0.0.1</eelf.version>
     <artifact.version>1.0.0-SNAPSHOT</artifact.version>
-    <nexusproxy>https://nexus.onap.org</nexusproxy>
-    <snapshots.path>content/repositories/snapshots/</snapshots.path>
-    <releases.path>content/repositories/releases/</releases.path>
+               <!--  SONAR  -->
+                <jacoco.version>0.7.7.201606060606</jacoco.version>
+           <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
+           <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
+           <!-- Default Sonar configuration -->
+           <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
+           <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
+           <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
+           <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
   </properties>
   <description>Data Movement as a Platform (DMaaP) Bus Controller provides a REST API for other DCAE infrastructure components to provision DMaaP resources.  A DMaaP resource is a Data Router Feed or a Message Router Topic, and their associated publishers and subscribers.</description>
 </project>