You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Nicolas Filotto (Jira)" <ji...@apache.org> on 2024/01/04 15:09:00 UTC

[jira] [Resolved] (CAMEL-20296) Allow testing through /component-test for projects having `it` folders

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

Nicolas Filotto resolved CAMEL-20296.
-------------------------------------
    Resolution: Fixed

> Allow testing through /component-test for projects having `it` folders
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-20296
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20296
>             Project: Camel
>          Issue Type: Task
>          Components: camel-salesforce, camel-servicenow
>    Affects Versions: 4.3.0
>            Reporter: Aurélien Pupier
>            Assignee: Nicolas Filotto
>            Priority: Minor
>
> The /component-test comment on PR is not working for some components. it seems that they have src/it folder in common
> {noformat}
> [ERROR] [ERROR] Could not find the selected project in the reactor: components/camel-salesforce/camel-salesforce-maven-plugin/src/it/customized-types @ 
> [ERROR] Could not find the selected project in the reactor: components/camel-salesforce/camel-salesforce-maven-plugin/src/it/customized-types -> [Help 1]
> org.apache.maven.MavenExecutionException: Could not find the selected project in the reactor: components/camel-salesforce/camel-salesforce-maven-plugin/src/it/customized-types
> 	at org.apache.maven.graph.DefaultGraphBuilder.trimSelectedProjects(DefaultGraphBuilder.java:148)
> 	at org.apache.maven.graph.DefaultGraphBuilder.reactorDependencyGraph(DefaultGraphBuilder.java:110)
> 	at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:78)
> 	at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:448)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:197)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
> 	at org.apache.maven.cli.DaemonMavenCli.execute(DaemonMavenCli.java:694)
> 	at org.apache.maven.cli.DaemonMavenCli.doMain(DaemonMavenCli.java:240)
> 	at org.apache.maven.cli.DaemonMavenCli.main(DaemonMavenCli.java:217)
> 	at org.mvndaemon.mvnd.daemon.Server.handle(Server.java:612)
> 	at org.mvndaemon.mvnd.daemon.Server.client(Server.java:288)
> 	at org.mvndaemon.mvnd.daemon.Server.lambda$accept$2(Server.java:250)
> 	at java.base/java.lang.Thread.run(Thread.java:840)
> {noformat}
> {noformat}
> [ERROR] [ERROR] Could not find the selected project in the reactor: components/camel-servicenow/camel-servicenow-maven-plugin/src/it/simple-it @ 
> [ERROR] Could not find the selected project in the reactor: components/camel-servicenow/camel-servicenow-maven-plugin/src/it/simple-it -> [Help 1]
> org.apache.maven.MavenExecutionException: Could not find the selected project in the reactor: components/camel-servicenow/camel-servicenow-maven-plugin/src/it/simple-it
> 	at org.apache.maven.graph.DefaultGraphBuilder.trimSelectedProjects(DefaultGraphBuilder.java:148)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)