maven - Jboss quickstart kitchensink-angularjs-bootstrap quickstart can't build on openshift due to unresolved pom dependencies -
the quickstart build using maven locally when push openshift, dependencies not being resolved. dependencies of type pom not seem in nexus repository openshift using. pain try put dependencies in dependent poms hoping of better way.
has encountered problem , have better solution? there repository url missing?
edit: quickstart in question under https://github.com/jboss-developer/jboss-wfk-quickstarts/tree/2.6.0.final
stopping rockmongo cartridge mongodb stopped stopping jbossas cartridge repairing links 1 deployments building git ref 'master', commit 49dfdc8 found pom.xml... attempting build 'mvn -e clean package -popenshift -dskiptests' apache maven 3.0.4 (r1232336; 2012-12-18 14:36:37-0500) maven home: /usr/share/java/apache-maven-3.0.4 java version: 1.7.0_65, vendor: oracle corporation java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65/jre default locale: en_us, platform encoding: ansi_x3.4-1968 os name: "linux", version: "2.6.32-431.23.3.el6.x86_64", arch: "i386", family: "unix" [info] scanning projects... downloading: http://mirror.ops.rhcloud.com/nexus/content/groups/public/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.6.0-redhat-1/jboss-javaee-6.0-with-tools-2.6.0-redhat-1.pom
[error] build not read 1 project -> [help 1] [error]
[error] project desda:desda:1.0 (/var/lib/openshift/53e568515973ca7d460003bc/app-root/runtime/repo/pom.xml) has 13 errors
[error] non-resolvable import pom: not find artifact org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:pom:2.6.0-redhat-1 in nexus (http://mirror.ops.rhcloud.com/nexus/content/groups/public) @ line 70, column 16 -> [help 2]
[error] non-resolvable import pom: not find artifact org.jboss.bom.eap:jboss-javaee-6.0-with-hibernate:pom:6.2.3.ga in nexus (http://mirror.ops.rhcloud.com/nexus/content/groups/public) @ line 77, column 16 -> [help 2]
[error] 'dependencies.dependency.version' javax.enterprise:cdi-api:jar missing. @ line 94, column 15
[error] 'dependencies.dependency.version' org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar missing. @ line 102, column 15
[error] 'dependencies.dependency.version' org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec:jar missing. @ line 110, column 15
[error] 'dependencies.dependency.version' org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar missing. @ line 118, column 15
[error] 'dependencies.dependency.version' org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar missing. @ line 126, column 15
[error] 'dependencies.dependency.version' org.hibernate:hibernate-validator:jar missing. @ line 135, column 15
[error] 'dependencies.dependency.version' org.hibernate:hibernate-jpamodelgen:jar missing. @ line 151, column 15
[error] 'dependencies.dependency.version' org.hibernate:hibernate-validator-annotation-processor:jar missing. @ line 159, column 15
[error] 'dependencies.dependency.version' junit:junit:jar missing. @ line 166, column 15
[error] 'dependencies.dependency.version' org.jboss.arquillian.junit:arquillian-junit-container:jar missing. @ line 175, column 15
[error] 'dependencies.dependency.version' org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar missing. @ line 181, column 15
[error]
[error] see full stack trace of errors, re-run maven -e switch.
[error] re-run maven using -x switch enable full debug logging.
[error]
[error] more information errors , possible solutions, please read following articles:
[error] [help 1] http://cwiki.apache.org/confluence/display/maven/projectbuildingexception
[error] [help 2] http://cwiki.apache.org/confluence/display/maven/unresolvablemodelexception error occurred executing 'gear postreceive' (exit code: 1)
error message: client_error: failed execute: 'control build' /var/lib/openshift/53e568515973ca7d460003bc/jbossas
for more details problem, try running command again '--trace' option.
in case else clueless in maven am!! need add following pom.xml <repositories> <repository> <id>jboss-ga-repository</id> <url>http://maven.repository.redhat.com/techpreview/all</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <pluginrepositories> <pluginrepository> <id>jboss-ga-plugin-repository</id> <url>http://maven.repository.redhat.com/techpreview/all</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginrepository> </pluginrepositories> add dependency in dependencies section <dependency> <groupid>org.jboss.spec</groupid> <artifactid>jboss-javaee-all-6.0</artifactid> <version>3.0.0.final</version> </dependency>
Comments
Post a Comment