Description of problem: It will prompt error messages when trying to do "git push" command in jboss appliction directory, and the application page is blank. It will be successful if push with jenkins-client embedded. Version-Release number of selected component (if applicable): Fedora_remix.iso_2012_04_13 cartridge-jbossas-7-0.91.2-1.git.0.fc6aaf7.fc16.noarch How reproducible: Always Steps to Reproduce: 1.Create an Jboss application in virtual machine launched from fedora_remixed.iso 2.Make some changes in application. 3.Do git push command. Actual results: I will prompt the error message as below, and the application page is blank. [error message] remote: [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to nexus (http://mirror1.prod.rhcloud.com:80/nexus/content/groups/public): Error transferring file: No route to host -> [Help 1] remote: [ERROR] remote: [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. remote: [ERROR] Re-run Maven using the -X switch to enable full debug logging. remote: [ERROR] remote: [ERROR] For more information about the errors and possible solutions, please read the following articles: remote: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException remote: Running .openshift/action_hooks/build Expected results: The "git push" command should be successful, and the application page is changed correctly. Additional info:
There were a couple of issues in the JBoss cartridge. One had to do with the nexus repository URL pointing to *.rhcloud.com and the other was incorrect setup of alternatives for maven (/etc/alternatives/maven-3.0). The former URL issue was fixed by a change made by Troy Dawson, and I have fixed the other issue with the maven alternatives setup.
Verified this bug with the latest fedora remix image (24-Apr-2012), and PASS.