| <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"> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| http://www.apache.org/licenses/LICENSE-2.0 |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| 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. |
| --> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-framework</artifactId> |
| <version>1.13.0-SNAPSHOT</version> |
| </parent> |
| <artifactId>nifi-nar-utils</artifactId> |
| <packaging>jar</packaging> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-properties</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-framework-api</artifactId> |
| </dependency> |
| |
| <!-- Compile-only dependency. At runtime, the agent will use aspectjweaver.jar directly, not from the classpath (see bootstrap.conf).--> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-server-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.aspectj</groupId> |
| <artifactId>aspectjrt</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes combine.children="append"> |
| <exclude>src/test/resources/nars/nar-with-versioning/META-INF/MANIFEST.MF</exclude> |
| <exclude>src/test/resources/nars/nar-without-versioning/META-INF/MANIFEST.MF</exclude> |
| <exclude>src/test/resources/nars/nar-without-dependency/META-INF/MANIFEST.MF</exclude> |
| <exclude>src/test/resources/nars/nar-requires-cloning/META-INF/MANIFEST.MF</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <!-- latest (1.11) version of org.codehaus.mojo:aspectj-maven-plugin does not support Java 11, using com.nickwongdev fork instead --> |
| <groupId>com.nickwongdev</groupId> |
| <artifactId>aspectj-maven-plugin</artifactId> |
| <version>1.12.6</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.aspectj</groupId> |
| <artifactId>aspectjtools</artifactId> |
| <version>${aspectj.version}</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <source>${maven.compiler.source}</source> |
| <target>${maven.compiler.target}</target> |
| <complianceLevel>${maven.compiler.source}</complianceLevel> |
| <encoding>UTF-8</encoding> |
| <verbose>true</verbose> |
| <showWeaveInfo>true</showWeaveInfo> |
| <Xlint>ignore</Xlint> |
| <sources> |
| <source> |
| <basedir>${project.basedir}/src/main/java</basedir> |
| <includes> |
| <include>**/*Aspect.java</include> |
| </includes> |
| </source> |
| </sources> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |