| <?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> |
| <artifactId>maven-parent</artifactId> |
| <groupId>org.apache.maven</groupId> |
| <version>21</version> |
| </parent> |
| |
| <groupId>org.apache.maven.wagon.benchmarks</groupId> |
| <artifactId>wagon-benchmarks</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <name>Maven Wagon Benchmarks</name> |
| <packaging>pom</packaging> |
| |
| <properties> |
| <wagonVersion>2.9-SNAPSHOT</wagonVersion> |
| <jettyVersion>7.4.5.v20110725</jettyVersion> |
| <sisuInjectVersion>2.3.0</sisuInjectVersion> |
| <slf4jVersion>1.6.1</slf4jVersion> |
| <!-- total number of http request --> |
| <wagon.benchmark.rq.number>1000</wagon.benchmark.rq.number> |
| <!-- parallel request to do --> |
| <wagon.benchmark.rq.parallel>8</wagon.benchmark.rq.parallel> |
| <surefireForkedVmArgs>-Xmx768m -Xms512m -client -Xss256k</surefireForkedVmArgs> |
| <hugeFilePath>${basedir}/target/apache-maven-3.0.3-bin.zip</hugeFilePath> |
| <mediumFilePath>${basedir}/target/httpclient-4.1.2.jar</mediumFilePath> |
| </properties> |
| |
| <modules> |
| <module>wagon-benchmarks-api</module> |
| <module>wagon-benchmarks-http-lightweight</module> |
| <module>wagon-benchmarks-http</module> |
| <module>wagon-benchmarks-ahc</module> |
| <module>wagon-benchmarks-run</module> |
| </modules> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.wagon.benchmarks</groupId> |
| <artifactId>wagon-benchmarks-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-provider-api</artifactId> |
| <version>${wagonVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <version>${jettyVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-plus</artifactId> |
| <version>${jettyVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4jVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <version>${slf4jVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.5</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.10</version> |
| </dependency> |
| <dependency> |
| <groupId>org.sonatype.sisu</groupId> |
| <artifactId>sisu-inject-plexus</artifactId> |
| <version>${sisuInjectVersion}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.sonatype.sisu.inject</groupId> |
| <artifactId>cglib</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.sonatype.sisu</groupId> |
| <artifactId>sisu-inject-bean</artifactId> |
| <version>${sisuInjectVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.0.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>3.0.1</version> |
| </dependency> |
| <dependency> |
| <groupId>com.carrotsearch</groupId> |
| <artifactId>junit-benchmarks</artifactId> |
| <version>0.3.0</version> |
| </dependency> |
| <dependency> |
| <groupId>com.h2database</groupId> |
| <artifactId>h2</artifactId> |
| <version>1.3.158</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.6</version> |
| <inherited>false</inherited> |
| <executions> |
| <execution> |
| <id>cleanup-result-file</id> |
| <phase>validate</phase> |
| <inherited>false</inherited> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <delete file="./result.txt"/> |
| </tasks> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>2.3</version> |
| <executions> |
| <execution> |
| <id>get-test-files</id> |
| <phase>generate-test-resources</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>apache-maven</artifactId> |
| <version>3.0.3</version> |
| <type>zip</type> |
| <classifier>bin</classifier> |
| <overWrite>false</overWrite> |
| <outputDirectory>${basedir}/target</outputDirectory> |
| <destFileName>apache-maven-3.0.3-bin.zip</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>4.1.2</version> |
| <type>jar</type> |
| <overWrite>false</overWrite> |
| <outputDirectory>${basedir}/target</outputDirectory> |
| <destFileName>httpclient-4.1.2.jar</destFileName> |
| </artifactItem> |
| </artifactItems> |
| <outputDirectory>${project.build.directory}/tmp</outputDirectory> |
| <overWriteReleases>false</overWriteReleases> |
| <overWriteSnapshots>true</overWriteSnapshots> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.11</version> |
| <configuration> |
| <argLine>${surefireForkedVmArgs}</argLine> |
| <systemPropertyVariables> |
| <test.keystore.path>${basedir}/src/test/ssl/keystore</test.keystore.path> |
| <wagon.benchmark.rq.number>${wagon.benchmark.rq.number}</wagon.benchmark.rq.number> |
| <wagon.benchmark.rq.parallel>${wagon.benchmark.rq.parallel}</wagon.benchmark.rq.parallel> |
| <java.io.tmpdir>${project.build.directory}</java.io.tmpdir> |
| <jub.consumers>CONSOLE,H2</jub.consumers> |
| <jub.db.file>target/.benchmarks</jub.db.file> |
| <hugeFilePath>${hugeFilePath}</hugeFilePath> |
| <mediumFilePath>${mediumFilePath}</mediumFilePath> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| </build> |
| |
| <repositories> |
| <repository> |
| <id>sonatype-nexus-public</id> |
| <name>SonaType public snapshots</name> |
| <url>https://oss.sonatype.org/content/groups/public</url> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| </repository> |
| |
| </repositories> |
| |
| </project> |