Hi
I was trying to create VRO project using maven archetype command, command succeeded until listing of archetype, post which I failed with the below error
Maven Command
mvn archetype:generate -DarchetypeCatalog=https://xxx.xxx.xxx.xxx:8281/vco-repo/archetype-catalog.xml -DrepoUrl=https://xxx.xx.xxx:8281/vco-repo -Dmaven.repo.remote=https://xxx.xx.90.92:8281/vco-repo -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
Downloading: https://XXX.XX.XX.92:8281/vco-repo/com/vmware/o11n/o11n-package-archetype/5.5.2/o11n-package-archetype-5.5.2.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.712 s
[INFO] Finished at: 2015-09-26T17:46:11+05:30
[INFO] Final Memory: 20M/187M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on project standalone-pom: The desired archetype does not exist (com.vmware.o11n:o11n-package-
archetype:5.5.2) -> [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
I looked into com/vmware/o11n/o11n-package-archetype/5.5.2 folder under .m2/repository the .updated file has following error
https\://XXX.XX.90.92\:8281/vco-repo/.error=Could not transfer artifact com.vmware.o11n\:o11n-package-archetype\:jar\:5.5.2 from/to o11n-package-archetype-repo (https\://XXX.XX.90.92\:8281/vco-repo)\: Access denied to\: https\://XXX.XX.90.92\:8281/vco-repo/com/vmware/o11n/o11n-package-archetype/5.5.2/o11n-package-archetype-5.5.2.jar , ReasonPhrase\:Forbidden
I am not sure what's going wrong as I am able to access the above location from the browser without being prompted for the credentials One way is to manually copy these jar but that would be more of a work around than a solution.
Any idea how to resolve this?
Thanks in advance,
Salil