pom.xml

 

<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>cn.jmeter</groupId>
  <artifactId>jmeter</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <properties>
    <jmeter.result.jtl.dir>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target\jmeter\results</jmeter.result.jtl.dir>
    <jmeter.result.html.dir>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target\jmeter\html</jmeter.result.html.dir>
    <jmeter.result.html.dir1>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target\jmeter\html1</jmeter.result.html.dir1>
    <ReportName>TestReport</ReportName>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <repositories>
    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>central</id>
      <name>Central Repository</name>
      <url>https://repo.maven.apache.org/maven2</url>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <releases>
        <updatePolicy>never</updatePolicy>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>central</id>
      <name>Central Repository</name>
      <url>https://repo.maven.apache.org/maven2</url>
    </pluginRepository>
  </pluginRepositories>
  <build>
    <sourceDirectory>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/src/main/java</sourceDirectory>
    <scriptSourceDirectory>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/src/main/scripts</scriptSourceDirectory>
    <testSourceDirectory>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/src/test/java</testSourceDirectory>
    <outputDirectory>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target/classes</outputDirectory>
    <testOutputDirectory>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target/test-classes</testOutputDirectory>
    <resources>
      <resource>
        <directory>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/src/main/resources</directory>
      </resource>
    </resources>
    <testResources>
      <testResource>
        <directory>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/src/test/resources</directory>
      </testResource>
    </testResources>
    <directory>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target</directory>
    <finalName>jmeter-0.0.1-SNAPSHOT</finalName>
    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-antrun-plugin</artifactId>
          <version>1.3</version>
        </plugin>
        <plugin>
          <artifactId>maven-assembly-plugin</artifactId>
          <version>2.2-beta-5</version>
        </plugin>
        <plugin>
          <artifactId>maven-dependency-plugin</artifactId>
          <version>2.8</version>
        </plugin>
        <plugin>
          <artifactId>maven-release-plugin</artifactId>
          <version>2.5.3</version>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <groupId>com.lazerycode.jmeter</groupId>
        <artifactId>jmeter-maven-plugin</artifactId>
        <version>2.1.0</version>
        <executions>
          <execution>
            <id>jmeter-tests</id>
            <goals>
              <goal>jmeter</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>xml-maven-plugin</artifactId>
        <version>1.0-beta-3</version>
        <executions>
          <execution>
            <phase>verify</phase>
            <goals>
              <goal>transform</goal>
            </goals>
            <configuration>
              <transformationSets>
                <transformationSet>
                  <dir>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target\jmeter\results</dir>
                  <stylesheet>src\test\resources\jmeter-results-report-loadtest.xsl</stylesheet>
                  <outputDir>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target\jmeter\html</outputDir>
                  <fileMappers>
                    <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
                      <targetExtension>html</targetExtension>
                    </fileMapper>
                  </fileMappers>
                </transformationSet>
                <transformationSet>
                  <dir>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target\jmeter\results</dir>
                  <stylesheet>src\test\resources\jmeter.results.shanhe.me.xsl</stylesheet>
                  <outputDir>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target\jmeter\html1</outputDir>
                  <fileMappers>
                    <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
                      <targetExtension>html</targetExtension>
                    </fileMapper>
                  </fileMappers>
                </transformationSet>
              </transformationSets>
            </configuration>
          </execution>
        </executions>
        <dependencies>
          <dependency>
            <groupId>net.sf.saxon</groupId>
            <artifactId>saxon</artifactId>
            <version>8.7</version>
            <scope>compile</scope>
          </dependency>
        </dependencies>
        <configuration>
          <transformationSets>
            <transformationSet>
              <dir>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target\jmeter\results</dir>
              <stylesheet>src\test\resources\jmeter-results-report-loadtest.xsl</stylesheet>
              <outputDir>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target\jmeter\html</outputDir>
              <fileMappers>
                <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
                  <targetExtension>html</targetExtension>
                </fileMapper>
              </fileMappers>
            </transformationSet>
            <transformationSet>
              <dir>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target\jmeter\results</dir>
              <stylesheet>src\test\resources\jmeter.results.shanhe.me.xsl</stylesheet>
              <outputDir>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target\jmeter\html1</outputDir>
              <fileMappers>
                <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
                  <targetExtension>html</targetExtension>
                </fileMapper>
              </fileMappers>
            </transformationSet>
          </transformationSets>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-clean-plugin</artifactId>
        <version>2.5</version>
        <executions>
          <execution>
            <id>default-clean</id>
            <phase>clean</phase>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-resources-plugin</artifactId>
        <version>2.6</version>
        <executions>
          <execution>
            <id>default-testResources</id>
            <phase>process-test-resources</phase>
            <goals>
              <goal>testResources</goal>
            </goals>
          </execution>
          <execution>
            <id>default-resources</id>
            <phase>process-resources</phase>
            <goals>
              <goal>resources</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.4</version>
        <executions>
          <execution>
            <id>default-jar</id>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.1</version>
        <executions>
          <execution>
            <id>default-compile</id>
            <phase>compile</phase>
            <goals>
              <goal>compile</goal>
            </goals>
          </execution>
          <execution>
            <id>default-testCompile</id>
            <phase>test-compile</phase>
            <goals>
              <goal>testCompile</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.12.4</version>
        <executions>
          <execution>
            <id>default-test</id>
            <phase>test</phase>
            <goals>
              <goal>test</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-install-plugin</artifactId>
        <version>2.4</version>
        <executions>
          <execution>
            <id>default-install</id>
            <phase>install</phase>
            <goals>
              <goal>install</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-deploy-plugin</artifactId>
        <version>2.7</version>
        <executions>
          <execution>
            <id>default-deploy</id>
            <phase>deploy</phase>
            <goals>
              <goal>deploy</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-site-plugin</artifactId>
        <version>3.3</version>
        <executions>
          <execution>
            <id>default-site</id>
            <phase>site</phase>
            <goals>
              <goal>site</goal>
            </goals>
            <configuration>
              <outputDirectory>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target/site</outputDirectory>
              <reportPlugins>
                <reportPlugin>
                  <groupId>org.apache.maven.plugins</groupId>
                  <artifactId>maven-project-info-reports-plugin</artifactId>
                </reportPlugin>
              </reportPlugins>
            </configuration>
          </execution>
          <execution>
            <id>default-deploy</id>
            <phase>site-deploy</phase>
            <goals>
              <goal>deploy</goal>
            </goals>
            <configuration>
              <outputDirectory>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target/site</outputDirectory>
              <reportPlugins>
                <reportPlugin>
                  <groupId>org.apache.maven.plugins</groupId>
                  <artifactId>maven-project-info-reports-plugin</artifactId>
                </reportPlugin>
              </reportPlugins>
            </configuration>
          </execution>
        </executions>
        <configuration>
          <outputDirectory>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target/site</outputDirectory>
          <reportPlugins>
            <reportPlugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-project-info-reports-plugin</artifactId>
            </reportPlugin>
          </reportPlugins>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <reporting>
    <outputDirectory>/Users/zhenning/Documents/workspace-sts-3.9.7.RELEASE/jmeter/target/site</outputDirectory>
  </reporting>
</project>

  

转载于:https://www.cnblogs.com/Alexr/p/11075907.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值