You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mc...@apache.org on 2015/09/11 16:17:52 UTC
nifi git commit: NIFI-947: - Added a profile to disable doclint when
running jdk 1.8.
Repository: nifi
Updated Branches:
refs/heads/master a83ed34f9 -> 291e65c6e
NIFI-947:
- Added a profile to disable doclint when running jdk 1.8.
Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/291e65c6
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/291e65c6
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/291e65c6
Branch: refs/heads/master
Commit: 291e65c6ef2157453e86f14853c8e6679e8ef085
Parents: a83ed34
Author: Matt Gilman <ma...@gmail.com>
Authored: Fri Sep 11 10:17:33 2015 -0400
Committer: Matt Gilman <ma...@gmail.com>
Committed: Fri Sep 11 10:17:33 2015 -0400
----------------------------------------------------------------------
pom.xml | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/nifi/blob/291e65c6/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 69cbb68..e4abdf2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1317,5 +1317,30 @@
</plugins>
</build>
</profile>
+ <profile>
+ <!-- This profile will disable DocLint which performs strict JavaDoc
+ processing which was introduced in JDK 8. These are technically errors
+ in the JavaDoc which we need to eventually address. However, if a release
+ is performed using JDK 8, the JavaDoc generation would fail. By activating
+ this profile when running on JDK 8 we can ensure the JavaDocs continue
+ to generate successfully -->
+ <id>disable-doclint</id>
+ <activation>
+ <jdk>1.8</jdk>
+ </activation>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <additionalparam>-Xdoclint:none</additionalparam>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ </profile>
</profiles>
</project>