You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2019/11/06 09:37:00 UTC

[jira] [Assigned] (CAMEL-14142) camel-archetype-dataformat archetype uses wrong directory for ServiceSupport

     [ https://issues.apache.org/jira/browse/CAMEL-14142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Cosentino reassigned CAMEL-14142:
----------------------------------------

    Assignee: Andrea Cosentino

> camel-archetype-dataformat archetype uses wrong directory for ServiceSupport
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-14142
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14142
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-archetypes
>    Affects Versions: 3.0.0.RC3
>            Reporter: Omid Dehghan
>            Assignee: Andrea Cosentino
>            Priority: Major
>              Labels: camel-archetype-dataformat, converter
>             Fix For: 3.0.0
>
>
> 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.
> {color:#000080}public class {color}ReverseDataFormat {color:#000080}extends {color}ServiceSupport {color:#000080}implements {color}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;
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)