5 Replies Latest reply on Jan 17, 2013 11:47 PM by anika001

    forge install-plugin openshift fails

    khooke

      I'm trying to install the openshift plugin using Forge 1.0.5 Final in JBoss Dev Studio 5.0.1.GA, on Mac OS X 10.8.1, and I'm getting this error:

       

       

      [INFO] ------------------------------------------------------------------------

      [INFO] Building forge-openshift-plugin 1.0.3-SNAPSHOT

      [INFO] ------------------------------------------------------------------------

      [WARNING] The POM for com.openshift:openshift-java-client:jar:2.0.0-SNAPSHOT is missing, no dependency information available

      [WARNING] The artifact jsch:jsch:jar:0.1.29 has been relocated to com.jcraft:jsch:jar:0.1.29

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 4.581s

      [INFO] Finished at: Wed Sep 26 10:50:55 PDT 2012

      [INFO] Final Memory: 9M/155M

      [INFO] ------------------------------------------------------------------------

      [ERROR] Failed to execute goal on project forge-openshift-plugin: Could not resolve dependencies for project com.redhat.openshift:forge-openshift-plugin:jar:1.0.3-SNAPSHOT: Failure to find com.openshift:openshift-java-client:jar:2.0.0-SNAPSHOT in http://repository.jboss.org/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of JBOSS_NEXUS has elapsed or updates are forced -> [Help 1]

       


       

      Is there something that needs to be fixed in the poms for the openshift forge plugin?

        • 1. Re: forge install-plugin openshift fails
          lincolnthree

          The plugin was referencing a SNAPSHOT version of the openshift library, which of course is not in Maven central repo. I've upated this. It should work now. Thanks for reporting this problem!

          1 of 1 people found this helpful
          • 2. Re: forge install-plugin openshift fails
            khooke

            Thanks - just tried again and now it installed perfectly, thanks for the quick fix.

             

            Is there an up to date page on the forge openshift commands, is it just 'rhc setup' and 'rhc deploy' - this page looks like it's older and needs updating:

            https://openshift.redhat.com/community/videos/forge-from-zero-to-cloud-with-openshift-express-1

             

            After I run 'rhc setup --app myappname' I get the logon to my openshift account and see this:

            ***INFO*** Using RHLOGIN:myopenshiftid@example.com for null

            ? Enter your Red Hat Login password **********

            ***INFO*** Found OpenShift User: myopenshiftid@example.com

            ***INFO*** Found JBoss Cartridge: jbossas-7

             

            And then if I do:

            [myappname] MyAppName $ rhc deploy

            ***ERROR*** [rhc] Missing command for plugin [rhc], available commands: [setup]

             

            Did something in the setup step not complete? It looks like it's telling me I need to do the setup step, but if I do it again it does exactly the same as last time. Am I missing a step or is something not working?

             

            Thanks!

            • 3. Re: forge install-plugin openshift fails
              gastaldi

              Do you have any errors ? Try running with SET VEBOSE true

              • 4. Re: forge install-plugin openshift fails
                yambrosov

                with 1.1.3.Final the same error

                 

                 

                [ERROR] Failed to execute goal on project forge-openshift-plugin: Could not resolve dependencies for project com.redhat.

                openshift:forge-openshift-plugin:jar:1.0.3-SNAPSHOT: Failed to collect dependencies for [org.jboss.forge:forge-shell-api

                :jar:1.0.6.Final (provided), org.jboss.forge:forge-maven-api:jar:1.0.6.Final (provided), org.jboss.forge:forge-test-harn

                ess:jar:1.0.6.Final (test), org.jboss.forge:forge-shell:jar:1.0.6.Final (test), org.jboss:jboss-dmr:jar:1.0.0.Final (com

                pile), com.jcraft:jsch:jar:0.1.48 (compile), com.openshift:openshift-java-client:jar:2.0.1 (compile), org.eclipse.jgit:o

                rg.eclipse.jgit:jar:2.0.0.201206130900-r (compile), log4j:apache-log4j-extras:jar:1.1 (compile)]: Failed to read artifac

                t descriptor for org.jboss.forge:forge-shell-api:jar:1.0.6.Final: Could not find artifact org.jboss.weld:weld-core-bom:p

                om:1.1.2.Final in maven-central (http://repo1.maven.org/maven2/) -> [Help 1]

                • 5. Re: forge install-plugin openshift fails
                  anika001

                  Do you have any errors ? Try running with SET VEBOSE true