commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COMMONSRDF-62) japicmp-maven-plugin breaking build because there is at least one incompatibility
Date Wed, 13 Sep 2017 00:42:00 GMT

    [ https://issues.apache.org/jira/browse/COMMONSRDF-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16163955#comment-16163955
] 

ASF GitHub Bot commented on COMMONSRDF-62:
------------------------------------------

GitHub user ansell opened a pull request:

    https://github.com/apache/commons-rdf/pull/39

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

    japicmp is activated by commons-parent profile with it set to break the build on any incompatibilities.
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.
    
    This is either an alternative, or in addition to, https://github.com/apache/commons-rdf/pull/38
    
    The core reason is that japicmp is not recognising 0.3 -> 0.4 as a major version jump,
in Semantic Versioning terms. It is treating that as a minor version jump, where the API incompatibilities
still apply.
    
    Signed-off-by: Peter Ansell <p_ansell@yahoo.com>

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ansell/commons-rdf COMMONSRDF-62-japicmp

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-rdf/pull/39.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #39
    
----
commit b0af14c5fe03589aea331ae254c345fcd023a79f
Author: Peter Ansell <p_ansell@yahoo.com>
Date:   2017-09-13T00:36:52Z

    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_ansell@yahoo.com>

----


> japicmp-maven-plugin breaking build because there is at least one incompatibility
> ---------------------------------------------------------------------------------
>
>                 Key: COMMONSRDF-62
>                 URL: https://issues.apache.org/jira/browse/COMMONSRDF-62
>             Project: Apache Commons RDF
>          Issue Type: Bug
>          Components: api, build
>    Affects Versions: 0.3.0
>         Environment: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)
> Maven home: /usr/local/Cellar/maven/3.3.9/libexec
> Java version: 1.8.0_131, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"
>            Reporter: Lewis John McGibbney
>            Priority: Blocker
>             Fix For: 1.0.0
>
>
> When I attempt to build using above environment, I get the following
> {code}
> [INFO] Commons RDF ........................................ SUCCESS [  2.897 s]
> [INFO] Commons RDF API .................................... FAILURE [  8.461 s]
> [INFO] Commons RDF impl: Simple ........................... SKIPPED
> [INFO] Commons RDF impl: RDF4j ............................ SKIPPED
> [INFO] Commons RDF impl: Jena ............................. SKIPPED
> [INFO] Commons RDF impl: JSON-LD Java ..................... SKIPPED
> [INFO] Commons RDF Integration tests ...................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 11.626 s
> [INFO] Finished at: 2017-07-24T19:40:13-07:00
> [INFO] Final Memory: 51M/584M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal com.github.siom79.japicmp:japicmp-maven-plugin:0.10.0:cmp
(default) on project commons-rdf-api: Breaking the build because there is at least one incompatibility:
org.apache.commons.rdf.api.RDFSyntax.byName(java.lang.String):METHOD_ADDED_TO_INTERFACE,org.apache.commons.rdf.api.RDFSyntax.equals(java.lang.Object):METHOD_ADDED_TO_INTERFACE,org.apache.commons.rdf.api.RDFSyntax.fileExtension():METHOD_ADDED_TO_INTERFACE,org.apache.commons.rdf.api.RDFSyntax.fileExtensions():METHOD_ADDED_TO_INTERFACE,org.apache.commons.rdf.api.RDFSyntax.hashCode():METHOD_ADDED_TO_INTERFACE,org.apache.commons.rdf.api.RDFSyntax.iri():METHOD_ADDED_TO_INTERFACE,org.apache.commons.rdf.api.RDFSyntax.mediaType():METHOD_ADDED_TO_INTERFACE,org.apache.commons.rdf.api.RDFSyntax.mediaTypes():METHOD_ADDED_TO_INTERFACE,org.apache.commons.rdf.api.RDFSyntax.name():METHOD_ADDED_TO_INTERFACE,org.apache.commons.rdf.api.RDFSyntax.supportsDataset():METHOD_ADDED_TO_INTERFACE,org.apache.commons.rdf.api.RDFSyntax.title():METHOD_ADDED_TO_INTERFACE,org.apache.commons.rdf.api.RDFSyntax.valueOf(java.lang.String):METHOD_REMOVED,org.apache.commons.rdf.api.RDFSyntax.values():METHOD_REMOVED,org.apache.commons.rdf.api.RDFSyntax.w3cSyntaxes():METHOD_ADDED_TO_INTERFACE,java.lang.Comparable[java.lang.Comparable]:INTERFACE_REMOVED,java.io.Serializable[java.io.Serializable]:INTERFACE_REMOVED,org.apache.commons.rdf.api.RDFSyntax:SUPERCLASS_REMOVED,org.apache.commons.rdf.api.RDFSyntax.RDFA_XHTML:FIELD_REMOVED,org.apache.commons.rdf.api.RDFSyntax.RDFA_HTML:FIELD_REMOVED,org.apache.commons.rdf.api.RDFSyntax.mediaType:FIELD_REMOVED,org.apache.commons.rdf.api.RDFSyntax.supportsDataset:FIELD_REMOVED,org.apache.commons.rdf.api.RDFSyntax.fileExtension:FIELD_REMOVED,org.apache.commons.rdf.api.RDFSyntax:CLASS_NOW_ABSTRACT,org.apache.commons.rdf.api.RDFSyntax:CLASS_TYPE_CHANGED
-> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :commons-rdf-api
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message