You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Marshall Schor <ms...@schor.com> on 2017/03/06 21:21:54 UTC

[VOTE] uima-sdk-3.0.0-alpha02 rc2

Hi,

The 2nd release candidate for 3.0.0-alpha02 is posted and ready for voting.

Apologies ahead of time for labeling the artifacts as rc1 instead of rc2!  I'm
treating this as not a blocker, since the rc info is not part of the actual release.

The main changes since the previous rc for alpha02:

[UIMA-5321] update lic/notice for slf4j
[UIMA-5319] fix api change report to delta from 2.9.0 level, also drop (filter
out) _Type and .internal. things to make the report more meaningful
update logging docs -  v3 user guide
[UIMA-5335] relax xml schema to allow index labels to have blanks in them
switch default logger to slf4j in factory config
[UIMA-5324] add logger suppression support
[UIMA-5346] fix to fs equals and sortCompare
[UIMA-5343] make logger levels match uimaFIT mappings
[UIMA-5353] upgrade uimaj-ep-debug plugin to use current earlyStartup api, old
one no longer working without the old compatibility package

changes from the previous 2  postings:

---------------------

The main changes:

 - Eclipse update site is now separate - it's under it's own high-level folder,
uimaj-v3-pre-production

 - the main eclipse update site was updated to include this as an additional
subsite.

 - The "select" framework APIs had javadocs added and some fixes which resulted
in API changes for some methods.

 - Logging was upgraded in two ways:  The log4j back end for the UIMA logger was
upgraded to log4j 2 (the current version).
  And, support was added for the slf4j logging facade.

 - changes made to uimaj-2.9.0 were merged.

 - Various implementations of UIMA built-in types which have corresponding Java
8 non-boxing versions of methods were
    augmented to support non-boxing alternatives; see the API changes report for
details.

 - a new report is available (similar to issues fixed) in the source-release and
binary distributions called api-change-report.html.

----------- (from the first alpha release vote: -------------

If you happen to use JCas in your pipelines, and have JCas classes other than
the standard built-in ones, these classes will need to be regenerated or
migrated.  If you use the Maven JCasGen plugin to generate the JCas classes as
part of your project's build, your good - nothing special need be done.

There is a migration tool, and there are scripts to run it, as well as Eclipse
launch configurations to run it.  The instructions for running this are in a new
documentation "book", part of the binary distribution (html and pdf) - it's
called the Uima V3 User's Guide.

The guide also has an overview section which lists the new features of this
release.  Many of these need more test cases written for them; I'm happy to
mentor any volunteers who want to improve the testing  .

---------------------

The list of changes in Jira: 

https://issues.apache.org/jira/issues/?jql=project%20%3D%20UIMA%20AND%20fixVersion%20%3D%203.0.0SDK-alpha02

The source and binary zip/tars and the Eclipse update site are staged to

https://dist.apache.org/repos/dist/dev/uima/uimaj-v3/uimaj-3.0.0-alpha02-rc1

The eclipse update site is a folder called "uimaj-v3-pre-production"
The artifacts are in the folder "artifacts".

The Maven artifacts are here: 
https://repository.apache.org/content/repositories/orgapacheuima-1125/

The SVN tag is here:
https://svn.apache.org/repos/asf/uima/uimaj/tags/uimaj-3.0.0-alpha02/


Please vote on release:

[ ] +1 OK to release
[ ] 0   Don't care
[ ] -1 Not OK to release, because ...

Thanks.

-Marshall



Re: [VOTE] uima-sdk-3.0.0-alpha02 rc2

Posted by Marshall Schor <ms...@schor.com>.
svn tag compare with source-release: OK

issues-fixed: OK

signatures OK

install into Neon: OK.

api change report: OK

build from sources: OK

In binary distribution: ran adjustExamplePaths, and documentAnalyzer , ran a
tutorial pipeline, looked at results: OK

LICENSE/NOTICE: has changes from missing parts discovered at end of last release
- OK

Spot check of artifacts on repository.apache.org: OK

[X] +1 OK to release

-Marshall Schor

On 3/6/2017 4:21 PM, Marshall Schor wrote:
> Hi,
>
> The 2nd release candidate for 3.0.0-alpha02 is posted and ready for voting.
>
> Apologies ahead of time for labeling the artifacts as rc1 instead of rc2!  I'm
> treating this as not a blocker, since the rc info is not part of the actual release.
>
> The main changes since the previous rc for alpha02:
>
> [UIMA-5321] update lic/notice for slf4j
> [UIMA-5319] fix api change report to delta from 2.9.0 level, also drop (filter
> out) _Type and .internal. things to make the report more meaningful
> update logging docs -  v3 user guide
> [UIMA-5335] relax xml schema to allow index labels to have blanks in them
> switch default logger to slf4j in factory config
> [UIMA-5324] add logger suppression support
> [UIMA-5346] fix to fs equals and sortCompare
> [UIMA-5343] make logger levels match uimaFIT mappings
> [UIMA-5353] upgrade uimaj-ep-debug plugin to use current earlyStartup api, old
> one no longer working without the old compatibility package
>
> changes from the previous 2  postings:
>
> ---------------------
>
> The main changes:
>
>  - Eclipse update site is now separate - it's under it's own high-level folder,
> uimaj-v3-pre-production
>
>  - the main eclipse update site was updated to include this as an additional
> subsite.
>
>  - The "select" framework APIs had javadocs added and some fixes which resulted
> in API changes for some methods.
>
>  - Logging was upgraded in two ways:  The log4j back end for the UIMA logger was
> upgraded to log4j 2 (the current version).
>   And, support was added for the slf4j logging facade.
>
>  - changes made to uimaj-2.9.0 were merged.
>
>  - Various implementations of UIMA built-in types which have corresponding Java
> 8 non-boxing versions of methods were
>     augmented to support non-boxing alternatives; see the API changes report for
> details.
>
>  - a new report is available (similar to issues fixed) in the source-release and
> binary distributions called api-change-report.html.
>
> ----------- (from the first alpha release vote: -------------
>
> If you happen to use JCas in your pipelines, and have JCas classes other than
> the standard built-in ones, these classes will need to be regenerated or
> migrated.  If you use the Maven JCasGen plugin to generate the JCas classes as
> part of your project's build, your good - nothing special need be done.
>
> There is a migration tool, and there are scripts to run it, as well as Eclipse
> launch configurations to run it.  The instructions for running this are in a new
> documentation "book", part of the binary distribution (html and pdf) - it's
> called the Uima V3 User's Guide.
>
> The guide also has an overview section which lists the new features of this
> release.  Many of these need more test cases written for them; I'm happy to
> mentor any volunteers who want to improve the testing  .
>
> ---------------------
>
> The list of changes in Jira: 
>
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20UIMA%20AND%20fixVersion%20%3D%203.0.0SDK-alpha02
>
> The source and binary zip/tars and the Eclipse update site are staged to
>
> https://dist.apache.org/repos/dist/dev/uima/uimaj-v3/uimaj-3.0.0-alpha02-rc1
>
> The eclipse update site is a folder called "uimaj-v3-pre-production"
> The artifacts are in the folder "artifacts".
>
> The Maven artifacts are here: 
> https://repository.apache.org/content/repositories/orgapacheuima-1125/
>
> The SVN tag is here:
> https://svn.apache.org/repos/asf/uima/uimaj/tags/uimaj-3.0.0-alpha02/
>
>
> Please vote on release:
>
> [ ] +1 OK to release
> [ ] 0   Don't care
> [ ] -1 Not OK to release, because ...
>
> Thanks.
>
> -Marshall
>
>
>


Re: [VOTE] uima-sdk-3.0.0-alpha02 rc2

Posted by Marshall Schor <ms...@schor.com>.
Tested this with uimaFIT-v3 and ruta.

uimaFIT-v3 is also a Jenkins job - running ok.

For ruta testing, here are the changes I did to get it to build (including
running the junit and integration tests):

I started with the 2.6.0 tag - checked out from SVN (current release candidate)

1) change poms to 2.6.0-v3-SNAPSHOT

2) in ruta-parent:  depend on the right versions.
       <uimaVersion>3.0.0-alpha02</uimaVersion> <!-- not yet released, but is in
