You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/02/03 22:00:45 UTC

[commons-parent] branch master updated: JApiCmp needs a new and old version specification, also don't for get to use the japicmp profile.

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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b1d959  JApiCmp needs a new and old version specification, also don't for get to use the japicmp profile.
8b1d959 is described below

commit 8b1d9596e1d036ee3ae5326617480dcd3970a081
Author: Gary Gregory <gg...@rocketsoftware.com>
AuthorDate: Sun Feb 3 17:00:44 2019 -0500

    JApiCmp needs a new and old version specification, also don't for get to
    use the japicmp profile.
---
 pom.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/pom.xml b/pom.xml
index e92160d..385e146 100644
--- a/pom.xml
+++ b/pom.xml
@@ -327,6 +327,19 @@
           <artifactId>japicmp-maven-plugin</artifactId>
           <version>${commons.japicmp.version}</version>
           <configuration>
+            <oldVersion>
+              <dependency>
+                <groupId>${project.groupId}</groupId>
+                <artifactId>${project.artifactId}</artifactId>
+                <version>${commons.bc.version}</version>
+                <type>jar</type>
+             </dependency>
+            </oldVersion>
+            <newVersion>
+              <file>
+                <path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path>
+              </file>
+            </newVersion>
             <parameter>
               <onlyModified>true</onlyModified>
               <breakBuildOnBinaryIncompatibleModifications>${commons.japicmp.breakBuildOnBinaryIncompatibleModifications}</breakBuildOnBinaryIncompatibleModifications>