lolotank
13 years agoNew Contributor
Automate SOAP UI with maven : dependency problem
Hi all,
I am trying to launch my Soap Ui project from eclipse with maven. These instructions help me to create the pom.xml :
http://technology.amis.nl/2008/03/26/au ... ith-maven/
The soap ui projet can be launched correctly with Soap UI software.
I am using this pom.xml in my maven project:
I got the following error when i launch the command mvn install :
How can I fix this issue ?
Regards
I am trying to launch my Soap Ui project from eclipse with maven. These instructions help me to create the pom.xml :
http://technology.amis.nl/2008/03/26/au ... ith-maven/
The soap ui projet can be launched correctly with Soap UI software.
I am using this pom.xml in my maven project:
<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>
<parent>
<groupId>group</groupId>
<artifactId>soap</artifactId>
<version>1.0.05-SNAPSHOT</version>
</parent>
<groupId>group.soap</groupId>
<artifactId> soapUI</artifactId>
<name>soapUI</name>
<description> soapUI – Automate tests </description>
<pluginRepositories>
<pluginRepository>
<id>eviwarePluginRepository</id>
<url>http://www.eviware.com/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>
<properties>
<hostValue>phi.test.dev:9000</hostValue>
</properties>
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<version>3.6.1</version>
<executions>
<execution>
<phase>verify</phase>
<id>soapui-tests</id>
<configuration>
<projectFile>${project.build.directory}src/test/soapui/base-soapui-project.xml</projectFile>
<host>${hostValue}</host>
<outputFolder>${project.build.directory}/target/soapui</outputFolder>
<junitReport>true</junitReport>
<exportwAll>true</exportwAll>
<printReport>false</printReport>
</configuration>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<configuration>
<outputDirectory>target/site/soapui</outputDirectory>
<reportsDirectories>
</reportsDirectories>
</configuration>
</plugin>
</plugins>
</reporting>
</project>
I got the following error when i launch the command mvn install :
Failed to execute goal eviware:maven-soapui-plugin:3.6.1:test (soapui-tests) on project base-soapUI: Execution soapui-tests of goal eviware:maven-soapui-plugin:3.6.1:test failed: Plugin eviware:maven-soapui-plugin:3.6.1 or one of its dependencies could not be resolved: Could not transfer artifact eviware:soapui:jar:3.6 from/to eviwarePluginRepository (http://www.eviware.com/repository/maven2/): Error transferring file: http://www.eviware.com: Unknown host http://www.eviware.com -> [Help 1]
[ERROR]
How can I fix this issue ?
Regards