my local .m2 -->
    <uimafit-version>3.0.0-SNAPSHOT</uimafit-version>   <!-- build this first
:-) -->

    <maven.compiler.target>1.8</maven.compiler.target>  <!-- require Java 8 -->
    <maven.compiler.source>1.8</maven.compiler.source>

3) ran the uima v3 migration tool on **ruta-basic-type**, and replaced RutaBasic
with new version (and deleted RutaBasic_Type - to prevent compile errors - the
xxx_Type classes are not used in UIMA v3).

To run the migration tool,
    a) get a new Eclipse
    b) install the UIMA V3 not-for-production-use v3 tools (includes runtime)
                c) import Ruta into a workspace for this Eclipse
    d) select the ruta-basic type in the package explorer
    e) run UIMA Run V3 migrate JCas from sources roots
        It generates the results into a temporary directory, the directory is in
the console log.
Check the results (if you want) by importing into a temp Eclipse project the
temporary directory,
and then using Eclipse's compare to compare (with each other)
    converted/v2
    converted/v3
Replace the original v2 version with the v3 version, and delete the _Type.java file.

3) Some of the ep plugins need the version of the maven-bundle-plugin updated to
3.0.1; otherwise there are strange errors about missing dependencies.  I'm not
sure why.  It may have something to do with Java 8.
 
Plugins needing upgrading to 3.0.1 to avoid this issue are:
    ruta-ep-example-extensions
    ruta-ep-addons
    ruta-ep-core-ext
    ruta-ep-engine
    ruta-ep-ide
    ruta-ep-ide-ui
    ruta-ep-textruler

I had issues in core uima with making **all** of the maven-bundle-plugin version
3.0.1 - everything appeared to work OK, but the building of the update site P2
repository for some reason left out some of the plugins.  When I reverted back
to 2.3.7, for those, it worked.  So this might take more investigation to get to
the underlying root causes.

