Forum Discussion
Dheepha
13 years agoContributor
Hi,
I replaced 4.0 with 4.0.0 and after that also I'm getting the same error.
Let me explain what I'm trying to do , I need to create the test execution report for testsuite. For that I'm invoking pom.xml via maven.
1.I have downloaded the maven-soapui-plugin 4.0.0 and placed in the location "User_Home\.m2\repository\eviware\maven-soapui-plugin\4.0.0"
and all the dependency jars like derbytools and oracle are placed in the "User_Home\.m2\repository\oracle" and "User_Home\.m2\repository\org\apache\derby" . For all the dependencies I have placed the similar folder structure.
Since I have loaded and placed all the jars locally , i have modified the maven settings.xml to point the local repository.
<localRepository>User_Home/.m2/repository</localRepository> and provided <offline>true</offline> such that it will not look into internet.
But upon running mvn from command prompt as: mvn test, I'm getting the following error:
[WARNING] The POM for eviware:maven-soapui-plugin:jar:4.0.0 is missing, no dependency information available
[ERROR] Plugin eviware:maven-soapui-plugin:4.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for eviware:maven-soapui-plugin:jar:4.0.0: The repository system is offline but the artifact eviware:maven
-soapui-plugin:pom:4.0.0 is not available in the local repository. -> [Help 1]
org.apache.maven.plugin.PluginResolutionException: Plugin eviware:maven-soapui-plugin:4.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for eviware:maven-soapui-plugin:jar:4.0.0
I don't know what to do after this. Could anyone help me on this like whether any other dependency required for maven-soapui-plugin
and my pom.xml is:
<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>Regression</groupId>
<artifactId>WebServiceRegression</artifactId>
<name>WebServiceRegression</name>
<packaging>pom</packaging>
<version>1.0</version>
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<version>4.0.0</version>
<executions>
<execution>
<phase>generate-test-sources</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
<configuration>
<projectFile>WebServiceRegression-soapui-project.xml</projectFile>
<junitReport>true</junitReport>
<testSuite>${soapui.testsuite}</testSuite>
<testCase>${soapui.testcase}</testCase>
<outputFolder>${basedir}/report/soapui</outputFolder>
<printReport>true</printReport>
<testFailIgnore>true</testFailIgnore>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbytools</artifactId>
<version>10.5.3.0_1</version>
</dependency>
<dependency>
<groupId>oracle</groupId>
<artifactId>ojdbc14_g</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>jsch</groupId>
<artifactId>jsch</artifactId>
<version>0.1.41</version>
</dependency>
<dependency>
<groupId>commons-vfs</groupId>
<artifactId>commons-vfs</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>com.zehon</groupId>
<artifactId>zehon-file-transfer</artifactId>
<version>1.1.6</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15</artifactId>
<version>1.43</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.5</version>
<inherited>true</inherited>
<configuration>
<outputName>Automation-Execution Report</outputName>
<outputDirectory>report</outputDirectory>
<reportsDirectory>${basedir}/report/soapui</reportsDirectory>
</configuration>
</plugin>
</plugins>
</reporting>
</project>
Request someone to have a look at my pom and update me whether anything i need to modify in pom.xml and need to use any dependency jars
I replaced 4.0 with 4.0.0 and after that also I'm getting the same error.
Let me explain what I'm trying to do , I need to create the test execution report for testsuite. For that I'm invoking pom.xml via maven.
1.I have downloaded the maven-soapui-plugin 4.0.0 and placed in the location "User_Home\.m2\repository\eviware\maven-soapui-plugin\4.0.0"
and all the dependency jars like derbytools and oracle are placed in the "User_Home\.m2\repository\oracle" and "User_Home\.m2\repository\org\apache\derby" . For all the dependencies I have placed the similar folder structure.
Since I have loaded and placed all the jars locally , i have modified the maven settings.xml to point the local repository.
<localRepository>User_Home/.m2/repository</localRepository> and provided <offline>true</offline> such that it will not look into internet.
But upon running mvn from command prompt as: mvn test, I'm getting the following error:
[WARNING] The POM for eviware:maven-soapui-plugin:jar:4.0.0 is missing, no dependency information available
[ERROR] Plugin eviware:maven-soapui-plugin:4.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for eviware:maven-soapui-plugin:jar:4.0.0: The repository system is offline but the artifact eviware:maven
-soapui-plugin:pom:4.0.0 is not available in the local repository. -> [Help 1]
org.apache.maven.plugin.PluginResolutionException: Plugin eviware:maven-soapui-plugin:4.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for eviware:maven-soapui-plugin:jar:4.0.0
I don't know what to do after this. Could anyone help me on this like whether any other dependency required for maven-soapui-plugin
and my pom.xml is:
<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>Regression</groupId>
<artifactId>WebServiceRegression</artifactId>
<name>WebServiceRegression</name>
<packaging>pom</packaging>
<version>1.0</version>
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<version>4.0.0</version>
<executions>
<execution>
<phase>generate-test-sources</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
<configuration>
<projectFile>WebServiceRegression-soapui-project.xml</projectFile>
<junitReport>true</junitReport>
<testSuite>${soapui.testsuite}</testSuite>
<testCase>${soapui.testcase}</testCase>
<outputFolder>${basedir}/report/soapui</outputFolder>
<printReport>true</printReport>
<testFailIgnore>true</testFailIgnore>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbytools</artifactId>
<version>10.5.3.0_1</version>
</dependency>
<dependency>
<groupId>oracle</groupId>
<artifactId>ojdbc14_g</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>jsch</groupId>
<artifactId>jsch</artifactId>
<version>0.1.41</version>
</dependency>
<dependency>
<groupId>commons-vfs</groupId>
<artifactId>commons-vfs</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>com.zehon</groupId>
<artifactId>zehon-file-transfer</artifactId>
<version>1.1.6</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15</artifactId>
<version>1.43</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.5</version>
<inherited>true</inherited>
<configuration>
<outputName>Automation-Execution Report</outputName>
<outputDirectory>report</outputDirectory>
<reportsDirectory>${basedir}/report/soapui</reportsDirectory>
</configuration>
</plugin>
</plugins>
</reporting>
</project>
Request someone to have a look at my pom and update me whether anything i need to modify in pom.xml and need to use any dependency jars