You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by rf...@apache.org on 2023/12/01 17:58:52 UTC
(nifi) branch main updated: NIFI-12419: (#8097)
This is an automated email from the ASF dual-hosted git repository.
rfellows pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new d40bb3eda6 NIFI-12419: (#8097)
d40bb3eda6 is described below
commit d40bb3eda621b08ac7a4e1d5f3a53b5fb1d59576
Author: Matt Gilman <ma...@gmail.com>
AuthorDate: Fri Dec 1 12:58:46 2023 -0500
NIFI-12419: (#8097)
- Applying a copy of the nifi-web-frontend rat config in the parent module when the new ui profile is not activated. Previously, if the new ui profile was not activated, the rat check would fail.
This closes #8097
---
.../nifi-framework/nifi-web/pom.xml | 33 +++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/pom.xml b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/pom.xml
index c808bf66ad..cb4533c1ef 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/pom.xml
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/pom.xml
@@ -12,7 +12,9 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
---><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.nifi</groupId>
@@ -49,6 +51,35 @@
<module>nifi-web-frontend</module>
</modules>
</profile>
+ <profile>
+ <id>apply-nifi-web-frontend-rat-config</id>
+ <activation>
+ <property>
+ <name>!include-new-ui</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes combine.children="append">
+ <exclude>nifi-web-frontend/src/main/nifi/coverage/**/*</exclude>
+ <exclude>nifi-web-frontend/src/main/nifi/node_modules/**/*</exclude>
+ <exclude>nifi-web-frontend/src/main/nifi/src/assets/fonts/**/*</exclude>
+ <exclude>nifi-web-frontend/src/main/nifi/.editorconfig</exclude>
+ <exclude>nifi-web-frontend/src/main/nifi/README.md</exclude>
+ <exclude>nifi-web-frontend/src/main/nifi/proxy.config.mjs</exclude>
+ <exclude>nifi-web-frontend/src/main/nifi/.prettierrc</exclude>
+ <exclude>nifi-web-frontend/src/main/nifi/src/.eslintrc</exclude>
+ <exclude>nifi-web-frontend/target/**/*</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<dependencyManagement>