Repository navigation
mvn clean build error #56
Copy link
Copy link
Open
Labels
Description
I just pulled and tried to build this and got an error. Please be kind, I'm not a Java expert.
mvn --version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)
Maven home: /usr/local/Cellar/maven/3.3.9/libexec
Java version: 1.8.0_121, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.12.3", arch: "x86_64", family: "mac"
git clone https://github.com/codenvy/plugin-openshift
cd plugin-openshift
mvn clean install
.....
[INFO] Scanning for projects...
Downloading: https://maven.codenvycorp.com/content/groups/public/org/eclipse/che/depmgt/maven-depmgt-pom/5.2.0-SNAPSHOT/maven-metadata.xml
Downloading: https://maven.codenvycorp.com/content/repositories/codenvy-public-snapshots/org/eclipse/che/depmgt/maven-depmgt-pom/5.2.0-SNAPSHOT/maven-metadata.xml
Downloading: https://maven.codenvycorp.com/content/groups/public/org/eclipse/che/depmgt/maven-depmgt-pom/5.2.0-SNAPSHOT/maven-depmgt-pom-5.2.0-SNAPSHOT.pom
Downloading: https://maven.codenvycorp.com/content/repositories/codenvy-public-snapshots/org/eclipse/che/depmgt/maven-depmgt-pom/5.2.0-SNAPSHOT/maven-depmgt-pom-5.2.0-SNAPSHOT.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.eclipse.che:openshift-plugin-parent:0.1.0-SNAPSHOT: Could not find artifact org.eclipse.che.depmgt:maven-depmgt-pom:pom:5.2.0-SNAPSHOT in codenvy-public-repo (https://maven.codenvycorp.com/content/groups/public/) and 'parent.relativePath' points at wrong local POM @ line 16, column 13
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.eclipse.che:openshift-plugin-parent:0.1.0-SNAPSHOT (/Users/dischord01/.che/plugin-openshift/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.eclipse.che:openshift-plugin-parent:0.1.0-SNAPSHOT: Could not find artifact org.eclipse.che.depmgt:maven-depmgt-pom:pom:5.2.0-SNAPSHOT in codenvy-public-repo (https://maven.codenvycorp.com/content/groups/public/) and 'parent.relativePath' points at wrong local POM @ line 16, column 13 -> [Help 2]
[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/UnresolvableModelException
Reactions are currently unavailable
Activity
TylerJewell commentedon Mar 3, 2017
It looks like the plugin is trying to depend upon Codenvy 5.2.0-SNAPSHOT, which was wiped from our dependency servers. In the branch that you have, there are some changes that need to be made to the pom.xml dependencies so that it's using the latest libraries that are located in our Maven repository, so pointing to either 5.4.0 or 5.5.0-SNAPSHOT.
Did you have your branch on an older version perhaps?
dischord01 commentedon Mar 3, 2017
Not sure, I was just pulling from master. I will make updates and let you know.
dischord01 commentedon Mar 6, 2017
I updated the POM here
and here
It seemed to go to the right places but failed compiling.
I really have no idea what the issues is. Is there a prebuilt plugin somewhere I can use?
TylerJewell commentedon Mar 6, 2017
It's hard to say what the issue is because you cut off the primary error in your output - so we need more details. But in looking at it - you should not be changing this:
dischord01 commentedon Mar 6, 2017
Can you point me at a updated/correct POM? I have no idea what I need to change in the POM to get this to work. I don't want to keep bothering you but, I know zero Java and Im just going off what is says on the Che website
https://www.eclipse.org/che/docs/openshift/config/.carljmosca commentedon Apr 3, 2017
Is there an update on this issue? I am unable to build the project.
sarancruzer commentedon Jun 18, 2018