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 <[email protected]> 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 <[email protected]> Authored: Wed Sep 13 10:36:52 2017 +1000 Committer: Peter Ansell <[email protected]> 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>
