You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by bd...@apache.org on 2025/02/11 22:53:07 UTC

(directory-scimple) branch japicmp created (now aca87338)

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

bdemers pushed a change to branch japicmp
in repository https://gitbox.apache.org/repos/asf/directory-scimple.git


      at aca87338 Add japicmp configuration to parent pom

This branch includes the following new commits:

     new aca87338 Add japicmp configuration to parent pom

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(directory-scimple) 01/01: Add japicmp configuration to parent pom

Posted by bd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bdemers pushed a commit to branch japicmp
in repository https://gitbox.apache.org/repos/asf/directory-scimple.git

commit aca87338060607023e3e4ab47df4de5b89eff8fb
Author: Brian Demers <bd...@apache.org>
AuthorDate: Tue Feb 11 17:52:44 2025 -0500

    Add japicmp configuration to parent pom
    
    This will enable running a semver compatility check between versions, and also provide a means to collect what APIs have change to help alert users
---
 pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/pom.xml b/pom.xml
index bde6b8e0..4be69bda 100644
--- a/pom.xml
+++ b/pom.xml
@@ -482,6 +482,27 @@
         <artifactId>maven-site-plugin</artifactId>
         <version>4.0.0-M16</version>
       </plugin>
+      <plugin>
+        <groupId>com.github.siom79.japicmp</groupId>
+        <artifactId>japicmp-maven-plugin</artifactId>
+        <version>0.23.1</version>
+        <configuration>
+          <oldVersion>
+            <dependency>
+              <groupId>${project.groupId}</groupId>
+              <artifactId>${project.artifactId}</artifactId>
+              <version>${version.previous}</version>
+              <type>${project.packaging}</type>
+            </dependency>
+          </oldVersion>
+          <parameter>
+            <onlyModified>true</onlyModified>
+            <breakBuildOnSourceIncompatibleModifications>false</breakBuildOnSourceIncompatibleModifications>
+            <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
+            <breakBuildBasedOnSemanticVersioning>false</breakBuildBasedOnSemanticVersioning>
+          </parameter>
+        </configuration>
+      </plugin>
       <plugin>
         <groupId>org.jreleaser</groupId>
         <artifactId>jreleaser-maven-plugin</artifactId>