| <?xml version="1.0" encoding="UTF-8"?> |
| <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>optiq-parent</artifactId> |
| <groupId>net.hydromatic</groupId> |
| <version>0.8</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <properties> |
| <top.dir>${project.basedir}/..</top.dir> |
| </properties> |
| |
| <artifactId>optiq-ubenchmark</artifactId> |
| <description>Microbenchmarks for Optiq</description> |
| |
| <repositories> |
| <repository> |
| <id>maven-central</id> |
| <url>http://repo1.maven.org/maven2</url> |
| </repository> |
| </repositories> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.openjdk.jmh</groupId> |
| <artifactId>jmh-core</artifactId> |
| <version>0.7.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.openjdk.jmh</groupId> |
| <artifactId>jmh-generator-annprocess</artifactId> |
| <version>0.7.1</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>net.hydromatic</groupId> |
| <artifactId>optiq-core</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.6</source> |
| <target>1.6</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <finalName>ubenchmarks</finalName> |
| <filters> |
| <filter> |
| <!-- |
| Exclude files that sign a jar |
| (one or multiple of the dependencies). |
| One may not repack a signed jar without |
| this, or you will get a |
| SecurityException at program start. |
| --> |
| <artifact>*:*</artifact> |
| <excludes> |
| <exclude>META-INF/*.SF</exclude> |
| <exclude>META-INF/*.RSA</exclude> |
| <exclude>META-INF/*.INF</exclude> <!-- This one may not be required --> |
| </excludes> |
| </filter> |
| </filters> |
| <transformers> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <mainClass>org.openjdk.jmh.Main</mainClass> |
| </transformer> |
| </transformers> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |