kapily
Contributor
Contributor

Unable to create skeleton of plugin to integrate with Redis

 

I am following vRO 8.0 documentation to create a plugin to integrate with Redis using model driven framework. Followed below steps and got the error.

 

Following link:
https://docs.vmware.com/en/vRealize-Orchestrator/8.0/com.vmware.vrealize.orchestrator-plugindev.doc/... 

 

Steps followed:

1. Install JDK 8 and maven build tool on centos 8 VM.
2. Run this command to generate plugin:
mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeCatalog=https://vro.interrait.info/vco-repo/archetype-catalog.xml -DrepoUrl=https://vro.interrait.info/vco-repo -Dmaven.repo.remote=https://vro.interrait.info/vco-repo -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
3. Run this command to build the plugin
mvn clean install -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

 

After executing steps-3, Got the below error:

[root@localhost redis]# mvn -U clean install -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
[INFO] Scanning for projects...
Downloading from added-by-archetype: https://vro.interrait.info/vco-repo/com/vmware/o11n/mojo/pkg/o11n-package-maven-plugin/8.2.0/o11n-pa...
Downloading from central: https://repo.maven.apache.org/maven2/com/vmware/o11n/mojo/pkg/o11n-package-maven-plugin/8.2.0/o11n-p...
Downloading from added-by-archetype: https://vro.interrait.info/vco-repo/com/vmware/o11n/mojo/dar/o11n-dar-maven-plugin/8.2.0/o11n-dar-ma...
Downloading from central: https://repo.maven.apache.org/maven2/com/vmware/o11n/mojo/dar/o11n-dar-maven-plugin/8.2.0/o11n-dar-m...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin com.vmware.o11n.mojo.pkg:o11n-package-maven-plugin:8.2.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.vmware.o11n.mojo.pkg:o11n-package-maven-plugin:jar:8.2.0 @
[ERROR] Unknown packaging: package @ line 7, column 16
[ERROR] Unresolveable build extension: Plugin com.vmware.o11n.mojo.dar:o11n-dar-maven-plugin:8.2.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.vmware.o11n.mojo.dar:o11n-dar-maven-plugin:jar:8.2.0 @
[ERROR] Unknown packaging: dar @ line 7, column 16
@
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]
[ERROR] The project com.vmware.o11n.plugin:o11nplugin-redis-package:1.0.0-SNAPSHOT (/root/redis/o11nplugin-redis-package/pom.xml) has 2 errors
[ERROR] Unresolveable build extension: Plugin com.vmware.o11n.mojo.pkg:o11n-package-maven-plugin:8.2.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.vmware.o11n.mojo.pkg:o11n-package-maven-plugin:jar:8.2.0: Could not transfer artifact com.vmware.o11n.mojo.pkg:o11n-package-maven-plugin:pom:8.2.0 from/to added-by-archetype (https://vro.interrait.info/vco-repo😞 Transfer failed for https://vro.interrait.info/vco-repo/com/vmware/o11n/mojo/pkg/o11n-package-maven-plugin/8.2.0/o11n-pa...: Connect to vro.interrait.info:443 [vro.interrait.info/192.168.111.65] failed: Connection timed out (Connection timed out) -> [Help 2]
[ERROR] Unknown packaging: package @ line 7, column 16
[ERROR]
[ERROR] The project com.vmware.o11n.plugin:o11nplugin-redis:1.0.0-SNAPSHOT (/root/redis/o11nplugin-redis/pom.xml) has 2 errors
[ERROR] Unresolveable build extension: Plugin com.vmware.o11n.mojo.dar:o11n-dar-maven-plugin:8.2.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.vmware.o11n.mojo.dar:o11n-dar-maven-plugin:jar:8.2.0: Could not transfer artifact com.vmware.o11n.mojo.dar:o11n-dar-maven-plugin:pom:8.2.0 from/to added-by-archetype (https://vro.interrait.info/vco-repo😞 Transfer failed for https://vro.interrait.info/vco-repo/com/vmware/o11n/mojo/dar/o11n-dar-maven-plugin/8.2.0/o11n-dar-ma...: Connect to vro.interrait.info:443 [vro.interrait.info/192.168.111.65] failed: Connection timed out (Connection timed out) -> [Help 2]
[ERROR] Unknown packaging: dar @ line 7, column 16
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException
[root@localhost redis]#

 

Kindly have a look and let me know if i am missing anything else.

Regards,

0 Kudos
5 Replies
kapily
Contributor
Contributor

Looking for quick help. Kindly have a look and suggest what i am missing.

 

Regards,

Kapil

0 Kudos
kapily
Contributor
Contributor

Can somebody have a look into this?

0 Kudos
scott28tt
VMware Employee
VMware Employee

@kapily 

Moderator: Please note that VMTN is a user/community forum where contributors do so voluntarily in their own time, it is not an official support channel. Your thread created elsewhere in VMTN today asking for help with this thread has been archived.

 

0 Kudos
kapily
Contributor
Contributor

Can you please add right team, member or group on this thread so that we can take the help of them in discussion/troubleshooting our issue.

Thanks,

Kapil

0 Kudos
scott28tt
VMware Employee
VMware Employee

@kapily 

No I can't, that's not how VMTN works - it's a user/community forum as I mentioned, if you see anyone who is a VMware employee on here they are almost certainly trying to help in their own time.

If you have support, that will get you connected into VMware.

 

0 Kudos