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
This commit is contained in:
Matt Gilman 2023-12-01 12:58:46 -05:00 committed by GitHub
parent 2ac3988881
commit d40bb3eda6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 32 additions and 1 deletions

View File

@ -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>