NIFI-5859 Add nifi-api dependency to nifi-jetty-bundle pom so the NAR Maven plugin will know the api version

Signed-off-by: Kevin Doran <kdoran@apache.org>

This closes #3291.
This commit is contained in:
Bryan Bende 2019-02-04 11:01:43 -05:00 committed by Kevin Doran
parent a940ff6343
commit 7278a3970d
No known key found for this signature in database
GPG Key ID: 5621A6244B77AC02

View File

@ -27,6 +27,13 @@
<source.skip>true</source.skip>
</properties>
<dependencies>
<!-- The Jetty Bundle doesn't contain any code that actually depends on nifi-api, but the NAR Maven plugin writes a
descriptor for each NAR which contains the version of the system API, so we need to make the version available by
having this provided dependency here. -->
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-api</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>