Maven integration with SOAPUI
Hi All,
I have a REST project and when I tried to integrate with the maven project, I came across a below error.The same works if I run from a different network, but I get this error while running from the office network.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:53 min
[INFO] Finished at: 2015-12-07T10:20:15+11:00
[INFO] Final Memory: 12M/180M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.smartbear.soapui:soapui-maven-plugin:5.1.2-m-
SNAPSHOT:test (soapUI) on project mytest: Execution soapUI of goal com.smartbear
.soapui:soapui-maven-plugin:5.1.2-m-SNAPSHOT:test failed: Plugin com.smartbear.s
oapui:soapui-maven-plugin:5.1.2-m-SNAPSHOT or one of its dependencies could not
be resolved: Could not transfer artifact com.smartbear.soapui:soapui:jar:5.1.2-m
-SNAPSHOT from/to smartbear-sweden-plugin-repository (http://www.eviware.com/rep
ository/maven2/): GET request of: com/smartbear/soapui/soapui/5.1.2-m-SNAPSHOT/s
oapui-5.1.2-m-SNAPSHOT.jar from smartbear-sweden-plugin-repository failed: Conne
ction reset -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
onException
The POM.xml has the following content. Please suggest me how I can resolve this error.
<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.test</groupId>
<artifactId>mytest</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>mytest</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.9-RC1</version>
</dependency>
</dependencies>
<pluginRepositories>
<pluginRepository>
<id>smartbear-sweden-plugin-repository</id>
<url>http://www.eviware.com/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>5.1.2-m-SNAPSHOT</version>
<configuration>
<!--soapUI project file location-->
<projectFile>REST-Project-1-soapui-project.xml</projectFile>
<projectProperties>
<value>message=Hello World!</value>
</projectProperties>
<!--output file location-->
<outputFolder>${project.basedir}/output/</outputFolder>
<!--junit results file-->
<junitReport>true</junitReport>
</configuration>
<executions>
<execution>
<id>soapUI</id>
<phase>test</phase>
<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>
<version>2.18.1</version>
</plugin>
</plugins>
</reporting>
</project>