Set root pom.xml <name> for Sonar 64/14064/1 release/helium-sr2 release/helium-sr3
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 9 Jan 2015 21:45:42 +0000 (16:45 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 9 Jan 2015 21:45:42 +0000 (16: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: If60fbfdc58fc90d4be084271e7874000b9416083
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
pom.xml

diff --git a/pom.xml b/pom.xml
index 1f273062a99c718b00cbae16a077954f6520f0ae..4e98e4297f9917a4979c81e99fea214222f32104 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
   <groupId>org.opendaylight.docs</groupId>
   <artifactId>root</artifactId>
   <version>0.1.0-SNAPSHOT</version>
-  <name>OpenDaylight Docs</name>
+  <name>docs</name> <!-- Used by Sonar to set project name -->
   <packaging>pom</packaging>
   <url>${sitedeploy}</url>
   <scm>