Skip to content

Commit

Permalink
Add workaround for "mvn -f metadata-drivers/pom.xml test -Dintegratio…
Browse files Browse the repository at this point in the history
…nTests"
  • Loading branch information
lhotari committed Jun 12, 2024
1 parent af61f52 commit b06e622
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions metadata-drivers/jetcd-core-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,28 @@
</execution>
</executions>
</plugin>
<!-- required for running tests with "mvn -f metadata-drivers/pom.xml test -DintegrationTests" -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven-antrun-plugin.version}</version>
<executions>
<execution>
<id>unpack-shaded-jar</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<unzip src="${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar"
dest="${project.build.outputDirectory}"
overwrite="true" />
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit b06e622

Please sign in to comment.