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

Publish a Fuse Project not working for imported Existing Maven Projects as Eclipse Project

    XMLWordPrintable

Details

    • Hide
      • import an existing Fuse/Camel Maven Project inside your workspace.
      • convert it to Faceted Project
      • add the required Facets: Camel, JBoss Maven Integration, Java, Utility Module
      • observe that an empty MANIFEST.MF was generated inside src/main/resources/MANIFEST
      • using the Fuse Server adapter try to deploy yor project using Add/Remove context menu option
      • see the FUSE_HOME/data/logs/fuse.log
      Show
      import an existing Fuse/Camel Maven Project inside your workspace. convert it to Faceted Project add the required Facets: Camel, JBoss Maven Integration, Java, Utility Module observe that an empty MANIFEST.MF was generated inside src/main/resources/MANIFEST using the Fuse Server adapter try to deploy yor project using Add/Remove context menu option see the FUSE_HOME/data/logs/fuse.log
    • Workaround Exists
    • Hide

      Use "Import as Maven project" instead of "Import as Eclipse project"

      Show
      Use "Import as Maven project" instead of "Import as Eclipse project"

    Description

      The procedure described in the product documentation "TOOLING TUTORIALS" [1] only works for projects created using the Fuse Project Wizard. If you import an existing Fuse maven project, convert it to Faceted Project and then add the required Project Facets (Camel, JBoss Maven Integration, Java, Utility Module)... The tooling will automatically generates an empty MANIFEST.MF file inside src/main/resources/MANIFEST.

      This empty MANIFEST.MF causes the deployment fail if you use the Fuse Server adapter > Add/Remove context menu option. Because the MANIFEST.MF generated does not contains the correct OSGI bundle configuration the deployment fails.

      From the developer perspective you can't figure out what happened util you see the Fuse Server logs.

      The tooling should use the MANIFEST.MF generated by the maven-bundle-plugin instead.

      [1] https://access.redhat.com/documentation/en/red-hat-jboss-fuse/6.3/single/tooling-tutorials/#RiderTutDeployFESB

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rafael.soares Rafael Soares
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: