2014-12-08 15:22:14 -05:00
<?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>
2014-12-15 05:14:32 -05:00
<parent >
2014-12-15 10:43:07 -05:00
<groupId > org.apache</groupId>
<artifactId > apache</artifactId>
<version > 16</version>
2014-12-22 15:05:21 -05:00
<relativePath />
2014-12-15 05:14:32 -05:00
</parent>
2014-12-08 15:22:14 -05:00
<groupId > org.apache.nifi</groupId>
<artifactId > nar-maven-plugin</artifactId>
<version > 0.0.1-SNAPSHOT</version>
<packaging > maven-plugin</packaging>
<name > Apache NiFi NAR Plugin</name>
2014-12-15 10:43:07 -05:00
<description > Apache NiFi is a dataflow system based on the concepts of flow-based programming. It is currently a part of the Apache Incubator.</description>
<url > http://nifi.incubator.apache.org/maven-site/</url>
<organization >
<name > Apache NiFi (incubating) Project</name>
<url > http://nifi.incubating.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.incubator.apache.org</subscribe>
<unsubscribe > dev-unsubscribe@nifi.incubator.apache.org</unsubscribe>
<post > dev@nifi.incubator.apache.org</post>
<archive > http://mail-archives.apache.org/mod_mbox/incubator-nifi-dev</archive>
</mailingList>
<mailingList >
<name > Commits</name>
<subscribe > commits-subscribe@nifi.incubator.apache.org</subscribe>
<unsubscribe > commits-unsubscribe@nifi.incubator.apache.org</unsubscribe>
<post > commits@nifi.incubator.apache.org</post>
<archive > http://mail-archives.apache.org/mod_mbox/incubator-nifi-commits</archive>
</mailingList>
</mailingLists>
<prerequisites >
<maven > ${maven.min-version}</maven>
</prerequisites>
<scm >
<connection > scm:git:git://git.apache.org/incubator-nifi.git</connection>
<developerConnection > scm:git:https://git-wip-us.apache.org/repos/asf/incubator-nifi.git</developerConnection>
<url > https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git</url>
</scm>
<issueManagement >
<system > JIRA</system>
<url > https://issues.apache.org/jira/browse/NIFI</url>
</issueManagement>
<properties >
2014-12-23 22:28:42 -05:00
<maven.compiler.source > 1.7</maven.compiler.source>
<maven.compiler.target > 1.7</maven.compiler.target>
<maven.version > 3.0.5</maven.version>
2014-12-15 10:43:07 -05:00
<project.build.sourceEncoding > UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding > UTF-8</project.reporting.outputEncoding>
2015-01-10 22:29:13 -05:00
<sealJars > false</sealJars>
2014-12-15 10:43:07 -05:00
</properties>
2014-12-08 15:22:14 -05:00
<build >
2014-12-15 10:43:07 -05:00
<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 >
<artifactId > maven-war-plugin</artifactId>
<version > 2.5</version>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-plugin-plugin</artifactId>
<version > 3.3</version>
</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 >
<argLine > -Xmx1G</argLine>
</configuration>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-assembly-plugin</artifactId>
<version > 2.5.2</version>
<configuration >
<attach > false</attach>
<tarLongFileMode > gnu</tarLongFileMode>
</configuration>
</plugin>
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > jaxb2-maven-plugin</artifactId>
<version > 1.6</version>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-source-plugin</artifactId>
<version > 2.4</version>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-site-plugin</artifactId>
<version > 3.4</version>
</plugin>
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > exec-maven-plugin</artifactId>
<version > 1.3.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>
2015-01-10 22:29:13 -05:00
<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 > 2.5.1</version>
2015-01-11 08:45:25 -05:00
<executions >
<execution >
<id > default</id>
<goals >
<goal > prepare</goal>
<goal > perform</goal>
</goals>
<configuration >
<pomFileName > platform/pom.xml</pomFileName>
<arguments > -P apache-release,check-licenses</arguments>
<autoVersionSubmodules > true</autoVersionSubmodules>
2015-01-11 08:54:07 -05:00
<releaseProfiles > apache-release</releaseProfiles>
2015-01-11 08:45:25 -05:00
<goals > deploy</goals>
<tagNameFormat > @{project.version}</tagNameFormat>
<pushChanges > false</pushChanges>
<localCheckout > true</localCheckout>
</configuration>
</execution>
</executions>
2015-01-10 22:29:13 -05:00
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-jar-plugin</artifactId>
<configuration >
<archive >
<manifestEntries >
<Sealed > ${sealJars}</Sealed>
<Implementation-Build > ${mvngit.commit.id}</Implementation-Build>
</manifestEntries>
</archive>
2014-12-15 10:43:07 -05:00
</configuration>
</plugin>
</plugins>
</pluginManagement>
2014-12-08 15:22:14 -05:00
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-plugin-plugin</artifactId>
2014-12-13 16:58:01 -05:00
<executions >
2014-12-15 05:14:32 -05:00
<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 > process-classes</phase>
</execution>
2014-12-23 22:28:42 -05:00
</executions>
</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.version}</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
2014-12-13 16:58:01 -05:00
</executions>
2014-12-15 05:14:32 -05:00
</plugin>
2014-12-08 15:22:14 -05:00
</plugins>
2014-12-15 05:14:32 -05:00
</build>
2014-12-15 10:43:07 -05:00
<dependencyManagement >
<dependencies >
<dependency >
<groupId > org.apache.maven</groupId>
<artifactId > maven-plugin-api</artifactId>
<version > 2.0.11</version>
</dependency>
<dependency >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-dependency-plugin</artifactId>
<version > 2.9</version>
<type > maven-plugin</type>
</dependency>
<dependency >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-jar-plugin</artifactId>
<version > 2.5</version>
</dependency>
<dependency >
<groupId > org.apache.maven.plugin-tools</groupId>
<artifactId > maven-plugin-annotations</artifactId>
<version > 3.3</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies >
<dependency >
2014-12-08 15:22:14 -05:00
<groupId > org.apache.maven</groupId>
<artifactId > maven-plugin-api</artifactId>
</dependency>
<dependency >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-dependency-plugin</artifactId>
<type > maven-plugin</type>
</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>
</dependency>
<dependency >
<groupId > org.apache.maven.plugin-tools</groupId>
<artifactId > maven-plugin-annotations</artifactId>
2014-12-13 16:58:01 -05:00
<scope > provided</scope>
</dependency>
2014-12-08 15:22:14 -05:00
</dependencies>
2015-01-10 22:29:13 -05:00
<profiles >
<profile >
<id > apache-release</id>
<build >
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-assembly-plugin</artifactId>
<dependencies >
<dependency >
<groupId > org.apache.apache.resources</groupId>
<artifactId > apache-source-release-assembly-descriptor</artifactId>
<version > 1.0.4</version>
</dependency>
</dependencies>
<executions >
<execution >
<id > source-release-assembly</id>
<goals >
<goal > single</goal>
</goals>
<phase > validate</phase>
<configuration >
<runOnlyAtExecutionRoot > true</runOnlyAtExecutionRoot>
<finalName > nifi-${project.version}</finalName>
<descriptorRefs >
<descriptorRef > source-release-zip-tar</descriptorRef>
</descriptorRefs>
<tarLongFileFormat > gnu</tarLongFileFormat>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > exec-maven-plugin</artifactId>
<executions >
<execution >
<id > rename-source-release-assembly</id>
<goals >
<goal > exec</goal>
</goals>
<phase > validate</phase>
<configuration >
<executable > mv</executable>
<workingDirectory > ${project.build.directory}</workingDirectory>
<commandlineArgs > -n nifi-${project.version}-source-release.tar.gz nifi-${project.version}-src.tar.gz</commandlineArgs>
<successCodes >
<successCode > 0</successCode>
<successCode > 1</successCode>
</successCodes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile >
<!-- Seal jars and skip tests when the
apache-release profile is activated. -->
<id > seal-jars</id>
<properties >
<sealJars > true</sealJars>
<skipTests > true</skipTests>
</properties>
</profile>
<profile >
<!-- Automatically check for licenses.
Activate with -P check-licenses -->
<id > check-licenses</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>
</plugins>
</build>
</profile>
</profiles>
2014-12-08 15:22:14 -05:00
</project>