New build profile to compile without local Docker environment

This commit is contained in:
Robert McNees
2021-12-15 07:20:09 -05:00
parent b941324465
commit f74d38a47f
5 changed files with 34 additions and 1 deletions

View File

@@ -184,5 +184,19 @@
</pluginRepository>
</pluginRepositories>
<profiles>
<profile>
<id>withoutDockerTests</id>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludedGroups>DockerRequired</excludedGroups>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

View File

@@ -20,6 +20,7 @@ import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import org.assertj.core.api.BDDAssertions;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.testcontainers.containers.GenericContainer;
import org.testcontainers.containers.RabbitMQContainer;
@@ -34,6 +35,7 @@ import org.springframework.context.annotation.PropertySource;
import static org.assertj.core.api.Assertions.assertThat;
@Tag("DockerRequired")
public class BatchEventsApplicationTests {
static {