| <?xml version="1.0"?> |
| <!-- |
| 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. |
| --> |
| <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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>25</version> |
| <relativePath /> |
| </parent> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-nar-maven-plugin</artifactId> |
| <version>1.4.0</version> |
| <packaging>maven-plugin</packaging> |
| <description>Apache NiFi Nar Maven Plugin</description> |
| <url>http://nifi.apache.org</url> |
| <organization> |
| <name>Apache NiFi Project</name> |
| <url>http://nifi.apache.org/</url> |
| </organization> |
| <licenses> |
| <license> |
| <name>Apache License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0</url> |
| </license> |
| </licenses> |
| <mailingLists> |
| <mailingList> |
| <name>Dev</name> |
| <subscribe>dev-subscribe@nifi.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@nifi.apache.org</unsubscribe> |
| <post>dev@nifi.apache.org</post> |
| <archive>http://mail-archives.apache.org/mod_mbox/nifi-dev</archive> |
| </mailingList> |
| <mailingList> |
| <name>Users</name> |
| <subscribe>users-subscribe@nifi.apache.org</subscribe> |
| <unsubscribe>users-unsubscribe@nifi.apache.org</unsubscribe> |
| <post>users@nifi.apache.org</post> |
| <archive>http://mail-archives.apache.org/mod_mbox/nifi-users</archive> |
| </mailingList> |
| <mailingList> |
| <name>Commits</name> |
| <subscribe>commits-subscribe@nifi.apache.org</subscribe> |
| <unsubscribe>commits-unsubscribe@nifi.apache.org</unsubscribe> |
| <post>commits@nifi.apache.org</post> |
| <archive>http://mail-archives.apache.org/mod_mbox/nifi-commits</archive> |
| </mailingList> |
| </mailingLists> |
| <prerequisites> |
| <maven>${maven.min-version}</maven> |
| </prerequisites> |
| <scm> |
| <connection>scm:git:git://git.apache.org/nifi-maven.git</connection> |
| <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/nifi-maven.git</developerConnection> |
| <url>https://git-wip-us.apache.org/repos/asf?p=nifi-maven.git</url> |
| <tag>nifi-nar-maven-plugin-1.4.0-RC1</tag> |
| </scm> |
| <issueManagement> |
| <system>JIRA</system> |
| <url>https://issues.apache.org/jira/browse/NIFI</url> |
| </issueManagement> |
| <properties> |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| <maven.min-version>3.1.0</maven.min-version> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <project.build.outputTimestamp>2023-01-30T22:55:12Z</project.build.outputTimestamp> |
| <inceptionYear>2014</inceptionYear> |
| </properties> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.2</version> |
| <configuration> |
| <fork>true</fork> |
| <optimize>true</optimize> |
| <showDeprecation>true</showDeprecation> |
| <showWarnings>true</showWarnings> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>2.9</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>2.7</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.18</version> |
| <configuration> |
| <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| <argLine>-Xmx1G</argLine> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>3.2.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>3.2.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.10.1</version> |
| <configuration> |
| <failOnError>false</failOnError> |
| <quiet>true</quiet> |
| <show>private</show> |
| <encoding>UTF-8</encoding> |
| <quiet>true</quiet> |
| <javadocVersion>1.7</javadocVersion> |
| <additionalJOption>-J-Xmx512m</additionalJOption> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>3.0.0-M5</version> |
| <configuration> |
| <useReleaseProfile>false</useReleaseProfile> |
| <releaseProfiles>apache-release</releaseProfiles> |
| <autoVersionSubmodules>true</autoVersionSubmodules> |
| <goals>deploy</goals> |
| <tagNameFormat>@{project.artifactId}-@{project.version}</tagNameFormat> |
| <pushChanges>false</pushChanges> |
| <localCheckout>true</localCheckout> |
| </configuration> |
| <executions> |
| <execution> |
| <id>default</id> |
| <goals> |
| <goal>perform</goal> |
| </goals> |
| <configuration> |
| <pomFileName>pom.xml</pomFileName> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>3.2.0</version> |
| <dependencies> |
| <dependency> |
| <groupId>com.puppycrawl.tools</groupId> |
| <artifactId>checkstyle</artifactId> |
| <version>9.3</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.sonatype.plugins</groupId> |
| <artifactId>nexus-staging-maven-plugin</artifactId> |
| <version>1.6.5</version> |
| <extensions>true</extensions> |
| <configuration> |
| <serverId>repository.apache.org</serverId> |
| <nexusUrl>https://repository.apache.org/</nexusUrl> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>enforce-maven</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <requireSameVersions> |
| <plugins> |
| <plugin>org.apache.maven.plugins:maven-surefire-plugin</plugin> |
| <plugin>org.apache.maven.plugins:maven-failsafe-plugin</plugin> |
| <plugin>org.apache.maven.plugins:maven-surefire-report-plugin</plugin> |
| </plugins> |
| </requireSameVersions> |
| <requireMavenVersion> |
| <version>${maven.min-version}</version> |
| </requireMavenVersion> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <configLocation>checkstyle.xml</configLocation> |
| <violationSeverity>warning</violationSeverity> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| <excludes>**/HelpMojo.java</excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>nb-configuration.xml</exclude> <!-- courtesy excludes for netbeans users --> |
| <exclude>nbactions.xml</exclude> <!-- courtesy excludes for netbeans users --> |
| <exclude>DEPENDENCIES</exclude> <!-- auto generated file by apache's maven config while building sources.zip --> |
| </excludes> |
| </configuration> |
| <dependencies> |
| <!-- workaround for RAT-158 --> |
| <dependency> |
| <groupId>org.apache.maven.doxia</groupId> |
| <artifactId>doxia-core</artifactId> |
| <version>1.6</version> |
| <exclusions> |
| <exclusion> |
| <groupId>xerces</groupId> |
| <artifactId>xercesImpl</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <version>3.6.0</version> |
| <executions> |
| <execution> |
| <id>default-descriptor</id> |
| <goals> |
| <goal>descriptor</goal> |
| </goals> |
| <phase>process-classes</phase> |
| </execution> |
| <execution> |
| <id>help-descriptor</id> |
| <goals> |
| <goal>helpmojo</goal> |
| </goals> |
| <phase>generate-sources</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-archiver</artifactId> |
| <version>3.5.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-plugin-api</artifactId> |
| <version>3.1.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-artifact</artifactId> |
| <version>3.1.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-compat</artifactId> |
| <version>3.1.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <type>maven-plugin</type> |
| <version>2.9</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.maven.doxia</groupId> |
| <artifactId>doxia-site-renderer</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.maven.reporting</groupId> |
| <artifactId>maven-reporting-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.maven.reporting</groupId> |
| <artifactId>maven-reporting-impl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.maven.doxia</groupId> |
| <artifactId>doxia-sink-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-io</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-dependency-tree</artifactId> |
| <version>3.2.0</version> |
| </dependency> |
| <dependency> |
| <!-- No code from maven-jar-plugin is actually used; it's included |
| just to simplify the dependencies list. --> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>3.2.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.plugin-tools</groupId> |
| <artifactId>maven-plugin-annotations</artifactId> |
| <scope>provided</scope> |
| <version>3.3</version> |
| </dependency> |
| </dependencies> |
| <profiles> |
| <profile> |
| <!-- |
| Checks style and licensing requirements. This is a good idea to |
| run for contributions and for the release process. While it |
| would be nice to run always these plugins can considerably slow |
| the build and have proven to create unstable builds in our |
| multi-module project and when building using multiple threads. |
| The stability issues seen with Checkstyle in multi-module builds |
| include false-positives and false negatives.--> |
| <id>contrib-check</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <phase>verify</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>check-style</id> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |