On 28.05.2015, at 19:57, Marshall Schor <[email protected]> wrote:

> Thanks, Richard, this is helpful!
> 
> The alreadyCopied method - the signature was changed; I've added back the
> previous one.  This was found also by a user.
> 
> The removing of the field ILLEGAL_CAS_COPY... etc is an error message for an
> error that wasn't being thrown, since
> https://issues.apache.org/jira/browse/UIMA-2409 when the cas copier was 
> extended
> to allow more variants.  This error message was commented out for many 
> updates,
> and finally removed.
> 
> What are the things the tool is finding re: API changes from 2.7.0 to 2.7.1 ?

[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-compatibility) @ 
uimaj-core ---
[INFO] Version specified as <2.7.0>
[INFO] Using 
</Users/bluefire/.m2/repository/org/apache/uima/uimaj-core/2.7.0/uimaj-core-2.7.0.jar>
 as previous JAR
[INFO] Using 
</Users/bluefire/UKP/Workspaces/dkpro-juno/uimaj/uimaj-core/target/uima-core.jar>
 as current JAR
Class org.apache.uima.jcas.JCas
 Added Method getAnnotationIndex, sig 
<T:Lorg/apache/uima/jcas/tcas/Annotation;>(Ljava/lang/Class<TT;>;)Lorg/apache/uima/cas/text/AnnotationIndex<TT;>;,
 desc (Ljava/lang/Class;)Lorg/apache/uima/cas/text/AnnotationIndex;, access 
abstract public
 Added Method getIndex, sig 
<T:Lorg/apache/uima/jcas/cas/TOP;>(Ljava/lang/String;Ljava/lang/Class<TT;>;)Lorg/apache/uima/cas/FSIndex<TT;>;,
 desc (Ljava/lang/String;Ljava/lang/Class;)Lorg/apache/uima/cas/FSIndex;, 
access abstract public
 Added Method getAllIndexedFS, sig 
<T:Lorg/apache/uima/jcas/cas/TOP;>(Ljava/lang/Class<TT;>;)Lorg/apache/uima/cas/FSIterator<TT;>;,
 desc (Ljava/lang/Class;)Lorg/apache/uima/cas/FSIterator;, access abstract 
public
Class org.apache.uima.util.CasCopier
 Added Method alreadyCopied, desc (Lorg/apache/uima/cas/FeatureStructure;)Z, 
access public
[WARNING] Rule 0: org.semver.enforcer.RequireBackwardCompatibility failed with 
message:
Current codebase is not backward compatible (BACKWARD_COMPATIBLE_IMPLEMENTER) 
with version <2.7.0>. Compatibility type has been detected as 
<BACKWARD_COMPATIBLE_USER>

--> So according to the plugin, the next version should be 2.8.0. Its notion
of versioning might differ from yours. SemVer wants to change the minor version
whenever any change is made to public API. Only changes not visible in the API
are allowed for a patch-level change.

> I tried running this, but the enforcer plugin says,
> org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce for parameter
> rules: Cannot load implementation hint
> 'org.semver.enforcer.RequireBackwardCompatibility'
> 
> What am I missing?

No idea what you are missing. But I am committing a profile for this to the SVN
and activate it for uimaj-core. Let's see what Jenkins has to say.

Cheers,

-- Richard

Reply via email to