Omid Dehghan created CAMEL-14142:
------------------------------------

             Summary: 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


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 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)

Reply via email to