| <?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"> |
| |
| <parent> |
| <artifactId>rya.extras</artifactId> |
| <groupId>org.apache.rya</groupId> |
| <version>3.2.13-incubating-SNAPSHOT</version> |
| </parent> |
| |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>rya.benchmark</artifactId> |
| |
| <name>Apache Rya Benchmarks</name> |
| |
| <dependencies> |
| <!-- JMH Benchmark Framework dependencies --> |
| <dependency> |
| <groupId>org.openjdk.jmh</groupId> |
| <artifactId>jmh-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.openjdk.jmh</groupId> |
| <artifactId>jmh-generator-annprocess</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Rya --> |
| <dependency> |
| <groupId>org.apache.rya</groupId> |
| <artifactId>rya.indexing</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.rya</groupId> |
| <artifactId>rya.api.model</artifactId> |
| </dependency> |
| |
| <!-- Utils --> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </dependency> |
| |
| <!-- Fluo runtime dependency --> |
| <dependency> |
| <groupId>org.apache.fluo</groupId> |
| <artifactId>fluo-core</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <!-- Testing --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.accumulo</groupId> |
| <artifactId>accumulo-minicluster</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/xsd</directory> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <!--useIncrementalCompilation a workaround for "endPosTable already set"--> |
| <!-- Java Bug Database link : http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8067747 --> |
| <useIncrementalCompilation>false</useIncrementalCompilation> |
| <compilerArguments> |
| <Xlint /> |
| </compilerArguments> |
| </configuration> |
| </plugin> |
| |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>jaxb2-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>xjc</id> |
| <goals> |
| <goal>xjc</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <packageName>org.apache.rya.benchmark.query</packageName> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>com.mycila</groupId> |
| <artifactId>license-maven-plugin</artifactId> |
| <configuration> |
| <header>${project.basedir}/src/license/header.txt</header> |
| </configuration> |
| <executions> |
| <execution> |
| <id>update-generated-source-headers</id> |
| <configuration> |
| <basedir>${project.build.directory}/generated-sources</basedir> |
| <mapping> |
| <sun-jaxb.episode>XML_STYLE</sun-jaxb.episode> |
| </mapping> |
| </configuration> |
| <phase>process-sources</phase> |
| <goals> |
| <goal>format</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <transformers> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <mainClass>org.openjdk.jmh.Main</mainClass> |
| </transformer> |
| </transformers> |
| <filters> |
| <filter> |
| <!-- |
| Shading signed JARs will fail without this. |
| http://stackoverflow.com/questions/999489/invalid-signature-file-when-attempting-to-run-a-jar |
| --> |
| <artifact>*:*</artifact> |
| <excludes> |
| <exclude>META-INF/*.SF</exclude> |
| <exclude>META-INF/*.DSA</exclude> |
| <exclude>META-INF/*.RSA</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>create-binary-distribution</id> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <phase>package</phase> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/binary-release.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |