cancel
Showing results for 
Search instead for 
Did you mean: 

archetypeCatalog 'http://www.eviware.com/repository/maven2' is not supported anymore.

Occasional Visitor

archetypeCatalog 'http://www.eviware.com/repository/maven2' is not supported anymore.

I am new to Ready! API and am trying to develop a plugin on Windows by following this link.

The section "Basic Project" step # 3 tells to run following command:

 

mvn archetype:generate -DarchetypeGroupId=com.smartbear.maven.archetypes -DarchetypeArtifactId=soapui-plugin-archetype -DarchetypeCatalog=soapui/repository/maven2

The other page tells to run following command for same purpose:

mvn archetype:generate -DarchetypeGroupId=com.smartbear -DarchetypeArtifactId=ready-api-plugin-archetype -DarchetypeCatalog=http://www.eviware.com/repository/maven2

When I run either of them, I get build failure. Complete output as follows:

C:\work\sandbox>mvn archetype:generate -DarchetypeGroupId=com.smartbear -DarchetypeArtifactId=ready-api-plugin-archetype -DarchetypeCatalog=http://www.eviware.com/repository/maven2
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:3.0.1:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:3.0.1:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO]
[INFO]
[INFO] --- maven-archetype-plugin:3.0.1:generate (default-cli) @ standalone-pom---
[INFO] Generating project in Interactive mode
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.089 s
[INFO] Finished at: 2017-06-16T14:38:42+05:30
[INFO] Final Memory: 15M/228M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: archetypeCatalog 'http://www.eviware.com/repository/maven2' is not supported anymore. Please read the plugin documentation for details. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

C:\work\sandbox>

How can I fix this?

 

 

 

3 REPLIES 3
Regular Visitor

Re: archetypeCatalog 'http://www.eviware.com/repository/maven2' is not supported anymore.

Assuming you've done all the previous steps correctly, this command line should work:

 

mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeGroupId=com.smartbear.maven.archetypes -DarchetypeArtifactId=soapui-plugin-archetype -DarchetypeCatalog=local

 

I had the same problem. After much research, I found that the issue is due to changes in the maven-architype-plugin version 3.1 or after. They've changed how external repositories are referenced, so you have to force it to use an older version of the plugin. In addition, the -DarchetypeCatalog=local forces it to use the local archetype definition you created in a previous step. To make sure you have that archetype definition in your local repository, look for an 'archetype-catalog.xml' file in the repository folder of your local Maven installation. It should contain a definition for an item with an artifact id of 'ready-api-maven-archetype'.

 

Good luck!

Occasional Contributor

Re: archetypeCatalog 'http://www.eviware.com/repository/maven2' is not supported anymore.

I have the same problem...

 

and I don't have archetype-catalog.xml in my repository

vmm
New Contributor

Re: archetypeCatalog 'http://www.eviware.com/repository/maven2' is not supported anymore.

I've fixed the repository URL in ReadyAPI Plugin Development Kit on GitHub so it seem to be working again.

New Here?
Join us and watch the welcome video:
Building with the Collaborator API

Help Documenation
The Collaborator API is a JSON-RPC API that lets you integrate with Collaborator 9.0 and above. For more information about how the API works, check out the API description here:


Sample Plugins
For an example of an add-in that uses the API, take a look at the Microsoft Word Add-in for Collaborator:


We list all the great plugins our network has already built on this page on the SmartBear website.