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

Aaron Coburn commented on COMMONSRDF-62:
----------------------------------------

There are changes in the API between version 0.3.0-incubating and the current 
snapshot, so according to semantic versioning, the version in master should be 
1.0.0-SNAPSHOT.

Be that as it may, if you want to be able to build and test the code, this 
command will work:

{noformat}
mvn clean verify 
-Dcommons.japicmp.breakBuildOnBinaryIncompatibleModifications=false
{noformat}


> 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)

Reply via email to