Skip to content

Commit

Permalink
Issue #390: Merge uimaFIT modules into UIMAJ repository
Browse files Browse the repository at this point in the history
- Consolidate dependencies
  • Loading branch information
reckart committed Sep 23, 2024
1 parent bf0d4cc commit c2143a4
Show file tree
Hide file tree
Showing 17 changed files with 95 additions and 194 deletions.
77 changes: 40 additions & 37 deletions jVinci/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,47 +17,50 @@
specific language governing permissions and limitations
under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
</parent>
<parent>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-parent</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../uimaj-parent/pom.xml</relativePath>
</parent>

<artifactId>jVinci</artifactId>
<packaging>bundle</packaging>
<artifactId>jVinci</artifactId>
<packaging>bundle</packaging>

<name>Apache UIMA Base: ${project.artifactId}: Vinci Transport Library</name>
<description>This is a protocol used by the base UIMA Collection processing manager for supporting
networked deployment. See UIMA-AS as a more modern alternative supporting
<name>Apache UIMA Base: ${project.artifactId}: Vinci Transport Library</name>
<description>This is a protocol used by the base UIMA Collection processing
manager for supporting
networked deployment. See UIMA-AS as a more modern alternative supporting
more standard protocols.</description>
<url>${uimaWebsiteUrl}</url>
<url>${uimaWebsiteUrl}</url>

<properties>
<postNoticeText>${ibmNoticeText}</postNoticeText>
</properties>
<properties>
<postNoticeText>${ibmNoticeText}</postNoticeText>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-RequiredExecutionEnvironment>${execution.environment}</Bundle-RequiredExecutionEnvironment>
<_dsannotations>*</_dsannotations>
<_metatypeannotations>*</_metatypeannotations>
<Export-Package>
org.apache.vinci.debug,
org.apache.vinci.transport,
org.apache.vinci.transport.*
</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-RequiredExecutionEnvironment>${execution.environment}</Bundle-RequiredExecutionEnvironment>
<_dsannotations>*</_dsannotations>
<_metatypeannotations>*</_metatypeannotations>
<Export-Package>
org.apache.vinci.debug,
org.apache.vinci.transport,
org.apache.vinci.transport.*
</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
72 changes: 37 additions & 35 deletions uimafit-assertj/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
specific language governing permissions and limitations
under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.apache.uima</groupId>
Expand All @@ -27,44 +29,44 @@
<relativePath>../uimaj-parent/pom.xml</relativePath>
</parent>

<artifactId>uimafit-assertj</artifactId>
<packaging>bundle</packaging>
<artifactId>uimafit-assertj</artifactId>
<packaging>bundle</packaging>

<name>Apache UIMA uimaFIT - AssertJ support</name>
<name>Apache UIMA uimaFIT - AssertJ support</name>

<dependencies>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimafit-core</artifactId>
<dependencies>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimafit-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-core</artifactId>
<version>${project.version}</version>
</dependency>
</dependency>

<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
</dependency>
</dependencies>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-RequiredExecutionEnvironment>${execution.environment}</Bundle-RequiredExecutionEnvironment>
<Require-Capability>
osgi.extender;filter:="(osgi.extender=osgi.serviceloader.processor)";resolution:=optional,
osgi.serviceloader;filter:="(osgi.serviceloader=org.apache.uima.fit.validation.ValidationCheck)";cardinality:=multiple;resolution:=optional
</Require-Capability>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<Require-Capability>
osgi.extender;filter:="(osgi.extender=osgi.serviceloader.processor)";resolution:=optional,
osgi.serviceloader;filter:="(osgi.serviceloader=org.apache.uima.fit.validation.ValidationCheck)";cardinality:=multiple;resolution:=optional
</Require-Capability>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
15 changes: 5 additions & 10 deletions uimafit-benchmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,11 @@
<artifactId>commons-lang3</artifactId>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.junit.jupiter</groupId>-->
<!-- <artifactId>junit-jupiter-engine</artifactId>-->
<!-- <scope>test</scope>-->
<!-- </dependency>-->
</dependencies>

<build>
Expand Down
1 change: 1 addition & 0 deletions uimafit-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
Expand Down
3 changes: 2 additions & 1 deletion uimafit-documentation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>m2e</id>
Expand Down Expand Up @@ -148,5 +149,5 @@
</pluginManagement>
</build>
</profile>
</profiles>
</profiles>
</project>
1 change: 1 addition & 0 deletions uimafit-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>compile</scope>
</dependency>
</dependencies>

Expand Down
3 changes: 3 additions & 0 deletions uimafit-junit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,14 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-commons</artifactId>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.opentest4j</groupId>
<artifactId>opentest4j</artifactId>
Expand Down
23 changes: 0 additions & 23 deletions uimaj-adapter-vinci/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,34 +46,11 @@
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-core</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>jVinci</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.slf4j</groupId>-->
<!-- <artifactId>slf4j-jdk14</artifactId>-->
<!-- <scope>test</scope>-->
<!-- </dependency>-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

Expand Down
1 change: 0 additions & 1 deletion uimaj-bootstrap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
</parent>

<artifactId>uimaj-bootstrap</artifactId>
<packaging>jar</packaging>
<name>Apache UIMA Base: ${project.artifactId}</name>
<description>Configures a classpath from directories, and runs
a Java application using that</description>
Expand Down
15 changes: 0 additions & 15 deletions uimaj-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,11 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-assertj3</artifactId>
Expand Down Expand Up @@ -288,11 +278,6 @@
<additionalClasspathElement>${settings.localRepository}/org/apache/logging/log4j/log4j-api/${log4j-version}/log4j-api-${log4j-version}.jar</additionalClasspathElement>
<additionalClasspathElement>${settings.localRepository}/org/apache/logging/log4j/log4j-slf4j-impl/${log4j-version}/log4j-slf4j-impl-${log4j-version}.jar</additionalClasspathElement>
</additionalClasspathElements>
<!-- exclude log4j slf bridge for testing
<classpathDependencyExcludes>
<classpathDependencyExclude>org.apache.logging.log4j:log4j-slf4j-impl</classpathDependencyExclude>
</classpathDependencyExcludes>
-->
</configuration>
</plugin>
</plugins>
Expand Down
13 changes: 0 additions & 13 deletions uimaj-cpe/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,36 +45,23 @@
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-core</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-adapter-vinci</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>jVinci</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-test-util</artifactId>
Expand Down
11 changes: 0 additions & 11 deletions uimaj-ep-cas-editor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,17 +126,6 @@
<artifactId>org.eclipse.jdt.core</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
1 change: 0 additions & 1 deletion uimaj-ep-jcasgen/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-tools</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>

<!-- Eclipse dependencies -->
Expand Down
Loading

0 comments on commit c2143a4

Please sign in to comment.