32 references to WithMavenBuild
Aspire.Hosting.Java (2)
JavaHostingExtensions.cs (2)
294/// <c>-x test</c> for Gradle). Call <see cref="WithMavenBuild{T}(IResourceBuilder{T}, string[])"/> or 1327/// The packaging arguments <see cref="WithMavenBuild{T}(IResourceBuilder{T}, string[])"/> and
Aspire.Hosting.Java.Tests (28)
AddJavaAppPublishTests.cs (15)
114.WithMavenBuild() 203.WithMavenBuild() 258configureResource: app => app.WithMavenGoal("spring-boot:run").WithMavenBuild("-Pprod", "package")); 269configureResource: app => app.WithMavenBuild("-Pprod", "package")); 1233.WithMavenBuild(); 1325.WithMavenBuild() 1681.WithMavenBuild() 2263configureResource: app => app.WithMavenBuild()); 2275configureResource: app => app.WithMavenBuild()); 2289var app = builder.AddJavaApp("api", appDirectory.Path, "../shared/worker.jar").WithMavenBuild(); 2310var app = builder.AddJavaApp("api", appDirectory.Path, jarPath).WithMavenBuild(); 2327var app = builder.AddJavaApp("api", appDirectory.Path).WithMavenBuild().WithJarArtifact(@"C:\out\app.jar"); 2342var app = builder.AddJavaApp("api", appDirectory.Path).WithMavenBuild().WithWrapperPath(@"C:\tools\mvnw"); 2356configureResource: app => app.WithMavenBuild().WithJarArtifact("target/shaded.jar")); 2372.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")