Last active
November 14, 2021 14:00
-
-
Save gbzarelli/69b59f880f319b22d88d287f5ad8bed0 to your computer and use it in GitHub Desktop.
Build plugins in acceptance-test module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<build> | |
<plugins> | |
<plugin> | |
<groupId>io.fabric8</groupId> | |
<artifactId>docker-maven-plugin</artifactId> | |
<version>${docker-maven-plugin.version}</version> | |
<executions> | |
<execution> | |
<phase>pre-integration-test</phase> | |
<goals> | |
<goal>build</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<images> | |
<image> | |
<name>app-test:integration</name> | |
<alias>dockerfile</alias> | |
<build> | |
<!-- Using the project.parent, dont forget include the exclusion target/docker in .maven-dockerignore --> | |
<contextDir>${project.parent.basedir}</contextDir> | |
<dockerFile>${project.parent.basedir}/Dockerfile</dockerFile> | |
</build> | |
</image> | |
</images> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-failsafe-plugin</artifactId> | |
<version>${maven-failsafe-plugin.version}</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>integration-test</goal> | |
<goal>verify</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment