kite-morphlines-solr-cell
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.kitesdk</groupId> <artifactId>kite-morphlines-solr-cell</artifactId> <version>1.1.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2013 Cloudera Inc. Licensed 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.kitesdk</groupId> <artifactId>kite-morphlines</artifactId> <version>1.1.0</version> </parent> <artifactId>kite-morphlines-solr-cell</artifactId> <name>Kite Morphlines Solr Cell</name> <dependencies> <dependency> <!-- see http://lucene.apache.org/solr --> <groupId>org.apache.solr</groupId> <artifactId>solr-test-framework</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.kitesdk</groupId> <artifactId>kite-morphlines-solr-core</artifactId> </dependency> <dependency> <groupId>org.kitesdk</groupId> <artifactId>kite-morphlines-tika-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.kitesdk</groupId> <artifactId>kite-morphlines-tika-decompress</artifactId> <scope>test</scope> </dependency> <dependency> <!-- see http://tika.apache.org --> <groupId>org.apache.tika</groupId> <artifactId>tika-xmp</artifactId> </dependency> <dependency> <groupId>org.kitesdk</groupId> <artifactId>kite-morphlines-core</artifactId> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>org.kitesdk</groupId> <artifactId>kite-morphlines-solr-core</artifactId> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <!-- see http://lucene.apache.org/solr --> <groupId>org.apache.solr</groupId> <artifactId>solr-cell</artifactId> <exclusions> <exclusion> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <!-- used by ExtractingDocumentLoader but we never call it --> </exclusion> <exclusion> <groupId>com.ibm.icu</groupId> <artifactId>icu4j</artifactId> <!-- nothing in solr-cell is using this --> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.kitesdk</groupId> <artifactId>kite-morphlines-avro</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.kitesdk</groupId> <artifactId>kite-morphlines-twitter</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <!-- see http://www.slf4j.org --> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <argLine>-Dtests.locale=en_us</argLine> <!--<forkMode>always</forkMode>--> <redirectTestOutputToFile>true</redirectTestOutputToFile> <systemPropertyVariables> <solr.expected.version>${solr.expected.version}</solr.expected.version> <java.awt.headless>true</java.awt.headless> </systemPropertyVariables> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>copy-test-env</id> <phase>process-test-resources</phase> <configuration> <target> <copy todir="${project.build.directory}/test-classes"> <fileset dir="${basedir}/../kite-morphlines-core/src/test/resources" /> </copy> <copy todir="${project.build.directory}/test-classes"> <fileset dir="${basedir}/../kite-morphlines-solr-core/src/test/resources" /> </copy> </target> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>jdk1.6</id> <activation> <jdk>1.6</jdk> </activation> <!-- don't compile or run unit tests for JDK 1.6 since Solr requires 1.7+ --> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <executions> <execution> <id>default-testCompile</id> <phase>test-compile</phase> <goals> <goal>testCompile</goal> </goals> <configuration> <skip>true</skip> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludes> <exclude>**/*.java</exclude> </excludes> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>