32 references to WithMavenBuild
Aspire.Hosting.Java (2)
JavaHostingExtensions.cs (2)
291/// <c>-x test</c> for Gradle). Call <see cref="WithMavenBuild{T}(IResourceBuilder{T}, string[])"/> or 1324/// The packaging arguments <see cref="WithMavenBuild{T}(IResourceBuilder{T}, string[])"/> and
Aspire.Hosting.Java.Tests (28)
AddJavaAppPublishTests.cs (15)
112.WithMavenBuild() 201.WithMavenBuild() 256configureResource: app => app.WithMavenGoal("spring-boot:run").WithMavenBuild("-Pprod", "package")); 267configureResource: app => app.WithMavenBuild("-Pprod", "package")); 1231.WithMavenBuild(); 1323.WithMavenBuild() 1679.WithMavenBuild() 2261configureResource: app => app.WithMavenBuild()); 2273configureResource: app => app.WithMavenBuild()); 2287var app = builder.AddJavaApp("api", appDirectory.Path, "../shared/worker.jar").WithMavenBuild(); 2308var app = builder.AddJavaApp("api", appDirectory.Path, jarPath).WithMavenBuild(); 2325var app = builder.AddJavaApp("api", appDirectory.Path).WithMavenBuild().WithJarArtifact(@"C:\out\app.jar"); 2340var app = builder.AddJavaApp("api", appDirectory.Path).WithMavenBuild().WithWrapperPath(@"C:\tools\mvnw"); 2354configureResource: app => app.WithMavenBuild().WithJarArtifact("target/shaded.jar")); 2370.WithMavenBuild()
AddJavaAppTests.cs (10)
1032.WithMavenBuild(); 1045.WithMavenBuild("clean", "install", "-DskipTests"); 1084.WithMavenBuild(); 1116app.WithMavenBuild(); 1122app.WithMavenBuild(); 1150.WithMavenBuild(); 1253app.WithMavenGoal("spring-boot:run").WithMavenBuild("clean", "package"); 1257app.WithMavenBuild("clean", "package").WithMavenGoal("spring-boot:run"); 1424app.WithMavenBuild(); 1899.WithMavenBuild("package");
AddSpringBootAppTests.cs (3)
134.WithMavenBuild("verify"); 265app.WithMavenGoal("spring-boot:run").WithMavenBuild(); 382.WithMavenBuild("-DskipTests", "package");
JavaSpringBoot.AppHost (1)
AppHost.cs (1)
37.WithMavenBuild("-B", "-ntp", "-DskipTests", "package")
JavaSwing.AppHost (1)
AppHost.cs (1)
7.WithMavenBuild("-B", "-ntp", "-DskipTests", "package")