Add artifact name formatting used by autorelease 22/52522/3
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 1 Mar 2017 17:49:35 +0000 (12:49 -0500)
committerTom Pantelis <tpanteli@brocade.com>
Thu, 2 Mar 2017 17:35:17 +0000 (17:35 +0000)
As recommended by the autorelease project we're now requesting projects
use a specific format for their <name> definitions in their pom files.
Please refer to the Trello link for further details.

Trello: https://trello.com/c/EGYoCYXX
Change-Id: I5a074b3f21e72283a8ad6dcd82f9dc6fbcf67fa6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/api/pom.xml
opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/artifacts/pom.xml
opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/cli/pom.xml
opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/features/pom.xml
opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/pom.xml
opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/it/pom.xml
opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/karaf/pom.xml
opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/pom.xml

index 0b331b7..64c2bdc 100644 (file)
@@ -19,5 +19,8 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   <groupId>${groupId}</groupId>
   <artifactId>${artifactId}-api</artifactId>
   <version>${version}</version>
+  <!-- <name> formatting is used by autorelease to parse and notify projects on
+       build failure. Please do not modify this unless you have a good reason. -->
+  <name>ODL :: ${groupId} :: ${project.artifactId}</name>
   <packaging>bundle</packaging>
 </project>
index 6067f64..bb32798 100644 (file)
@@ -23,6 +23,9 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   <groupId>${groupId}</groupId>
   <artifactId>${artifactId}-artifacts</artifactId>
   <version>${version}</version>
+  <!-- <name> formatting is used by autorelease to parse and notify projects on
+       build failure. Please do not modify this unless you have a good reason. -->
+  <name>ODL :: ${groupId} :: ${project.artifactId}</name>
   <packaging>pom</packaging>
 
   <dependencyManagement>
index c05d75c..be72019 100644 (file)
@@ -23,6 +23,9 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   <groupId>${groupId}</groupId>
   <artifactId>${artifactId}-cli</artifactId>
   <version>${version}</version>
+  <!-- <name> formatting is used by autorelease to parse and notify projects on
+       build failure. Please do not modify this unless you have a good reason. -->
+  <name>ODL :: ${groupId} :: ${project.artifactId}</name>
   <packaging>bundle</packaging>
 
   <dependencies>
index c42c759..ccd1f57 100644 (file)
@@ -22,7 +22,9 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
   <groupId>${groupId}</groupId>
   <artifactId>${artifactId}-features</artifactId>
   <version>${version}</version>
-  <name>${project.artifactId}</name>
+  <!-- <name> formatting is used by autorelease to parse and notify projects on
+       build failure. Please do not modify this unless you have a good reason. -->
+  <name>ODL :: ${groupId} :: ${project.artifactId}</name>
 
   <properties>
     <mdsal.model.version>0.10.0-SNAPSHOT</mdsal.model.version>
index a4ede26..99b6a10 100644 (file)
@@ -23,6 +23,9 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   <groupId>${groupId}</groupId>
   <artifactId>${artifactId}-impl</artifactId>
   <version>${version}</version>
+  <!-- <name> formatting is used by autorelease to parse and notify projects on
+       build failure. Please do not modify this unless you have a good reason. -->
+  <name>ODL :: ${groupId} :: ${project.artifactId}</name>
   <packaging>bundle</packaging>
 
   <dependencies>
index 8785ff3..fe3d021 100644 (file)
@@ -19,6 +19,9 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   <groupId>${groupId}</groupId>
   <artifactId>${artifactId}-it</artifactId>
   <version>${version}</version>
+  <!-- <name> formatting is used by autorelease to parse and notify projects on
+       build failure. Please do not modify this unless you have a good reason. -->
+  <name>ODL :: ${groupId} :: ${project.artifactId}</name>
   <packaging>bundle</packaging>
 
   <properties>
index e0d18c9..4bcb2b5 100644 (file)
@@ -20,7 +20,9 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
   <groupId>${groupId}</groupId>
   <artifactId>${artifactId}-karaf</artifactId>
   <version>${version}</version>
-  <name>${project.artifactId}</name>
+  <!-- <name> formatting is used by autorelease to parse and notify projects on
+       build failure. Please do not modify this unless you have a good reason. -->
+  <name>ODL :: ${groupId} :: ${project.artifactId}</name>
 
   <properties>
     <karaf.localFeature>odl-${artifactId}-ui</karaf.localFeature>
index bccc1a0..2f0c96c 100644 (file)
@@ -18,7 +18,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
   <groupId>${groupId}</groupId>
   <artifactId>${artifactId}-aggregator</artifactId>
   <version>${version}</version>
-  <name>${artifactId}</name>
+  <name>${artifactId}</name> <!-- DO NOT CHANGE - Used by Sonar to set project name -->
   <packaging>pom</packaging>
 
   <scm>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.