You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Aurélien Pupier (Jira)" <ji...@apache.org> on 2023/10/04 07:55:00 UTC
[jira] [Work stopped] (CAMEL-19943) Camel JBang copy dependency broken - missing plugin version for camel-maven-plugin in development mode when camel-catalog module is opened as a project
[ https://issues.apache.org/jira/browse/CAMEL-19943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on CAMEL-19943 stopped by Aurélien Pupier.
-----------------------------------------------
> Camel JBang copy dependency broken - missing plugin version for camel-maven-plugin in development mode when camel-catalog module is opened as a project
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-19943
> URL: https://issues.apache.org/jira/browse/CAMEL-19943
> Project: Camel
> Issue Type: Bug
> Components: camel-jbang
> Affects Versions: 4.1.0
> Reporter: Aurélien Pupier
> Assignee: Aurélien Pupier
> Priority: Trivial
>
> When camel-catalog module is opened as a project in the IDE, the test is failing with exit code equal to 1.
> By putting a breakpoint and checking the internal project in .camel-jbang/export, I noticed that the org.apache.camel:camel-maven-plugin has a missing plugin version. When launchign the similar mvn command manually, we have:
> {noformat}
> (base) [apupier@localhost export]$ mvn dependency:copy-dependencies -DincludeScope=compile -DexcludeGroupIds=org.fusesource.jansi,org.apache.logging.log4j -DoutputDirectory=/tmp/junit8410026249734626260
> [INFO] Scanning for projects...
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> [FATAL] 'build.plugins.plugin.(groupId:artifactId)' version of a plugin must be defined. @ line 88, column 21
> @
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR] The project org.apache.camel:camel-jbang-dummy:1.0 (/home/apupier/git/camel3/dsl/camel-jbang/camel-jbang-core/.camel-jbang/export/pom.xml) has 1 error
> [ERROR] 'build.plugins.plugin.(groupId:artifactId)' version of a plugin must be defined. @ line 88, column 21
> [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
> {noformat}
> th eproblem is that the DefaultCamelCatalog return s an empty string version
--
This message was sent by Atlassian Jira
(v8.20.10#820010)