ruta-core
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.uima</groupId> <artifactId>ruta-core</artifactId> <version>3.5.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 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> <parent> <groupId>org.apache.uima</groupId> <artifactId>ruta-parent</artifactId> <version>3.5.0</version> <relativePath>../ruta-parent/pom.xml</relativePath> </parent> <artifactId>ruta-core</artifactId> <packaging>bundle</packaging> <properties> <uimaScmProject>${project.artifactId}</uimaScmProject> <postNoticeText>${uniWueNoticeText}</postNoticeText> </properties> <url>${uimaWebsiteUrl}</url> <description>The core implementation of the UIMA Ruta rule engine.</description> <name>Apache UIMA Ruta: ${project.artifactId}</name> <scm> <connection>scm:git:https://github.com/apache/uima-ruta/</connection> <developerConnection>scm:git:https://github.com/apache/uima-ruta/</developerConnection> <url>https://github.com/apache/uima-ruta/</url> <tag>ruta-3.5.0</tag> </scm> <dependencies> <dependency> <groupId>org.apache.uima</groupId> <artifactId>uimaj-core</artifactId> </dependency> <dependency> <groupId>org.antlr</groupId> <artifactId>antlr-runtime</artifactId> <exclusions> <exclusion> <groupId>org.antlr</groupId> <artifactId>stringtemplate</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.htmlparser</groupId> <artifactId>htmlparser</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-text</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-collections4</artifactId> </dependency> <dependency> <groupId>org.apache.uima</groupId> <artifactId>uimaj-tools</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> </dependency> <dependency> <groupId>com.github.ben-manes.caffeine</groupId> <artifactId>caffeine</artifactId> </dependency> <dependency> <groupId>org.apache.uima</groupId> <artifactId>uimafit-core</artifactId> <!-- Exclude aop stuff, which is not need by uimafit and only introduces a non-asl license --> <exclusions> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> </exclusion> <exclusion> <groupId>aopalliance</groupId> <artifactId>aopalliance</artifactId> </exclusion> </exclusions> </dependency> <!-- needed for ruta-ep-ide - TODO this should be moved to engine? --> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> </dependency> <!-- needed for ruta-ep-textruler/ruta-ep-addons - TODO this should be moved to engine? --> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-math3</artifactId> </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.apache.uima</groupId> <artifactId>uimaj-test-util</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.uima</groupId> <artifactId>uimafit-junit</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <executions> <execution> <id>default-cli</id> <configuration> <excludes combine.children="append"> <exclude>src/main/antlr3/org/apache/uima/ruta/parser/RutaLexer.tokens</exclude> <!-- grammar tokens --> <exclude>src/main/antlr3/org/apache/uima/ruta/parser/RutaParser.tokens</exclude> <!-- grammar tokens --> <exclude>src/test/resources/org/apache/uima/ruta/**/*.txt</exclude> <!-- test data --> <exclude>src/test/resources/org/apache/uima/ruta/**/*.ruta</exclude> <!-- test data --> <exclude>src/test/resources/org/apache/uima/ruta/action/*.*</exclude> <!-- test data --> <exclude>src/test/resources/org/apache/uima/ruta/table2.csv</exclude> <!-- test data --> <exclude>src/test/resources/org/apache/uima/ruta/resource/test_csvfile.csv</exclude> <!-- test data --> <exclude>src/test/resources/org/apache/uima/ruta/engine/*.html</exclude> <!-- test data --> <exclude>src/test/resources/META-INF/org.apache.uima.fit/types.txt</exclude> <!-- test data --> <exclude>src/main/resources/META-INF/org.apache.uima.fit/*.txt</exclude> <exclude>input/**</exclude> <!-- temp test data --> <exclude>TypeSystem.xml</exclude> <!-- temp test data --> <exclude>src/main/resources/META-INF/services/org.apache.uima.spi.TypeSystemProvider</exclude> </excludes> </configuration> </execution> </executions> </plugin> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. --> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>de.jflex</groupId> <artifactId>jflex-maven-plugin</artifactId> <versionRange>[1.6.1,)</versionRange> <goals> <goal>generate</goal> </goals> </pluginExecutionFilter> <action> <execute /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> <resources> <resource> <directory>src/main/resources</directory> </resource> </resources> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <configuration> <instructions> <Bundle-RequiredExecutionEnvironment>${execution.environment}</Bundle-RequiredExecutionEnvironment> <_dsannotations>*</_dsannotations> <_metatypeannotations>*</_metatypeannotations> <!-- <Import-Package> !com.apple.eio, org.slf4j.impl;resolution:=optional, org.apache.logging.log4j.*;resolution:=optional, org.apache.logging.slf4j.*;resolution:=optional, * </Import-Package> --> <Export-Package> org.apache.uima.ruta, org.apache.uima.ruta.* </Export-Package> <!-- - These capabilities need to be declared here due to - https://issues.apache.org/jira/browse/ARIES-2082 --> <Require-Capability> osgi.extender;filter:="(osgi.extender=osgi.serviceloader.registrar)";resolution:=optional </Require-Capability> <Provide-Capability> osgi.serviceloader;osgi.serviceloader=org.apache.uima.spi.TypeSystemProvider </Provide-Capability> </instructions> </configuration> </plugin> <plugin> <groupId>org.apache.uima</groupId> <artifactId>jcasgen-maven-plugin</artifactId> <version>${uima-version}</version> <executions> <execution> <goals> <goal>generate</goal> </goals> <!-- runs in phase process-resources by default --> <configuration> <!-- one or more ant-like file patterns identifying top level descriptors --> <typeSystemIncludes> <typeSystemInclude>src/main/resources/org/apache/uima/ruta/engine/RutaInternalTypeSystem.xml</typeSystemInclude> <typeSystemInclude>src/main/resources/org/apache/uima/ruta/engine/DefaultSeederTypeSystem.xml</typeSystemInclude> <typeSystemInclude>src/main/resources/org/apache/uima/ruta/engine/HtmlTypeSystem.xml</typeSystemInclude> <typeSystemInclude>src/main/resources/org/apache/uima/ruta/engine/PlainTextTypeSystem.xml</typeSystemInclude> </typeSystemIncludes> <limitToProject>true</limitToProject> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <!-- Exclude generated jcas classes --> <sourceFileExcludes> <sourceFileExclude>**/org/apache/uima/ruta/type/*.java</sourceFileExclude> </sourceFileExcludes> </configuration> </plugin> <!-- generate java code for antlr grammars --> <plugin> <groupId>org.antlr</groupId> <artifactId>antlr3-maven-plugin</artifactId> <executions> <execution> <id>run antlr</id> <phase>generate-sources</phase> <goals> <goal>antlr</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>de.jflex</groupId> <artifactId>jflex-maven-plugin</artifactId> <version>1.6.1</version> <executions> <execution> <goals> <goal>generate</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>add-antlr-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>${basedir}/target/generated-sources/antlr3 </source> </sources> </configuration> </execution> <execution> <id>add-jflex-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>${basedir}/target/generated-sources/jflex </source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <argLine>-Xmx650M</argLine> </configuration> </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <executions> <execution> <id>default-cli</id> <configuration> <excludes combine.children="append"> <exclude>src/test/resources/org/apache/uima/ruta/action/*.*</exclude> <!-- test data --> </excludes> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>