NIFI-10459 attach shaded nifi-h2-database to the project to make it recognizable by IDEA

Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #6377
This commit is contained in:
Nandor Soma Abonyi 2022-09-08 15:23:52 +02:00 committed by Matthew Burgess
parent 3914c0accd
commit 9d9f753af9
No known key found for this signature in database
GPG Key ID: 05D3DEB8126DAD24

View File

@ -64,6 +64,30 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>attach-shade-jar</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${basedir}/target/${project.build.finalName}.jar</file>
<type>jar</type>
<classifier>shaded</classifier>
</artifact>
</artifacts>
<skipAttach>true</skipAttach>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>