Forum Discussion

madhankumarbs's avatar
madhankumarbs
Occasional Contributor
4 years ago

https://java.net/projects/maven-repository): hostname in certificate didn't match: during mvn run

[ERROR] Failed to execute goal com.smartbear:ready-api-maven-plugin:3.1.0:test (default) on project cm: Execution default of goal com.smartbear:ready-api-maven-plugin:3.1.0:test failed: Plugin com.smartbear:ready-api-maven-plugin:3.1.0 or one of its dependencies could not be resolved: Could not transfer artifact com.smartbear:ready-api:jar:3.1.0 from/to SmartBearPluginRepository (https://java.net/projects/maven-repository): hostname in certificate didn't match: <java.net> != <*.java.net> OR <*.java.net> -> [Help 1]

<pluginRepositories>
<pluginRepository>
<id>SmartBearPluginRepository</id>
<url>https://java.net/projects/maven-repository</url>
</pluginRepository>
</pluginRepositories>

 

The above repo is used  for

 

<plugin>
<!--Plugin groupID used to uniquely identify the project with the plugin.-->
<groupId>com.smartbear</groupId>
<!--Plugin artifactId used to find the plugin in the project.-->
<artifactId>ready-api-maven-plugin</artifactId>
<!--Specifies your Ready! API version. Maven will use the appropriate plugin version.-->
<!-- IMPORTANT: Must be the same as your Ready! API version.-->
<version>3.1.0</version>
<dependencies>


<dependency>
<groupId>com.smartbear</groupId>
<artifactId>ready-api-soapui</artifactId>
<version>3.1.0</version>
</dependency>

<dependency>
<groupId>com.smartbear</groupId>
<artifactId>ready-api-soapui-pro</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>com.smartbear</groupId>
<artifactId>ready-api</artifactId>
<version>3.1.0</version>

</dependency>

 

 

  • nmrao's avatar
    nmrao
    4 years ago
    May be you can open a support ticket.