This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new 69407b6f6 chore(builder): skip Maven test
69407b6f6 is described below

commit 69407b6f637cd4d0124f8cf824bc7f21e7938da0
Author: Pasquale Congiusti <pasquale.congiu...@gmail.com>
AuthorDate: Fri May 31 10:30:30 2024 +0200

    chore(builder): skip Maven test
    
    We have no reason to try executing any test as we don't expect the presence 
of any test at all
    
    Closes #5472
---
 pkg/builder/quarkus.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pkg/builder/quarkus.go b/pkg/builder/quarkus.go
index ab1f51b08..ef2e199e8 100644
--- a/pkg/builder/quarkus.go
+++ b/pkg/builder/quarkus.go
@@ -216,6 +216,7 @@ func BuildQuarkusRunnerCommon(ctx context.Context, mc 
maven.Context, project mav
                return err
        }
        mc.AddArgument("package")
+       mc.AddArgument("-Dmaven.test.skip=true")
        // Run the Maven goal
        if err := project.Command(mc).Do(ctx); err != nil {
                return fmt.Errorf("failure while building project: %w", err)

Reply via email to