Unable to Build Maven Project Generated by Camel-Jbang Export Command
Issue
Build error occurs with the maven project generated by camel-jbang export command.
Command to generate a project.
camel export --runtime=spring-boot --gav=com.foo:acme:1.0-SNAPSHOT --directory=../myproject --camel-spring-boot-version=4.4.0.redhat-00014
Build error
]$ mvn install
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM /home/myproject/pom.xml: expected START_TAG or END_TAG not TEXT (position: TEXT seen ...</camel.spring.boot-version>\n{{ .AdditionalProperties }}\n\t</... @23:4) @ line 23, column 4
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project (/home/myproject/pom.xml) has 1 error
[ERROR] Non-parseable POM /home/myproject/pom.xml: expected START_TAG or END_TAG not TEXT (position: TEXT seen ...</camel.spring.boot-version>\n{{ .AdditionalProperties }}\n\t</... @23:4) @ line 23, column 4 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException
Environment
- Red Hat Build of Apache Camel
- Camel-Jbang
- 4.5
- Camel-Jbang
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.