Set root pom.xml <name> for Sonar 46/14046/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 9 Jan 2015 20:45:38 +0000 (15:45 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 9 Jan 2015 20:45:38 +0000 (15:45 -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: I34549ed7631b183128b025859bd641d5ec0c8927
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
pom.xml [changed mode: 0755->0644]

diff --git a/pom.xml b/pom.xml
old mode 100755 (executable)
new mode 100644 (file)
index 9e132a9..4559943
--- a/pom.xml
+++ b/pom.xml
@@ -11,6 +11,7 @@
 
   <artifactId>ovsdb</artifactId>
   <version>1.1.0-SNAPSHOT</version>
+  <name>ovsdb</name> <!-- Used by Sonar to set project name -->
   <packaging>pom</packaging>
 
   <prerequisites>