4) I had to fix an (already reported) problem in ruta-ep-example-extensions
where the type system for NBSP's super type was incorrect.  Changed in
example-projects/ruta-ep-example-extensions, the src/test/resources 
/org/apache/uima  /ruta/example/extensions  /BasicTypeSystem.xml:  supertype for
NBSP changed to org.apache.uima.ruta.type SPACE (was ...ANY).

5) [Enable test case logging] Because the default logging in core uima is a NOP,
add a dependency to 5 projects that want the v2-style logging for testing:
Note scope: test:

    <!-- hook up to standard Java logger as back end -->
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-jdk14</artifactId>
      <scope>test</scope>
    </dependency>

To make this work without <version>, put the version info in the common
ruta-parent-pom in the <dependencyManagement> section:

    <!-- hook up to standard Java logger as back end -->
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-jdk14</artifactId>
      <version>1.7.24</version>
      <scope>test</scope>
    </dependency>
     
projects:
    ruta-core
    ruta-core-ext
    ruta-maven-plugin
    example-projects/ruta-ep-example-extensions
    example-projects/ruta-maven-example

With these changes, I could build everything (including the junit and
integration tests) with mvn clean install.

-Marshall

Re: [VOTE] [CANCELLED] uima-sdk-3.0.0-alpha02 rc2

Posted by Marshall Schor <ms...@schor.com>.
I found a bug in a last minute change to the Eclipse launcher for v3 jcas
migration. 

Cancelling to fix this. 

-Marshall


On 3/6/2017 4:21 PM, Marshall Schor wrote:
> Hi,
>
> The 2nd release candidate for 3.0.0-alpha02 is posted and ready for voting.
>
> Apologies ahead of time for labeling the artifacts as rc1 instead of rc2!  I'm
> treating this as not a blocker, since the rc info is not part of the actual release.
>
> The main changes since the previous rc for alpha02:
>
> [UIMA-5321] update lic/notice for slf4j
> [UIMA-5319] fix api change report to delta from 2.9.0 level, also drop (filter
> out) _Type and .internal. things to make the report more meaningful
> update logging docs -  v3 user guide
> [UIMA-5335] relax xml schema to allow index labels to have blanks in them
> switch default logger to slf4j in factory config
> [UIMA-5324] add logger suppression support
> [UIMA-5346] fix to fs equals and sortCompare
> [UIMA-5343] make logger levels match uimaFIT mappings
> [UIMA-5353] upgrade uimaj-ep-debug plugin to use current earlyStartup api, old
> one no longer working without the old compatibility package
>
> changes from the previous 2  postings:
>
> ---------------------
>
> The main changes:
>
>  - Eclipse update site is now separate - it's under it's own high-level folder,
> uimaj-v3-pre-production
>
>  - the main eclipse update site was updated to include this as an additional
> subsite.
>
>  - The "select" framework APIs had javadocs added and some fixes which resulted
> in API changes for some methods.
>
>  - Logging was upgraded in two ways:  The log4j back end for the UIMA logger was
> upgraded to log4j 2 (the current version).
>   And, support was added for the slf4j logging facade.
>
>  - changes made to uimaj-2.9.0 were merged.
>
>  - Various implementations of UIMA built-in types which have corresponding Java
> 8 non-boxing versions of methods were
>     augmented to support non-boxing alternatives; see the API changes report for
> details.
>
>  - a new report is available (similar to issues fixed) in the source-release and
> binary distributions called api-change-report.html.
>
> ----------- (from the first alpha release vote: -------------
>
> If you happen to use JCas in your pipelines, and have JCas classes other than
> the standard built-in ones, these classes will need to be regenerated or
> migrated.  If you use the Maven JCasGen plugin to generate the JCas classes as
> part of your project's build, your good - nothing special need be done.
>
> There is a migration tool, and there are scripts to run it, as well as Eclipse
> launch configurations to run it.  The instructions for running this are in a new
> documentation "book", part of the binary distribution (html and pdf) - it's
> called the Uima V3 User's Guide.
>
> The guide also has an overview section which lists the new features of this
> release.  Many of these need more test cases written for them; I'm happy to
> mentor any volunteers who want to improve the testing  .
>
> ---------------------
>
> The list of changes in Jira: 
>
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20UIMA%20AND%20fixVersion%20%3D%203.0.0SDK-alpha02
>
> The source and binary zip/tars and the Eclipse update site are staged to
>
> https://dist.apache.org/repos/dist/dev/uima/uimaj-v3/uimaj-3.0.0-alpha02-rc1
>
> The eclipse update site is a folder called "uimaj-v3-pre-production"
> The artifacts are in the folder "artifacts".
>
> The Maven artifacts are here: 
> https://repository.apache.org/content/repositories/orgapacheuima-1125/
>
> The SVN tag is here:
> https://svn.apache.org/repos/asf/uima/uimaj/tags/uimaj-3.0.0-alpha02/
>
>
> Please vote on release:
>
> [ ] +1 OK to release
> [ ] 0   Don't care
> [ ] -1 Not OK to release, because ...
>
> Thanks.
>
> -Marshall
>
>
>