You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2019/12/08 22:28:54 UTC

[maven-studies] branch maven-buildinfo-plugin updated: temporary hack: ignore javadoc

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

hboutemy pushed a commit to branch maven-buildinfo-plugin
in repository https://gitbox.apache.org/repos/asf/maven-studies.git


The following commit(s) were added to refs/heads/maven-buildinfo-plugin by this push:
     new f9254a1  temporary hack: ignore javadoc
f9254a1 is described below

commit f9254a1ad71bc60255ec43acc53b7267fb15a875
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Dec 8 23:28:49 2019 +0100

    temporary hack: ignore javadoc
---
 src/main/java/org/apache/maven/plugins/buildinfo/SaveMojo.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/main/java/org/apache/maven/plugins/buildinfo/SaveMojo.java b/src/main/java/org/apache/maven/plugins/buildinfo/SaveMojo.java
index e7083a0..3ba70ae 100644
--- a/src/main/java/org/apache/maven/plugins/buildinfo/SaveMojo.java
+++ b/src/main/java/org/apache/maven/plugins/buildinfo/SaveMojo.java
@@ -197,6 +197,11 @@ public class SaveMojo
                 // ignore pgp signatures
                 continue;
             }
+            if ( "javadoc".equals( attached.getClassifier() ) )
+            {
+                // TEMPORARY ignore javadoc, waiting for MJAVADOC-627 in m-javadoc-p 3.2.0
+                continue;
+            }
             printArtifact( p, n++, attached );
         }
     }