当我运行 mvn clean install 我得到这个:
[警告] com.ubikingenierie.ubikloadpack.gwt:ubik-jmeter-gwt-plugin-above2:jar:4.1.0 的 POM 丢失,没有可用的依赖信息
[警告] com.edgenius:geniuswiki-gwtserver 的 POM: jar:3.23 丢失,没有可用的依赖信息
[警告] com.edgenius:geniuswiki-serpol:jar:3.23 的 POM 丢失,没有可用的依赖信息[错误] 无法在项目 my-app 上执行目标 com.lazerycode.jmeter:jmeter-maven-plugin:1.10.1:jmeter (jmeter-tests):执行目标 com.lazerycode.jmeter:jmeter-maven 的 jmeter-tests -plugin:1.10.1:jmeter 失败:插件 com.lazerycode.jmeter:jmeter-maven-plugin:1.10.1 或其依赖项之一无法解析:无法解析以下工件:com.ubikingenierie.ubikloadpack。 gwt:ubik-jmeter-gwt-plugin-above2:jar:4.1.0, com.edgenius:geniuswiki-gwtserver:jar:3.23, com.edgenius:geniuswiki-serpol:jar:3.23: 找不到 com.ubikingenierie.ubikloadpack https://repo.maven.apache.org/maven2中的 .gwt:ubik-jmeter-gwt-plugin-above2:jar:4.1.0缓存在本地仓库中,直到中央更新间隔才会重新尝试解析已过去或强制更新
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycompany.app</groupId>
<artifactId>my-app</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>my-app</name>
<url>http://maven.apache.org</url>
<build>
<plugins>
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>1.10.1</version>
<configuration>
<overrideRootLogLevel>INFO</overrideRootLogLevel>
<suppressJMeterOutput>false</suppressJMeterOutput>
<ignoreResultFailures>true</ignoreResultFailures>
</configuration>
<executions>
<execution>
<id>jmeter-tests</id>
<phase>verify</phase>
<goals>
<goal>jmeter</goal>
</goals>
<configuration>
<propertiesJMeter>
<jmeter.save.saveservice.response_data>false</jmeter.save.saveservice.response_data>
<jmeter.save.saveservice.samplerData>false</jmeter.save.saveservice.samplerData>
<jmeter.save.saveservice.requestHeaders>true</jmeter.save.saveservice.requestHeaders>
<jmeter.save.saveservice.url>true</jmeter.save.saveservice.url>
<jmeter.save.saveservice.responseHeaders>true</jmeter.save.saveservice.responseHeaders>
<ULP.gwt.licensepath>/data/ubik/ulp/licenses/trials/ubikloadpack/ubik-gwt-plugin.license</ULP.gwt.licensepath>
</propertiesJMeter>
<testFilesIncluded>
<jMeterTestFile>${testFile}</jMeterTestFile>
</testFilesIncluded>
<jmeterPlugins>
<plugin>
<groupId>com.ubikingenierie.ubikloadpack.gwt</groupId>
<artifactId>ubik-jmeter-gwt-plugin-above2</artifactId>
</plugin>
</jmeterPlugins>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.ubikingenierie.ubikloadpack.gwt</groupId>
<artifactId>ubik-jmeter-gwt-plugin-above2</artifactId>
<version>4.1.0</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>2.7.0</version>
</dependency>
<dependency>
<groupId>com.edgenius</groupId>
<artifactId>geniuswiki-gwtserver</artifactId>
<version>3.23</version>
</dependency>
<dependency>
<groupId>com.edgenius</groupId>
<artifactId>geniuswiki-serpol</artifactId>
<version>3.23</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>