Repository: cayenne
Updated Branches:
  refs/heads/STABLE-3.1 d8265d4be -> 6ca077ec3


lax javadoc rules for Java 8


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/6ca077ec
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/6ca077ec
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/6ca077ec

Branch: refs/heads/STABLE-3.1
Commit: 6ca077ec36dbdc5cd1ad253ff53db29ff16f6d1e
Parents: d8265d4
Author: aadamchik <aadamc...@apache.org>
Authored: Sat Apr 9 13:07:51 2016 +0300
Committer: aadamchik <aadamc...@apache.org>
Committed: Sat Apr 9 13:07:51 2016 +0300

----------------------------------------------------------------------
 pom.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/6ca077ec/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 841c884..d44f2be 100644
--- a/pom.xml
+++ b/pom.xml
@@ -646,6 +646,10 @@
                                <plugin>
                                        
<artifactId>maven-javadoc-plugin</artifactId>
                                        <version>2.9.1</version>
+                                       <configuration>
+                                               <!-- Java 8 is too strict about 
Javadoc omissions --> 
+                                               
<additionalparam>${javadoc.doclint.none}</additionalparam>
+                                       </configuration>
                                </plugin>
                                <plugin>
                                        <groupId>org.codehaus.mojo</groupId>
@@ -760,6 +764,15 @@
                                </plugins>
                        </build>
                </profile>
+               <profile>
+                       <id>java8-disable-strict-javadoc</id>
+                       <activation>
+                               <jdk>[1.8,)</jdk>
+                       </activation>
+                       <properties>
+                               
<javadoc.doclint.none>-Xdoclint:none</javadoc.doclint.none>
+                       </properties>
+               </profile>
 
                <!-- Test DB Profiles (default is embedded HSQLDB) -->
                <profile>

Reply via email to