Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14142

camel-archetype-dataformat archetype uses wrong directory for ServiceSupport

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Unknown

    Description

      I tried to create a project with camel-archetype-dataformat archetype with Maven archetype generator like this:

      F:\Spring-work-space\New Folder>mvn archetype:generate -B -e -DarchetypeGroupId=
      org.apache.camel.archetypes -DarchetypeArtifactId=camel-archetype-dataformat -DarchetypeVersion=3.0.0-RC3 -DgroupId=camelinaction -DartifactId=reverse-dataformat2 -Dname=Reverse -Dscheme=reverse

      The project gets built.

      But when I opened it , there is a class named ReverseDataFormat at camelinaction package which extends to ServiceSupport.

      public class ReverseDataFormat extends ServiceSupport implements DataFormat, DataFormatName

      The problem here is that by default it uses the org.apache.camel.support.ServiceSupport;

      in order to import this class, but it is wrong and IDEA throw an exception which is right! The ServiceSupport reside in this package: org.apache.camel.support.service.ServiceSupport;

       

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            acosentino Andrea Cosentino
            odehghan Omid Dehghan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment