training-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject [incubator-training] branch releases/tools/1.0 updated: - Make the maven-release-plugin release all modules with the same version.
Date Tue, 08 Sep 2020 16:14:12 GMT
This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch releases/tools/1.0
in repository https://gitbox.apache.org/repos/asf/incubator-training.git


The following commit(s) were added to refs/heads/releases/tools/1.0 by this push:
     new 8df00ed  - Make the maven-release-plugin release all modules with the same version.
8df00ed is described below

commit 8df00eda222eb73b63ad6344e82b7f4adbc3b7c9
Author: Christofer Dutz <christofer.dutz@c-ware.de>
AuthorDate: Tue Sep 8 18:13:57 2020 +0200

    - Make the maven-release-plugin release all modules with the same version.
---
 tools/pom.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/tools/pom.xml b/tools/pom.xml
index 733e5b8..d76cfe8 100644
--- a/tools/pom.xml
+++ b/tools/pom.xml
@@ -50,4 +50,17 @@
     <module>content-parent-resources</module>
   </modules>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-release-plugin</artifactId>
+        <configuration>
+          <!-- Tell the plugin to always release all modules using the same version -->
+          <autoVersionSubmodules>true</autoVersionSubmodules>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>


Mime
View raw message