Hi,

I am new to this cloudstack. So I would need some pointers on how to proceed 
with resolving the below error.

I understand from the error that the build is looking for these jars in 
https://repo.maven.apache.org/maven2  link and it couldn't find the cloudstack 
directory under org.apache directory. 

Questions :
1) Why is cloudstack folder not found in the 
https://repo.maven.apache.org/maven2  - org.apache path provided in the source 
build files ?
2) If not found in this link https://repo.maven.apache.org/maven2 , then which 
url should I give for accessing these files ?
3) If I need to modify with the new url which has those jar files, then which 
pom.xml file should I modify ? Since I don't see a common pom.xml file which 
has both these jars (eg. cloud-server.jar) and url 
(https://repo.maven.apache.org/maven2 ) referred in the same file ?

Thanks in advance for your guidance.

Regards,
Hema

[root@centos8 ldap]# pwd 
/home/hema/apache-cloudstack-4.15.0.0-src/plugins/user-authenticators/ldap 
[root@centos8 ldap]# 

[root@centos8 ldap]# ls -lrt 
total 12 
drwxrwxr-x. 4 hema hema   30 Jan  5 10:51 src 
-rw-rw-r--. 1 hema hema 9515 Jan  5 10:51 pom.xml  

[root@centos8 ldap]# mvn -X install 
Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d) 
Maven home: /home/hema/cloudstack/apache-maven-3.8.1 
Java version: 11.0.11, vendor: Red Hat, Inc., runtime: 
/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-0.el8_3.x86_64 
Default locale: en_IN, platform encoding: UTF-8 
OS name: "linux", version: "4.18.0-240.22.1.el8_3.x86_64", arch: "amd64", 
family: "unix" 
[DEBUG] Created new class realm maven.api 

[DEBUG] Using mirror maven-default-http-blocker (http://0.0.0.0/) for 
maven2-repository.dev.java.net (http://download.java.net/maven/2/). 
[WARNING] The POM for org.apache.cloudstack:cloud-server:jar:4.15.0.0 is 
missing, no dependency information available 
[WARNING] The POM for org.apache.cloudstack:cloud-api:jar:4.15.0.0 is missing, 
no dependency information available 
[WARNING] The POM for org.apache.cloudstack:cloud-utils:jar:4.15.0.0 is 
missing, no dependency information available 
[WARNING] The POM for org.apache.cloudstack:cloud-framework-config:jar:4.15.0.0 
is missing, no dependency information available 
[WARNING] The POM for org.apache.cloudstack:cloud-api:jar:tests:4.15.0.0 is 
missing, no dependency information available 


[ERROR] Failed to execute goal on project cloud-plugin-user-authenticator-ldap: 
Could not resolve dependencies for project 
org.apache.cloudstack:cloud-plugin-user-authenticator-ldap:jar:4.15.0.0: The 
following artifacts could not be resolved: 
org.apache.cloudstack:cloud-server:jar:4.15.0.0, 
org.apache.cloudstack:cloud-api:jar:4.15.0.0, 
org.apache.cloudstack:cloud-utils:jar:4.15.0.0, 
org.apache.cloudstack:cloud-framework-config:jar:4.15.0.0, 
org.apache.cloudstack:cloud-api:jar:tests:4.15.0.0: 
org.apache.cloudstack:cloud-server:jar:4.15.0.0 was not found in 
https://repo.maven.apache.org/maven2 during a previous attempt. This failure 
was cached in the local repository and resolution is not reattempted until the 
update interval of central has elapsed or updates are forced ->

Reply via email to