You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2018/03/24 18:56:24 UTC

[maven-javadoc-plugin] branch MJAVADOC-512 updated (ee06c19 -> 66e03b1)

This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a change to branch MJAVADOC-512
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git.


 discard ee06c19  - Even when <javadocVersion>1.8.0</javadocVersion> matches there still is a warning.
     new 66e03b1  [MJAVADOC-512] - Even when <javadocVersion>1.8.0</javadocVersion> matches there still is a warning.

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (ee06c19)
            \
             N -- N -- N   refs/heads/MJAVADOC-512 (66e03b1)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:

-- 
To stop receiving notification emails like this one, please contact
khmarbaise@apache.org.

[maven-javadoc-plugin] 01/01: [MJAVADOC-512] - Even when 1.8.0 matches there still is a warning.

Posted by kh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a commit to branch MJAVADOC-512
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git

commit 66e03b1bfc5f6f26adca699788d27202b5877171
Author: Jene Jasper <je...@shadowland.demon.nl>
AuthorDate: Sat Mar 24 18:41:30 2018 +0100

    [MJAVADOC-512] - Even when <javadocVersion>1.8.0</javadocVersion> matches there still is a warning.
    
    Signed-off-by: Karl Heinz Marbaise <kh...@apache.org>
---
 1.patch | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/1.patch b/1.patch
new file mode 100644
index 0000000..d97d4ae
--- /dev/null
+++ b/1.patch
@@ -0,0 +1,23 @@
+From 5d6126a462896167119cb6459c5f251d1e5c70c3 Mon Sep 17 00:00:00 2001
+From: Jene Jasper <je...@shadowland.demon.nl>
+Date: Sat, 24 Mar 2018 18:41:30 +0100
+Subject: [PATCH] [MJAVADOC-512] - Even when
+ <javadocVersion>1.8.0</javadocVersion> matches there still is a warning.
+
+---
+ src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java b/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
+index 24ea1b9..487bb0f 100644
+--- a/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
++++ b/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
+@@ -3782,7 +3782,7 @@ private void setFJavadocVersion( File jExecutable )
+                 throw new MavenReportException( "Unable to parse javadoc version: " + e.getMessage(), e );
+             }
+ 
+-            if ( javadocRuntimeVersion != jVersion && getLog().isWarnEnabled() )
++            if ( javadocRuntimeVersion.compareTo( jVersion ) != 0 && getLog().isWarnEnabled() )
+             {
+                 getLog().warn( "Are you sure about the <javadocVersion/> parameter? It seems to be " + jVersion );
+             }

-- 
To stop receiving notification emails like this one, please contact
khmarbaise@apache.org.