You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2023/01/12 09:01:18 UTC

[sling-org-apache-sling-testing-sling-mock-oak] 01/03: Set version policy for managing main version with a suffixed oak version

This is an automated email from the ASF dual-hosted git repository.

sseifert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-sling-mock-oak.git

commit 1c810454d77a6764edc18969f9203a5d93de7cff
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Thu Jan 12 09:57:55 2023 +0100

    Set version policy for managing main version with a suffixed oak version
---
 pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/pom.xml b/pom.xml
index 639f299..24b22d7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -222,6 +222,23 @@
                     </excludes>
                 </configuration>
             </plugin>
+
+            <!-- Set version policy for managing main version with a suffixed oak version -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-release-plugin</artifactId>
+                <configuration>
+                    <projectVersionPolicyId>VersionWithSuffixVersionVersionPolicy</projectVersionPolicyId>
+                </configuration>
+                <dependencies>
+                    <dependency>
+                        <groupId>io.wcm.maven.release-policies</groupId>
+                        <artifactId>io.wcm.maven.release-policies.oddeven-with-suffix-version</artifactId>
+                        <version>1.0.2</version>
+                    </dependency>
+                </dependencies>
+            </plugin>
+
         </plugins>
     </build>