From 0b9d4c25e082d10bbeb7de203a4bd79df6c8b80f Mon Sep 17 00:00:00 2001 From: Richard Eckart de Castilho Date: Wed, 25 Sep 2024 16:13:23 +0200 Subject: [PATCH] Issue #390: Merge uimaFIT modules into UIMAJ repository - UIMA Parent POM 17 -> 18-SNAPSHOT - Update migration guide a bit - Added option to skip the docs during the build - Update the JavaDoc plugin configuration - Set goal prefix for the pear maven plugin --- PearPackagingMavenPlugin/pom.xml | 20 +- pom.xml | 110 ++-- uimaj-bom/pom.xml | 2 +- uimaj-documentation/pom.xml | 519 +++++++++--------- .../asciidoc/fit/tools.uimafit.migration.adoc | 7 + uimaj-parent/pom.xml | 4 +- 6 files changed, 347 insertions(+), 315 deletions(-) diff --git a/PearPackagingMavenPlugin/pom.xml b/PearPackagingMavenPlugin/pom.xml index db4fddd1c..7c972f4d2 100644 --- a/PearPackagingMavenPlugin/pom.xml +++ b/PearPackagingMavenPlugin/pom.xml @@ -17,7 +17,9 @@ specific language governing permissions and limitations under the License. --> - + 4.0.0 @@ -55,7 +57,7 @@ maven-core provided - + org.apache.maven maven-model @@ -73,4 +75,18 @@ commons-io + + + + + + org.apache.maven.plugins + maven-plugin-plugin + + pear + + + + + diff --git a/pom.xml b/pom.xml index cca24a900..6b7d31136 100644 --- a/pom.xml +++ b/pom.xml @@ -199,74 +199,74 @@ prepare-package - javadoc + aggregate-no-fork + false - Packages - * + Core + + org.apache.uima:org.apache.uima.analysis_component:org.apache.uima.analysis_engine*:org.apache.uima.cas:org.apache.uima.cas_data*:org.apache.uima.cas.*:org.apache.uima.collection*:org.apache.uima.flow*:org.apache.uima.impl*:org.apache.uima.jcas*:org.apache.uima.resource*:org.apache.uima.search*:org.apache.uima.spi*:org.apache.uima.uimacpp*:org.apache.uima.util* + uimaFIT - org.apache.uima.fit.component*:org.apache.uima.fit.descriptor*:org.apache.uima.fit.factory*:org.apache.uima.fit.pipeline*:org.apache.uima.fit.testing*:org.apache.uima.fit.util* + + org.apache.uima.fit.component*:org.apache.uima.fit.descriptor*:org.apache.uima.fit.factory*:org.apache.uima.fit.pipeline*:org.apache.uima.fit.util*:org.apache.uima.fit.validation + + + + CPE + + org.apache.uima.fit.cpe*:org.apache.uima.collection.impl* + + + + IO + + org.apache.uima.json + + + + PEAR + + org.apache.uima.pear:org.apache.uima.pear.* + + + + Spring + + org.apache.uima.fit.spring:org.apache.uima.fit.spring.* + + + + Tools + + org.apache.uima.tools:org.apache.uima.tools.*:org.apache.uima.jcas.jcasgenp:org.apache.uima.bootstrap:org.apache.uima.migratev3.jcas + + + + Testing + + org.apache.uima.test*:org.apache.uima.fit.testing.*:org.apache.uima.fit.benchmark + + + + Examples + + org.apache.uima.examples:org.apache.uima.fit.examples.* + - CPE support - org.apache.uima.fit.cpe* + Internal + + *.type:*.internal:*.internal.*:*.impl.*:org.apache.vinci.*:org.apache.uima.adapter.vinci*:org.apache.uima.PearPackagingMavenPlugin:org.apache.uima.fit.maven:org.apache.uima.fit.maven.*:org.apache.uima.it.*:org.apache.uima.taeconfigurator:org.apache.uima.taeconfigurator.*:org.apache.uima.ep*:org.apache.uima.caseditor:org.apache.uima.caseditor.*:org.apache.uima.analysis_engine.service.impl:org.apache.uima.analysis_engine.metadata.impl:org.apache.uima.analysis_engine.impl:org.apache.uima.analysis_engine.asb.impl:org.apache.uima.analysis_engine.asb:org.apache.uima.cas_data.impl:org.apache.uima.impl:org.apache.uima.flow.impl:org.apache.uima.jcas.impl:org.apache.uima.cas.impl:org.apache.uima.util.impl:org.apache.uima.cas_data.impl.vinci:org.apache.uima.analysis_engine.impl.compatibility:org.apache.uima.jcasgen_maven_plugin:org.apache.uima.search.impl:org.apache.uima.resource.impl:org.apache.uima.uimacpp:org.apache.uima.resource.metadata.impl:org.apache.uima.resource.service.impl:org.apache.uima.fit.internal:org.apache.uima.fit.internal.*:org.apache.uima.internal.*:org.apache.uima.json.impl + - uimaj-core/src/main/java;uimaj-json/src/main/java;uimaj-document-annotation/src/main/java;uimafit-core/src/main/java;uimafit-cpe/src/main/java - *.type:*.internal.*:*.impl.* Apache UIMA Java SDK ${project.version} User-Level API Documentation Apache UIMA Java SDK ${project.version} User-Level API Documentation - - - com.fasterxml.jackson.core - jackson-core - ${jackson-version} - - - org.slf4j - slf4j-api - ${slf4j-version} - - - org.apache.logging.log4j - log4j-api - ${log4j-version} - - - org.apache.logging.log4j - log4j-core - ${log4j-version} - - - commons-io - commons-io - ${commons-io-version} - - - org.springframework - spring-core - ${spring-version} - - - org.springframework - spring-beans - ${spring-version} - - - org.springframework - spring-context - ${spring-version} - - - org.apache.commons - commons-lang3 - ${commons-lang3-version} - - diff --git a/uimaj-bom/pom.xml b/uimaj-bom/pom.xml index 6c747d29e..f78600923 100644 --- a/uimaj-bom/pom.xml +++ b/uimaj-bom/pom.xml @@ -24,7 +24,7 @@ org.apache.uima parent-pom - 17 + 18-SNAPSHOT uimaj-bom diff --git a/uimaj-documentation/pom.xml b/uimaj-documentation/pom.xml index e5b833eaa..657b8e991 100644 --- a/uimaj-documentation/pom.xml +++ b/uimaj-documentation/pom.xml @@ -36,265 +36,274 @@ true - - - - org.asciidoctor - asciidoctor-maven-plugin - ${asciidoctor.plugin.version} - - ${project.build.directory}/site/d - webfonts! - - true - book - 8 - true - true - true - ${project.version} - ${project.version} - https://uima.apache.org - true - short - - - asciidoctor-pdf - - - - - tug-html - generate-resources - - process-asciidoc - - - tug.adoc - html5 - - left - ./tug - - - - - tug-pdf - generate-resources - - process-asciidoc - - - tug.adoc - pdf - - preamble - ./tug - - - - - oas-html - generate-resources - - process-asciidoc - - - oas.adoc - html5 - - left - ./oas - - - - - oas-pdf - generate-resources - - process-asciidoc - - - oas.adoc - pdf - - preamble - ./oas - - - - - ref-html - generate-resources - - process-asciidoc - - - ref.adoc - html5 - - left - ./ref - - - - - ref-pdf - generate-resources - - process-asciidoc - - - ref.adoc - pdf - - preamble - ./ref - - - - - tools-html - generate-resources - - process-asciidoc - - - tools.adoc - html5 - - left - ./tools - - - - - tools-pdf - generate-resources - - process-asciidoc - - - tools.adoc - pdf - - preamble - ./tools - - - - - maint-html - generate-resources - - process-asciidoc - - - maint.adoc - html5 - - left - ./maint - - - - - maint-pdf - generate-resources - - process-asciidoc - - - maint.adoc - pdf - - preamble - ./maint - - - - - user-html - generate-resources - - process-asciidoc - - - user.adoc - html5 - - left - ./user - - - - - user-pdf - generate-resources - - process-asciidoc - - - user.adoc - pdf - - preamble - ./user - - - - - fit-html - generate-resources - - process-asciidoc - - - fit.adoc - html5 - - left - ./fit - - - - - fit-pdf - generate-resources - - process-asciidoc - + + + docs + + + !skipDocs + + + + + + org.asciidoctor + asciidoctor-maven-plugin + ${asciidoctor.plugin.version} - fit.adoc - pdf + ${project.build.directory}/site/d + webfonts! - preamble - ./fit + true + book + 8 + true + true + true + ${project.version} + ${project.version} + https://uima.apache.org + true + short + + asciidoctor-pdf + - - - - - org.jruby - jruby - 9.4.3.0 - - - org.asciidoctor - asciidoctorj - ${asciidoctor.version} - - - org.asciidoctor - asciidoctorj-pdf - ${asciidoctor.pdf.version} - - - - - - + + + tug-html + generate-resources + + process-asciidoc + + + tug.adoc + html5 + + left + ./tug + + + + + tug-pdf + generate-resources + + process-asciidoc + + + tug.adoc + pdf + + preamble + ./tug + + + + + oas-html + generate-resources + + process-asciidoc + + + oas.adoc + html5 + + left + ./oas + + + + + oas-pdf + generate-resources + + process-asciidoc + + + oas.adoc + pdf + + preamble + ./oas + + + + + ref-html + generate-resources + + process-asciidoc + + + ref.adoc + html5 + + left + ./ref + + + + + ref-pdf + generate-resources + + process-asciidoc + + + ref.adoc + pdf + + preamble + ./ref + + + + + tools-html + generate-resources + + process-asciidoc + + + tools.adoc + html5 + + left + ./tools + + + + + tools-pdf + generate-resources + + process-asciidoc + + + tools.adoc + pdf + + preamble + ./tools + + + + + maint-html + generate-resources + + process-asciidoc + + + maint.adoc + html5 + + left + ./maint + + + + + maint-pdf + generate-resources + + process-asciidoc + + + maint.adoc + pdf + + preamble + ./maint + + + + + user-html + generate-resources + + process-asciidoc + + + user.adoc + html5 + + left + ./user + + + + + user-pdf + generate-resources + + process-asciidoc + + + user.adoc + pdf + + preamble + ./user + + + + + fit-html + generate-resources + + process-asciidoc + + + fit.adoc + html5 + + left + ./fit + + + + + fit-pdf + generate-resources + + process-asciidoc + + + fit.adoc + pdf + + preamble + ./fit + + + + + + + org.jruby + jruby + 9.4.3.0 + + + org.asciidoctor + asciidoctorj + ${asciidoctor.version} + + + org.asciidoctor + asciidoctorj-pdf + ${asciidoctor.pdf.version} + + + + + + + m2e diff --git a/uimaj-documentation/src/docs/asciidoc/fit/tools.uimafit.migration.adoc b/uimaj-documentation/src/docs/asciidoc/fit/tools.uimafit.migration.adoc index c6b11e1d4..f656abb31 100644 --- a/uimaj-documentation/src/docs/asciidoc/fit/tools.uimafit.migration.adoc +++ b/uimaj-documentation/src/docs/asciidoc/fit/tools.uimafit.migration.adoc @@ -20,6 +20,13 @@ This section provides helpful information on incompatible changes between versions. +== Version 3.1.x to 3.6.x + +uimaFIT has now been integrated into the UIMA Java SDK. + +If you are using the `uimafit-bom` to import managed dependencies, please switch to the `uima-bom` which now also +manages the version of the `uimafit-*` artifacts. + == Version 3.0.x to 3.1.x .Changes to ExternalResourceFactory diff --git a/uimaj-parent/pom.xml b/uimaj-parent/pom.xml index 6da3f856c..041ec4a98 100644 --- a/uimaj-parent/pom.xml +++ b/uimaj-parent/pom.xml @@ -31,7 +31,7 @@ org.apache.uima parent-pom - 17 + 18-SNAPSHOT @@ -86,6 +86,7 @@ - The Eclipse Plugin modules use version ranges for their dependencies. These could resolve to - SNAPSHOT versions if we have a SNAPSHOT repo declaration here. Thus, this repo should only - be enabled when really needed. + --> apache.snapshots Apache Snapshot Repository @@ -97,7 +98,6 @@ true - --> ${eclipseP2RepoId}