Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2513

CXF Code First templates broken on Camel 2.17.0.redhat-630283

XMLWordPrintable

      1. create a new Fuse Integration Project using Camel version 2.17.0.redhat-630283 and the CXF Code First template (doesn't matter which DSL type)
      2. check the pom.xml
    • Release Notes

      If you create a project with Camel Version 2.17.0.redhat-630283 the created pom.xml will have an error:

      dependencies.dependency.version' for org.apache.aries.proxy:org.apache.aries.proxy.api:jar is missing.
      

      It seems that in the 283 bom of io.fabric8 this dependency has been dropped due to a version change of aries. See the following IRC log:

      [11:35:14] <ggrzybek> lhein, it changed
      [11:35:32] <ggrzybek> aries.proxy.api + aries.proxy.impl → aries.proxy
      [11:35:33] <lhein> thats what I already know :D
      [11:35:56] <lhein> what exactly changed and why
      [11:36:10] <ggrzybek> 630262 still has it, because this tag is a bit "older" than the number may suggest
      [11:36:14] <ggrzybek> it's related to aries change
      [11:36:44] <ggrzybek> so you have to upgrade too...
      [11:38:12] <ggrzybek> lhein, it's a change related to upgrade from aries.blueprint.core 1.7.1 to 1.8.0
      [11:38:24] <ggrzybek> aries proxy changed artifacts organization between 1.0.x and 1.1.x
      [11:38:33] <lhein> and that makes proxy impl obsolete?
      [11:38:55] <lhein> we use it in 2 of our project templates
      [11:38:57] <lhein> https://github.com/jbosstools/jbosstools-fuse/blob/master/editor/plugins/org.fusesource.ide.projecttemplates/template-sources/medium/cxf-code-first/medium-fuse-cxf-code-first-spring/pom.xml#L120-L124
      [11:38:57] <ggrzybek> yep
      [11:39:40] <ggrzybek> hmm, I can only say - sorry for inconvenience...
      [11:39:40] <lhein> https://github.com/jbosstools/jbosstools-fuse/blob/master/editor/plugins/org.fusesource.ide.projecttemplates/template-sources/medium/cxf-code-first/medium-fuse-cxf-code-first-java/pom.xml#L94-L98
      [11:39:52] <ggrzybek> hmm - is there a way to know which Fuse you're using?
      [11:40:00] <ggrzybek> and to select template accordingly?
      [11:40:26] <lhein> the template itself doesn't care for versions atm. the version is set when creating the template
      [11:40:54] <lhein> it basically maps the selected camel version to a fuse bom version
      [11:40:59] <lhein> and sets that one
      

              lheinema@redhat.com Lars Heinemann
              lheinema@redhat.com Lars Heinemann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: