You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by st...@apache.org on 2017/09/28 21:24:44 UTC

[1/2] commons-rdf git commit: COMMONSRDF-62 : Ignore japicmp by default while version is 0.x

Repository: commons-rdf
Updated Branches:
  refs/heads/master 482b83138 -> bf9f91327


COMMONSRDF-62 : Ignore japicmp by default while version is 0.x

japicmp is activated by commons-parent profile. In order to have it still run by default, but not break the build, an activeByDefault=true profile is added, which will be switched off by activating any other profiles explicitly, including the release profile, but which allows development of 0.x without interruption from japicmp.

Signed-off-by: Peter Ansell <p_...@yahoo.com>


Project: http://git-wip-us.apache.org/repos/asf/commons-rdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rdf/commit/b0af14c5
Tree: http://git-wip-us.apache.org/repos/asf/commons-rdf/tree/b0af14c5
Diff: http://git-wip-us.apache.org/repos/asf/commons-rdf/diff/b0af14c5

Branch: refs/heads/master
Commit: b0af14c5fe03589aea331ae254c345fcd023a79f
Parents: 482b831
Author: Peter Ansell <p_...@yahoo.com>
Authored: Wed Sep 13 10:36:52 2017 +1000
Committer: Peter Ansell <p_...@yahoo.com>
Committed: Wed Sep 13 10:36:52 2017 +1000

----------------------------------------------------------------------
 pom.xml | 41 +++++++++++++++++++++++++----------------
 1 file changed, 25 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rdf/blob/b0af14c5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e1fa78d..e124566 100644
--- a/pom.xml
+++ b/pom.xml
@@ -450,22 +450,21 @@
                         </lifecycleMappingMetadata>
                     </configuration>
                 </plugin>
-          <plugin>
-        <!-- Check if we broke compatibibility against previous release -->
-        <groupId>com.github.siom79.japicmp</groupId>
-        <artifactId>japicmp-maven-plugin</artifactId>
-        <version>${commons.japicmp.version}</version>
-        <configuration>
-          <parameter>
-            <!-- Tell japicmp about the -incubator suffix for 0.3.0 -->
-            <oldVersionPattern>\d+\.\d+\.\d+\-incubating</oldVersionPattern>
-            <!-- japicmp requires "mvn package site" - below means "mvn
-             site" still works (but without japicmp report) -->
-        <ignoreMissingNewVersion>true</ignoreMissingNewVersion>
-          </parameter>
-        </configuration>
-          </plugin>
-
+                <plugin>
+                    <!-- Check if we broke compatibibility against previous release -->
+                    <groupId>com.github.siom79.japicmp</groupId>
+                    <artifactId>japicmp-maven-plugin</artifactId>
+                    <version>${commons.japicmp.version}</version>
+                    <configuration>
+                        <parameter>
+                            <!-- Tell japicmp about the -incubator suffix for 0.3.0 -->
+                            <oldVersionPattern>\d+\.\d+\.\d+\-incubating</oldVersionPattern>
+                            <!-- japicmp requires "mvn package site" - below means "mvn
+                                 site" still works (but without japicmp report) -->
+                            <ignoreMissingNewVersion>true</ignoreMissingNewVersion>
+                        </parameter>
+                    </configuration>
+                </plugin>
                 <!--
                 <plugin>
                     <groupId>org.codehaus.mojo</groupId>
@@ -582,6 +581,16 @@
 
     <profiles>
         <profile>
+            <id>ignore-japicmp</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <properties>
+                <!-- COMMONSRDF-62 : JAPICMP does not handle 0.x release boundaries as defined in Semantic Versioning -->
+                <commons.japicmp.breakBuildOnBinaryIncompatibleModifications>false</commons.japicmp.breakBuildOnBinaryIncompatibleModifications>
+            </properties>
+        </profile>
+        <profile>
             <id>release</id>
         <!-- extends the release profile from commons -->
             <build>


[2/2] commons-rdf git commit: Merge remote-tracking branch 'ansell/COMMONSRDF-62-japicmp'

Posted by st...@apache.org.
Merge remote-tracking branch 'ansell/COMMONSRDF-62-japicmp'

This closes #39, thanks @ansell!

Signed-off-by: Stian Soiland-Reyes <st...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/commons-rdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rdf/commit/bf9f9132
Tree: http://git-wip-us.apache.org/repos/asf/commons-rdf/tree/bf9f9132
Diff: http://git-wip-us.apache.org/repos/asf/commons-rdf/diff/bf9f9132

Branch: refs/heads/master
Commit: bf9f913278a839033b7967e68f73464d3c502fd2
Parents: 482b831 b0af14c
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Thu Sep 28 22:19:47 2017 +0100
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Thu Sep 28 22:23:55 2017 +0100

----------------------------------------------------------------------
 pom.xml | 41 +++++++++++++++++++++++++----------------
 1 file changed, 25 insertions(+), 16 deletions(-)
----------------------------------------------------------------------