| <?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.mnemonic</groupId> |
| <artifactId>mnemonic-benches</artifactId> |
| <version>0.14.0</version> |
| </parent> |
| |
| <artifactId>mnemonic-sort-bench</artifactId> |
| <name>mnemonic-sort-bench</name> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <mode></mode> |
| <input></input> |
| <output></output> |
| </properties> |
| |
| <dependencies> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| </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>${project.groupId}.bench.Sort</mainClass> |
| </transformer> |
| </transformers> |
| <minimizeJar>true</minimizeJar> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>2.10</version> |
| <executions> |
| <execution> |
| <id>copy</id> |
| <phase>package</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>mnemonic-nvml-vmem-service</artifactId> |
| <version>${project.version}</version> |
| <classifier>${os.detected.classifier}</classifier> |
| <type>jar</type> |
| </artifactItem> |
| <artifactItem> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>mnemonic-sys-vmem-service</artifactId> |
| <version>${project.version}</version> |
| <classifier>${os.detected.classifier}</classifier> |
| <type>jar</type> |
| </artifactItem> |
| <artifactItem> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>mnemonic-nvml-pmem-service</artifactId> |
| <version>${project.version}</version> |
| <classifier>${os.detected.classifier}</classifier> |
| <type>jar</type> |
| </artifactItem> |
| <artifactItem> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>mnemonic-pmalloc-service</artifactId> |
| <version>${project.version}</version> |
| <classifier>${os.detected.classifier}</classifier> |
| <type>jar</type> |
| </artifactItem> |
| <artifactItem> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>mnemonic-utilities-service</artifactId> |
| <version>${project.version}</version> |
| <classifier>${os.detected.classifier}</classifier> |
| <type>jar</type> |
| </artifactItem> |
| </artifactItems> |
| <outputDirectory>${project.build.directory}/service-dist</outputDirectory> |
| <overWriteReleases>false</overWriteReleases> |
| <overWriteSnapshots>false</overWriteSnapshots> |
| <overWriteIfNewer>true</overWriteIfNewer> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>bench</id> |
| <activation> |
| <property> |
| <name>bench</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <executable>java</executable> |
| <arguments> |
| <argument>-Djava.ext.dirs=${project.build.directory}/service-dist</argument> |
| <argument>-ea</argument> |
| <argument>-classpath</argument> |
| <classpath /> |
| <argument>${project.groupId}.bench.Sort</argument> |
| <argument>-m</argument> |
| <argument>${mode}</argument> |
| <argument>-i</argument> |
| <argument>${input}</argument> |
| <argument>-o</argument> |
| <argument>${output}</argument> |
| </arguments> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| </profiles> |
| |
| </project> |