Set root pom.xml <name> for Sonar 71/14071/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 9 Jan 2015 21:54:45 +0000 (16:54 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 9 Jan 2015 21:54:45 +0000 (16:54 -0500)
As mentioned on the mailing list Sonar uses the <name> field of the
pom.xml that is passed to the mvn command as the name of the project in
Sonar. In most cases this is the root pom.xml file in a project. This
patch sets the name to the project shortname.

https://lists.opendaylight.org/pipermail/discuss/2014-November/004024.html

Change-Id: I138f89f0d90dfc512ec6e521b2c35c6f67152c43
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
pom.xml

diff --git a/pom.xml b/pom.xml
index 3118950405ea69e538ba702085d91eb63f4f1a39..b6a6b3294789dbb5e3d8f1164c536c8ba7906e6f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
 
     <artifactId>releasepom</artifactId>
     <packaging>pom</packaging>
-    <name>BGPCEP release</name>
+    <name>bgpcep</name> <!-- Used by Sonar to set project name -->
     <description>BGPCEP top-level pom</description>
 
     <modules>