| <?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</groupId> |
| <artifactId>apache</artifactId> |
| <version>23</version> |
| </parent> |
| |
| <groupId>org.apache.accumulo</groupId> |
| <artifactId>accumulo-wikisearch</artifactId> |
| <version>2.0.0-SNAPSHOT</version> |
| |
| <packaging>pom</packaging> |
| <name>accumulo-wikisearch</name> |
| <modules> |
| <module>ingest</module> |
| <module>query</module> |
| <module>query-war</module> |
| </modules> |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <maven.compiler.release>8</maven.compiler.release> |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| <version.accumulo>2.0.1</version.accumulo> |
| <version.collections>3.2.2</version.collections> |
| <version.commons-configuration>1.10</version.commons-configuration> |
| <version.commons-jexl>2.0.1</version.commons-jexl> |
| <version.commons-lang>2.4</version.commons-lang> |
| <version.hadoop>3.1.1</version.hadoop> |
| <version.kryo>1.04</version.kryo> |
| <version.lucene>7.1.0</version.lucene> |
| <version.lucene-analyzers>4.0.0</version.lucene-analyzers> |
| <version.minlog>1.2</version.minlog> |
| <version.protobuf>3.19.6</version.protobuf> |
| <version.thrift>0.12.0</version.thrift> |
| </properties> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.accumulo</groupId> |
| <artifactId>accumulo-project</artifactId> |
| <version>${version.accumulo}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| <dependency> |
| <groupId>javaee</groupId> |
| <artifactId>javaee-api</artifactId> |
| <version>5</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-client</artifactId> |
| <version>${version.hadoop}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.kerby</groupId> |
| <artifactId>kerb-simplekdc</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| <version>3.0.2</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| <version>${version.collections}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.protobuf</groupId> |
| <artifactId>protobuf-java</artifactId> |
| <version>${version.protobuf}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.googlecode</groupId> |
| <artifactId>kryo</artifactId> |
| <version>${version.kryo}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.googlecode</groupId> |
| <artifactId>minlog</artifactId> |
| <version>${version.minlog}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-core</artifactId> |
| <version>1.11</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-configuration</groupId> |
| <artifactId>commons-configuration</artifactId> |
| <version>${version.commons-configuration}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| <version>${version.commons-lang}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.accumulo</groupId> |
| <artifactId>wikisearch-ingest</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-jexl</artifactId> |
| <version>${version.commons-jexl}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-analyzers</artifactId> |
| <version>${version.lucene-analyzers}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-core</artifactId> |
| <version>${version.lucene}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-analyzers-common</artifactId> |
| <version>${version.lucene-analyzers}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.thrift</groupId> |
| <artifactId>libthrift</artifactId> |
| <version>${version.thrift}</version> |
| <exclusions> |
| <!-- excluded to make the enforcer plug in happy--> |
| <exclusion> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpcore</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.google.errorprone</groupId> |
| <artifactId>error_prone_annotations</artifactId> |
| <version>2.3.4</version> |
| </dependency> |
| <dependency> |
| <groupId>org.checkerframework</groupId> |
| <artifactId>checker-qual</artifactId> |
| <version>2.11.1</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <repositories> |
| <repository> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| <id>java.net</id> |
| <name>java.net</name> |
| <url>https://maven.java.net/content/groups/public</url> |
| <layout>default</layout> |
| </repository> |
| </repositories> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-ejb-plugin</artifactId> |
| <version>3.0.1</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>enforce-mvn</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <DependencyConvergence/> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-clean-plugin</artifactId> |
| <configuration> |
| <filesets> |
| <fileset> |
| <directory>lib</directory> |
| </fileset> |
| <fileset> |
| <directory>target</directory> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <outputDirectory>lib</outputDirectory> |
| <archive> |
| <manifest> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| </manifest> |
| <manifestEntries> |
| <Implementation-Build>${buildNumber}</Implementation-Build> |
| <Implementation-Timestamp>${timestamp}</Implementation-Timestamp> |
| </manifestEntries> |
| </archive> |
| <includes> |
| <include>**/**</include> |
| </includes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <quiet>true</quiet> |
| <jarOutputDirectory>lib</jarOutputDirectory> |
| <reportOutputDirectory>docs</reportOutputDirectory> |
| <javadocVersion>1.8</javadocVersion> |
| <additionalJOption>-J-Xmx512m</additionalJOption> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <configuration> |
| <outputDirectory>lib</outputDirectory> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <inherited>false</inherited> |
| <executions> |
| <execution> |
| <id>copy-dependencies</id> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <phase>prepare-package</phase> |
| <configuration> |
| <outputDirectory>../../lib</outputDirectory> |
| <!-- just grab the non-provided runtime dependencies --> |
| <includeArtifactIds>commons-collections,commons-configuration,commons-io,commons-lang,jline,log4j,libthrift,commons-jci-core,commons-jci-fam,commons-logging,commons-logging-api</includeArtifactIds> |
| <excludeGroupIds>accumulo</excludeGroupIds> |
| <excludeTransitive>true</excludeTransitive> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |