summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2021-02-18 15:20:49 -0500
committerJessica Wagantall <jwagantall@linuxfoundation.org>2021-02-18 14:17:23 -0800
commitbf80026ac03f50e0cdf22f90a8c92d976d143aa5 (patch)
tree4f7b7a19276a21d72c58e36397491b99b4f637da
parent55c4135bff02800659ddc4d2de15222ba229ac51 (diff)
Configure versions-maven-plugin
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>
-rw-r--r--pom.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index d8bd8c90e2..22742a34ea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,3 +1,22 @@
+<!--
+ ============LICENSE_START=======================================================
+ Copyright (c) 2020 Linux Foundation.
+ Modifications Copyright (C) 2021 Bell Canada.
+ ================================================================================
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ ============LICENSE_END=========================================================
+-->
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
@@ -39,4 +58,18 @@
<module>spotbugs</module>
<module>cps-application</module>
</modules>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>versions-maven-plugin</artifactId>
+ <version>2.8.1</version>
+ <configuration>
+ <processAllModules>true</processAllModules>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
</project>