2 Replies Latest reply on Apr 3, 2017 9:30 AM by gautamamitin

    Problem add/remove switchyard deployments in Eclipse with latest jboss tools

    masch82

      Hi,

       

      I have two problems when trying to get familiar with Switchyard.

      I import the quickstarts into Eclipse as 'Existing Maven projects'

       

      First I have two maven errors, when trying to build the quickstarts in Eclipse :

      
      
      
      
      Project build error: Non-resolvable import POM: Failure to find org.jboss.as:jboss-as-parent:pom:7.4.0.Final-redhat-19 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-public-repository-group has elapsed or updates are forced
      
      
      
      Project build error: Non-resolvable import POM: Failure to find org.jboss.bom:eap6-supported-artifacts:pom:6.3.0.GA 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-public-repository-group has elapsed or updates are forced
      pom.xml
      /switchyard-camel-file-binding
      line 1
      Maven pom Loading Problem
      
      
      
      
      pom.xml
      /switchyard-camel-file-binding
      line 1
      Maven pom Loading Problem
      
      
      
      

      It looks to me, like they origin from a POM referenced from the main quickstart maven file ? So I have no direct control and can not fix this ?

       

      Secondly, there seems to be a problem with the eclipse Wildfly server adapter. I can only use the 'Add and Remove' button on the server once to deploy one of the switchyard quickstarts. If I deployed one, and try to open the add and remove dialog again, it simply does not appear - no window, no error message, no stacktrace in the console.
      On the other Hand if I for example add a regular Dynamic WebProject to the server, I can later add and remove more deployments to the server, this only happens after deploying at least one switchyard project ... Removing the Server and the Runtime from Eclipse fixes this, I can then add and remove deployments to the server again, but only until I add a switchyard project ...

       

      I even installed a simple Virtual Machine, with the configuration below, to test this has nothing to do with my environment on my main machine, and it's reproducible for me :

       

      Configuration

      • CentOS 7
      • Eclipse Luna SR1a
      • JBoss Tools 4.2.2 from the marketplace as detailed in the jboss blog w. newest Switchyard tools (enabled early access for Switchyard 2.0.0 beta 1 tools)
      • wildfly 8.1.0 final
      • switchyard 2.0.0 Beta1 (installed via )  switchyard-installer-wildfly-2.0.0.Beta1
        • 1. Re: Problem add/remove switchyard deployments in Eclipse with latest jboss tools
          bfitzpat

          Hi Marco, I have reproduced the issue on Windows as well and created a JIRA here - [SWITCHYARD-2514] Deployment issues with JBoss Tools 4.2.2.Final - JBoss Issue Tracker

           

          Hopefully we can get to the bottom of this quickly!

          • 2. Re: Problem add/remove switchyard deployments in Eclipse with latest jboss tools
            gautamamitin

            I have manually updated the dependencies version in the pom files taking reference from Index of /groups/public/org and it resolved all the below errors

             

            [ERROR] [ERROR] Some problems were encountered while processing the POMs:

            [ERROR] Non-resolvable import POM: Failure to find org.kie:kie-bom:pom:6.2.0.Final-redhat-6 in http://repository.jboss.org/nexus/content/groups/public/org/jboss/bom/ was cached in the local repository, resolution will not be reattempted until the update interval of EAP has elapsed or updates are forced @ org.jboss.integration.fuse:fuse-integration-bom:1.0.0.redhat-620137, C:\Users\eamigau\.m2\repository\org\jboss\integration\fuse\fuse-integration-bom\1.0.0.redhat-620137\fuse-integration-bom-1.0.0.redhat-620137.pom, line 40, column 25

            [ERROR] Non-resolvable import POM: Failure to find org.jboss.as:jboss-as-parent:pom:7.4.0.Final-redhat-19 in http://repository.jboss.org/nexus/content/groups/public/org/jboss/bom/ was cached in the local repository, resolution will not be reattempted until the update interval of EAP has elapsed or updates are forced @ org.switchyard:switchyard-bom:2.0.1.redhat-620133, C:\Users\eamigau\.m2\repository\org\switchyard\switchyard-bom\2.0.1.redhat-620133\switchyard-bom-2.0.1.redhat-620133.pom, line 235, column 25

            [ERROR] Non-resolvable import POM: Failure to find org.drools:drools-bom:pom:6.2.0.Final-redhat-6 in http://repository.jboss.org/nexus/content/groups/public/org/jboss/bom/ was cached in the local repository, resolution will not be reattempted until the update interval of EAP has elapsed or updates are forced @ org.jboss.integration.fuse:fuse-integration-bom:1.0.0.redhat-620137, C:\Users\eamigau\.m2\repository\org\jboss\integration\fuse\fuse-integration-bom\1.0.0.redhat-620137\fuse-integration-bom-1.0.0.redhat-620137.pom, line 54, column 25

            [ERROR] Non-resolvable import POM: Failure to find org.jbpm:jbpm-bom:pom:6.2.0.Final-redhat-6 in http://repository.jboss.org/nexus/content/groups/public/org/jboss/bom/ was cached in the local repository, resolution will not be reattempted until the update interval of EAP has elapsed or updates are forced @ org.jboss.integration.fuse:fuse-integration-bom:1.0.0.redhat-620137, C:\Users\eamigau\.m2\repository\org\jboss\integration\fuse\fuse-integration-bom\1.0.0.redhat-620137\fuse-integration-bom-1.0.0.redhat-620137.pom, line 61, column 25

            [ERROR] Non-resolvable import POM: Failure to find org.jboss.bom:eap6-supported-artifacts:pom:6.4.0.GA in http://repository.jboss.org/nexus/content/groups/public/org/jboss/bom/ was cached in the local repository, resolution will not be reattempted until the update interval of EAP has elapsed or updates are forced @ org.jboss.integration.fuse:fuse-integration-bom:1.0.0.redhat-620137, C:\Users\eamigau\.m2\repository\org\jboss\integration\fuse\fuse-integration-bom\1.0.0.redhat-620137\fuse-integration-bom-1.0.0.redhat-620137.pom, line 68, column 25

            @

            [ERROR] The build could not read 1 project -> [Help 1]

            [ERROR]  

            [ERROR]   The project com.example.switchyard:customer-ws:0.0.1-SNAPSHOT (C:\Users\eamigau\workspace\customer-ws\pom.xml) has 5 errors

            [ERROR]     Non-resolvable import POM: Failure to find org.kie:kie-bom:pom:6.2.0.Final-redhat-6 in http://repository.jboss.org/nexus/content/groups/public/org/jboss/bom/ was cached in the local repository, resolution will not be reattempted until the update interval of EAP has elapsed or updates are forced @ org.jboss.integration.fuse:fuse-integration-bom:1.0.0.redhat-620137, C:\Users\eamigau\.m2\repository\org\jboss\integration\fuse\fuse-integration-bom\1.0.0.redhat-620137\fuse-integration-bom-1.0.0.redhat-620137.pom, line 40, column 25 -> [Help 2]

            [ERROR]     Non-resolvable import POM: Failure to find org.jboss.as:jboss-as-parent:pom:7.4.0.Final-redhat-19 in http://repository.jboss.org/nexus/content/groups/public/org/jboss/bom/ was cached in the local repository, resolution will not be reattempted until the update interval of EAP has elapsed or updates are forced @ org.switchyard:switchyard-bom:2.0.1.redhat-620133, C:\Users\eamigau\.m2\repository\org\switchyard\switchyard-bom\2.0.1.redhat-620133\switchyard-bom-2.0.1.redhat-620133.pom, line 235, column 25 -> [Help 2]

            [ERROR]     Non-resolvable import POM: Failure to find org.drools:drools-bom:pom:6.2.0.Final-redhat-6 in http://repository.jboss.org/nexus/content/groups/public/org/jboss/bom/ was cached in the local repository, resolution will not be reattempted until the update interval of EAP has elapsed or updates are forced @ org.jboss.integration.fuse:fuse-integration-bom:1.0.0.redhat-620137, C:\Users\eamigau\.m2\repository\org\jboss\integration\fuse\fuse-integration-bom\1.0.0.redhat-620137\fuse-integration-bom-1.0.0.redhat-620137.pom, line 54, column 25 -> [Help 2]

            [ERROR]     Non-resolvable import POM: Failure to find org.jbpm:jbpm-bom:pom:6.2.0.Final-redhat-6 in http://repository.jboss.org/nexus/content/groups/public/org/jboss/bom/ was cached in the local repository, resolution will not be reattempted until the update interval of EAP has elapsed or updates are forced @ org.jboss.integration.fuse:fuse-integration-bom:1.0.0.redhat-620137, C:\Users\eamigau\.m2\repository\org\jboss\integration\fuse\fuse-integration-bom\1.0.0.redhat-620137\fuse-integration-bom-1.0.0.redhat-620137.pom, line 61, column 25 -> [Help 2]

            [ERROR]     Non-resolvable import POM: Failure to find org.jboss.bom:eap6-supported-artifacts:pom:6.4.0.GA in http://repository.jboss.org/nexus/content/groups/public/org/jboss/bom/ was cached in the local repository, resolution will not be reattempted until the update interval of EAP has elapsed or updates are forced @ org.jboss.integration.fuse:fuse-integration-bom:1.0.0.redhat-620137, C:\Users\eamigau\.m2\repository\org\jboss\integration\fuse\fuse-integration-bom\1.0.0.redhat-620137\fuse-integration-bom-1.0.0.redhat-620137.pom, line 68, column 25 -> [Help 2]