Description of problem: I've installed maven and openjdk java\java-devel 1.7 on a clean el6 machine. When I try to build engine from source I get this error: [ERROR] Failed to execute goal on project interface-common-jaxrs: Could not resolve dependencies for project org.ovirt.engine.api:interface-common-jaxrs:jar:3.5.0-SNAPSHOT: Could not find artifact org.ovirt.ovirt-host-deploy:ovirt-host-deploy:jar:1.3.0-master-SNAPSHOT -> [Help 1] To my understanding this is because this repo with artifact is missing: https://oss.sonatype.org/content/repositories/snapshots/org/ovirt/ovirt-host-deploy/ovirt-host-deploy/1.3.0-master-SNAPSHOT/ This should be added to project, so it can be built without needing to add this to maven's settings.xml. Version-Release number of selected component (if applicable): 3.5 How reproducible: Always Steps to Reproduce: 1. install fresh el6 machine. 2. Install maven and openjdk java\java-devel 1.7. 3. try to build. Actual results: error: [ERROR] Failed to execute goal on project interface-common-jaxrs: Could not resolve dependencies for project org.ovirt.engine.api:interface-common-jaxrs:jar:3.5.0-SNAPSHOT: Could not find artifact org.ovirt.ovirt-host-deploy:ovirt-host-deploy:jar:1.3.0-master-SNAPSHOT -> [Help 1] Expected results: Should pull all deps and build correctly. Additional info:
This should be added to pom: """ <repository> <id>mvn-releases</id> <url> https://oss.sonatype.org/content/repositories/snapshots </url> <releases></releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> """
artifact it not missing, follow maven-metadata.xml and see what it refers, and it does exists. I just confirmed once again... just to make sure. if you think that this is el6 specific, please try to use upstream maven as-is[1] [1] http://apache.mivzakim.net/maven/maven-3/3.2.3/binaries/apache-maven-3.2.3-bin.tar.gz
Having multiple repositories under different names cause maven to be confused, there should be a reference for external repositories only in top level pom.xml per project (parent).
oVirt 3.5 has been released and should include the fix for this issue.