You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Otavio Rodolfo Piske (Jira)" <ji...@apache.org> on 2020/09/12 09:35:00 UTC
[jira] [Resolved] (CAMEL-15525) camel-archetype-java: main class on
pom file different than actual main class
[ https://issues.apache.org/jira/browse/CAMEL-15525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Otavio Rodolfo Piske resolved CAMEL-15525.
------------------------------------------
Fix Version/s: 3.6.0
3.4.4
Resolution: Fixed
Fix verified locally. Should be available on the next releases.
> 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
> Fix For: 3.4.4, 3.6.0
>
>
> 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)