Configure versions-maven-plugin 80/118080/3
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 18 Feb 2021 20:20:49 +0000 (15:20 -0500)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 18 Feb 2021 22:17:23 +0000 (14:17 -0800)
This change is to fix stage-release whose maven goal
versions:update-child-modules is not updating child module
versions as expected.

See sub-task CPS-239 of story CPS-175 for more details.

Issue-ID: CPS-175
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: Ieb0e8cd576522d0ba2fd448eacd68679a97688e1
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
pom.xml

diff --git a/pom.xml b/pom.xml
index d8bd8c9..22742a3 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,3 +1,22 @@
+<!--\r
+  ============LICENSE_START=======================================================\r
+  Copyright (c) 2020 Linux Foundation.\r
+  Modifications Copyright (C) 2021 Bell Canada.\r
+  ================================================================================\r
+  Licensed under the Apache License, Version 2.0 (the "License");\r
+  you may not use this file except in compliance with the License.\r
+  You may obtain a copy of the License at\r
+\r
+        http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+  Unless required by applicable law or agreed to in writing, software\r
+  distributed under the License is distributed on an "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+  See the License for the specific language governing permissions and\r
+  limitations under the License.\r
+  ============LICENSE_END=========================================================\r
+-->\r
+\r
 <project xmlns="http://maven.apache.org/POM/4.0.0"\r
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">\r
         <module>spotbugs</module>\r
         <module>cps-application</module>\r
     </modules>\r
+\r
+    <build>\r
+        <plugins>\r
+            <plugin>\r
+                <groupId>org.codehaus.mojo</groupId>\r
+                <artifactId>versions-maven-plugin</artifactId>\r
+                <version>2.8.1</version>\r
+                <configuration>\r
+                    <processAllModules>true</processAllModules>\r
+                </configuration>\r
+            </plugin>\r
+        </plugins>\r
+    </build>\r
+\r
 </project>\r