You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by kd...@apache.org on 2019/02/12 16:55:32 UTC
[nifi] branch master updated: NIFI-5859 Add nifi-api dependency to
nifi-jetty-bundle pom so the NAR Maven plugin will know the api version
This is an automated email from the ASF dual-hosted git repository.
kdoran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/master by this push:
new 7278a39 NIFI-5859 Add nifi-api dependency to nifi-jetty-bundle pom so the NAR Maven plugin will know the api version
7278a39 is described below
commit 7278a3970d0a397564dd08dd89c770d6d14820ae
Author: Bryan Bende <bb...@apache.org>
AuthorDate: Mon Feb 4 11:01:43 2019 -0500
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 <kd...@apache.org>
This closes #3291.
---
nifi-nar-bundles/nifi-jetty-bundle/pom.xml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/nifi-nar-bundles/nifi-jetty-bundle/pom.xml b/nifi-nar-bundles/nifi-jetty-bundle/pom.xml
index 5b5626a..57a715e 100644
--- a/nifi-nar-bundles/nifi-jetty-bundle/pom.xml
+++ b/nifi-nar-bundles/nifi-jetty-bundle/pom.xml
@@ -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>