2014-12-18 17:10:42 -05:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2014-12-19 13:22:39 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-parent</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
</parent>
|
2014-12-18 17:10:42 -05:00
|
|
|
|
2014-12-19 13:22:39 -05:00
|
|
|
<artifactId>nifi-docs</artifactId>
|
2014-12-18 17:10:42 -05:00
|
|
|
|
2014-12-19 13:22:39 -05:00
|
|
|
<name>nifi-docs</name>
|
2014-12-18 17:10:42 -05:00
|
|
|
|
2014-12-19 13:22:39 -05:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2014-12-26 23:06:31 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-asciidoc</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/asciidoc</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<outputDirectory>${project.build.directory}/asciidoc</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-12-19 13:22:39 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.asciidoctor</groupId>
|
|
|
|
<artifactId>asciidoctor-maven-plugin</artifactId>
|
2014-12-26 23:06:31 -05:00
|
|
|
<version>1.5.2</version>
|
2014-12-19 13:22:39 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>output-html</id>
|
2014-12-19 15:32:55 -05:00
|
|
|
<phase>prepare-package</phase>
|
2014-12-19 13:22:39 -05:00
|
|
|
<goals>
|
|
|
|
<goal>process-asciidoc</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2014-12-19 15:32:55 -05:00
|
|
|
<sourceDirectory>${project.build.directory}/asciidoc</sourceDirectory>
|
2014-12-26 23:06:31 -05:00
|
|
|
<backend>html5</backend>
|
2014-12-19 13:22:39 -05:00
|
|
|
<attributes>
|
2014-12-26 23:06:31 -05:00
|
|
|
<imagesdir>./images</imagesdir>
|
|
|
|
<icons>font</icons>
|
|
|
|
<toc>true</toc>
|
|
|
|
<docVersion>${project.version}</docVersion>
|
|
|
|
<sectanchors>true</sectanchors>
|
|
|
|
<idprefix/>
|
|
|
|
<idseparator>-</idseparator>
|
|
|
|
<docinfo1>true</docinfo1>
|
2014-12-19 13:22:39 -05:00
|
|
|
</attributes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- This plugin is used to insert the Apache License into the output HMTL because
|
|
|
|
AsciiDoc doesn't appear to provide a mechanism for doing this. -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
|
|
<artifactId>replacer</artifactId>
|
|
|
|
<version>1.5.3</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2014-12-19 15:32:55 -05:00
|
|
|
<phase>package</phase>
|
2014-12-19 13:22:39 -05:00
|
|
|
<goals>
|
|
|
|
<goal>replace</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2014-12-26 23:06:31 -05:00
|
|
|
<filesToInclude>${project.build.directory}/generated-docs/**.html</filesToInclude>
|
2014-12-19 13:22:39 -05:00
|
|
|
<regex>true</regex>
|
|
|
|
<regexFlags>
|
|
|
|
<regexFlag>DOTALL</regexFlag>
|
|
|
|
<regexFlag>MULTILINE</regexFlag>
|
|
|
|
</regexFlags>
|
|
|
|
<token>^(.*)$</token>
|
|
|
|
<value>
|
|
|
|
<!--
|
2014-12-19 15:32:55 -05:00
|
|
|
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
|
2014-12-19 10:01:09 -05:00
|
|
|
|
2014-12-19 15:32:55 -05:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2014-12-19 10:01:09 -05:00
|
|
|
|
2014-12-19 15:32:55 -05:00
|
|
|
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.
|
|
|
|
-->
|
|
|
|
$1
|
2014-12-19 13:22:39 -05:00
|
|
|
</value>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-12-26 23:06:31 -05:00
|
|
|
|
2014-12-19 16:34:25 -05:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<attach>true</attach>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>make shared resource</id>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>src/main/assembly/dependencies.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-12-19 13:22:39 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2014-12-18 17:10:42 -05:00
|
|
|
</project>
|