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

Otavio Rodolfo Piske reassigned CAMEL-15525:
--------------------------------------------

    Assignee: Otavio Rodolfo Piske

> camel-archetype-java: main class on pom file different than actual main class
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-15525
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15525
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-archetypes
>    Affects Versions: 3.4.3, 3.5.0
>            Reporter: Otavio Rodolfo Piske
>            Assignee: Otavio Rodolfo Piske
>            Priority: Minor
>
> When you generate a project using the command below, the main class on the 
> pom file does not match the actual pom file generated. 
> {code:java}
> mvn archetype:generate -B -DarchetypeGroupId=org.apache.camel.archetypes 
> -DarchetypeArtifactId=camel-archetype-java -DarchetypeVersion=3.4.3 
> -DgroupId=camel-passo-a-passo -DartifactId=primeiro-app-camel 
> -Dversion=1.0.0-SNAPSHOT -Dpackage=primeiro.app.camel
> {code}
> On the pom.xml: 
> {code:java}
> <configuration>
>           <logClasspath>true</logClasspath>
>           <mainClass>primeiro.app.camel.MainApp</mainClass>
> </configuration>
> {code}
> On the project: 
> {code:java}
> find src -iname '*.java'
> src/main/java/primeiro/app/camel/MainApp.java
> src/main/java/primeiro/app/camel/MyRouteBuilder.java
> {code}



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

Reply via email to