Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.4.3, 3.5.0
-
None
-
Unknown
Description
When you generate a project using the command below, the main class on the pom file does not match the actual pom file generated.
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
On the pom.xml:
<configuration>
<logClasspath>true</logClasspath>
<mainClass>primeiro.app.camel.MainApp</mainClass>
</configuration>
On the project:
find src -iname '*.java'
src/main/java/primeiro/app/camel/MainApp.java
src/main/java/primeiro/app/camel/MyRouteBuilder.java