2 Replies Latest reply on Oct 13, 2018 5:23 PM by tcunning

    Basic problems with JBoss studio 11.0.3 + SwitchYard

    vape8001

      Hi,

      I'm new with SwitchYard and would need some help

       

      What I have:

      1.) Jboss studio 11.0.03

      2.) Jboss EAP 6.1 + switchyard 1.1.1-p5

       

      I have opened a new SwitchYard project and made some program logic following (Gary Liu's Technical Knowledge Base: JBoss FSW Switchyard Tutorial 1: HelloWorld ).

      Then I tryed to build the project with mvn install and got:

       

       

      my pom.xml is:

       

      <project
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
      xmlns="http://maven.apache.org/POM/4.0.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      4.0.0
      
      
      com.example.switchyard
      switchyard-example
      0.0.1-SNAPSHOT
      com.example.switchyard:switchyard-example
      
      
      
      1.1.1-p5
      1.7
      1.7
      
      
      
      org.switchyard.components
      switchyard-component-bean
      ${switchyard.version}
      
      
      org.switchyard.components
      switchyard-component-resteasy
      ${switchyard.version}
      
      
      org.switchyard
      switchyard-api
      ${switchyard.version}
      
      
      org.switchyard
      switchyard-transform
      ${switchyard.version}
      
      
      org.switchyard
      switchyard-validate
      ${switchyard.version}
      
      
      org.switchyard
      switchyard-test
      ${switchyard.version}
      test
      
      
      org.switchyard.components
      switchyard-component-test-mixin-cdi
      ${switchyard.version}
      test
      
      
      
      
      
      org.switchyard
      switchyard-plugin
      ${switchyard.version}
      
      
      
      configure
      
      
      
      
      
      org.switchyard.transform.config.model.TransformSwitchYardScanner
      
      
      
      
      
      
      

       

      Thank you for any info

      BRG

      Peter

        • 1. Re: Basic problems with JBoss studio 11.0.3 + SwitchYard
          rick_wagner

          Hi Peter,

           

          I have some general advice.

          - SwitchYard is not very active these days, you'll have better luck (and future uses) for Wildfly-Camel.  Camel has pretty much taken over the Integration space, you may want to give it a look.

          - If you are going to use SY, get the latest DevStudio with SY support, I think that's 11.3.

          - Sometimes other plugins will interfere with your SY plugins.  If it gets too aggravating, just build from command-line Maven.  (This seems especially true for plugins that do things like package .wars, etc.)
          - Always start your projects from a copy of one of the SY 'quickstart' applications.  These are known to work well (and quickly).

          Good luck!

          Rick

          • 2. Re: Basic problems with JBoss studio 11.0.3 + SwitchYard
            tcunning

            All of Rick's advice is totally on point and I think you should update to more standard versions of tooling and SwitchYard - but as to your specific error, it is telling you that maven can't find a 1.1.1-p5 switchyard-plugin.    Three choices:

             

            a) Use an available community version (1.1.0.Final, etc) : Maven Repository: org.switchyard » switchyard-plugin

             

            b) Use 1.1.1-p5.redhat-1 - that's the version I would have expected JBDS to have configured, but maybe I'm missing something  : Maven Repository: org.switchyard » switchyard-plugin » 1.1.1-p5-redhat-1

             

            c) Build the 1.1.1-p5 switchyard-plugin (git@github.com:jboss-switchyard/core.git)