OpenShiftDemos / openshift-tasks

Sample JBoss EAP (WildFly) App for OpenShift
47 stars 425 forks source link

build is failing - Non-resolvable import POM #17

Open sidd-harth opened 6 years ago

sidd-harth commented 6 years ago

I am trying to build this through Openshift CD Demo & also locally, but I am facing build issues in beginning itself. `[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:pom:2.0.0 in nexus (http://nexus:8081/repository/maven-all-public/) @ org.jboss.bom.eap:jboss-javaee-6.0-with-tools:[unknown-version], /home/jenkins/.m2/repository/org/jboss/bom/eap/jboss-javaee-6.0-with-tools/6.4.0.GA/jboss-javaee-6.0-with-tools-6.4.0.GA.pom, line 55, column 25

[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.arquillian:arquillian-bom:pom:1.1.0.Final in nexus (http://nexus:8081/repository/maven-all-public/) @ org.jboss.bom.eap:jboss-javaee-6.0-with-tools:[unknown-version], /home/jenkins/.m2/repository/org/jboss/bom/eap/jboss-javaee-6.0-with-tools/6.4.0.GA/jboss-javaee-6.0-with-tools-6.4.0.GA.pom, line 64, column 25

[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.arquillian.extension:arquillian-drone-bom:pom:1.1.1.Final in nexus (http://nexus:8081/repository/maven-all-public/) @ org.jboss.bom.eap:jboss-javaee-6.0-with-tools:[unknown-version], /home/jenkins/.m2/repository/org/jboss/bom/eap/jboss-javaee-6.0-with-tools/6.4.0.GA/jboss-javaee-6.0-with-tools-6.4.0.GA.pom, line 74, column 25

[ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is missing. @ line 87, column 21 [ERROR] 'dependencies.dependency.version' for org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar is missing. @ line 94, column 21 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec:jar is missing. @ line 101, column 21 [ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar is missing. @ line 114, column 21 [ERROR] 'dependencies.dependency.version' for junit:junit:jar is missing. @ line 121, column 21 [ERROR] 'dependencies.dependency.version' for org.jboss.arquillian.junit:arquillian-junit-container:jar is missing. @ line 127, column 21 [ERROR] 'dependencies.dependency.version' for org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar is missing. @ line 133, column 21`

Full error in this image jenkins

siamaksade commented 6 years ago

Locally you can't use the settings.xml provided since it points at the Nexus instance deployed with the demo. Make sure Nexus is deployed successfully