This strips the MySQL connector from the Karaf distribution we build,
to avoid shipping a GPL component in the distribution.
Change-Id: I71e18fe79d3503e79b5bc8b722abe264657a61a6
Signed-off-by: Stephen Kitt <skitt@redhat.com>
<skip>false</skip>
</configuration>
</plugin>
+ <!-- NETVIRT-1126: Heavy-handed workaround to remove mysql dependencies from system -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <delete includeemptydirs="true">
+ <fileset dir="${project.build.directory}/assembly/system/mysql"/>
+ </delete>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>