Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20296

Allow testing through /component-test for projects having `it` folders

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      The /component-test comment on PR is not working for some components. it seems that they have src/it folder in common

      [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)
      
      [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)
      

      Attachments

        Issue Links

          Activity

            People

              nfilotto Nicolas Filotto
              apupier Aurélien Pupier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: