Failed to install Ubik download package using Maven

When I run mvn clean install, I get the following:

[WARNING] POM for com.ubikingenierie.ubikloadpack.gwt: ubik-jmeter-gwt-plugin-above2: jar: 4.1.0 missing, dependency information not available
[WARNING] POM for com.edgenius: geniuswiki-gwtserver: jar: 3.23 missing, dependency information unavailable
[WARNING] POM for com.edgenius: geniuswiki-serpol: jar: 3.23 missing, dependency information unavailable

[ERROR] Failed to complete the target com.lazerycode.jmeter: jmeter-maven-plugin: 1.10.1: jmeter (jmeter-tests) in the my-app project: Perform jmeter tests on the target com.lazerycode.jmeter: jmeter-maven- plugin: 1.10.1: jmeter failed: plugin com.lazerycode.jmeter: jmeter-maven-plugin: 1.10.1 or one of its dependencies cannot be resolved: the following artifacts cannot be resolved: 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: Could not find com. ubikingenierie.ubikloadpack.gwt: ubik-jmeter-gwt-plugin-above2: jar: 4.1.0 at https://repo.maven.apache.org/maven2 has been cached in the local repository, the permission will not be reloaded until the refresh interval of the central item has expired or the update has been forced to refresh.

<?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>
+4
source share
1 answer

Your problem is that you did not install the following dependencies in the Maven repository:

  • com.ubikingenierie.ubikloadpack.gwt: Ubik-JMeter-GWT-plugin-above2: bank: 4.1.0
  • com.edgenius: geniuswiki-gwtserver: jar: 3.23
  • com.edgenius: geniuswiki-serpol: jar: 3.23

So, for each of them (which are not available to the public in the Maven repositories):

mvn install: install the file ....

In accordance with:

, ubik-jmeter-gwt-plugin-above2-4.1.0.jar:

mvn install: install-file -Dfile = ubik-jmeter-gwt-plugin-above2.jar -DgroupId = com.ubikingenierie.ubikloadpack.gwt -DartifactId = ubik-jmeter-gwt-plugin-above2 -Dversion = 4.1. 0 -Dpackaging = jar

, , : - - groupId - artifactId -

:

, GWT Plugin - 4.2.2, , .

+4

All Articles