You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by pd...@apache.org on 2021/10/18 09:58:54 UTC

[zeppelin] 04/06: disable enforce, because it doesn't work with classifier

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

pdallig pushed a commit to branch interpreter_shade
in repository https://gitbox.apache.org/repos/asf/zeppelin.git

commit 2ab8c0e5d7459ca95a66b136dc04e7cf1c5386fc
Author: Philipp Dallig <ph...@gmail.com>
AuthorDate: Mon Oct 18 11:22:21 2021 +0200

    disable enforce, because it doesn't work with classifier
---
 zeppelin-plugins/notebookrepo/filesystem/pom.xml | 12 ++++++++++++
 zeppelin-plugins/notebookrepo/s3/pom.xml         | 12 ++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/zeppelin-plugins/notebookrepo/filesystem/pom.xml b/zeppelin-plugins/notebookrepo/filesystem/pom.xml
index 6c88cc5..e493941 100644
--- a/zeppelin-plugins/notebookrepo/filesystem/pom.xml
+++ b/zeppelin-plugins/notebookrepo/filesystem/pom.xml
@@ -50,6 +50,18 @@
             <plugin>
                 <artifactId>maven-dependency-plugin</artifactId>
             </plugin>
+            <!-- Skip Enforcer plugin until the version is bigger then > 3.0.0
+                 Reason: 3.0.0-M3 uses an old dependency:tree, which was fixed with https://github.com/apache/maven-enforcer/commit/ca40308fd58c45e638a35768b3966b5680d4c60e 
+                         3.0.0 indroduced a new bug: https://issues.apache.org/jira/browse/MENFORCER-394-->
+            <plugin>
+                <artifactId>maven-enforcer-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>enforce</id>
+                        <phase>none</phase>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 
diff --git a/zeppelin-plugins/notebookrepo/s3/pom.xml b/zeppelin-plugins/notebookrepo/s3/pom.xml
index 374e017..849f344 100644
--- a/zeppelin-plugins/notebookrepo/s3/pom.xml
+++ b/zeppelin-plugins/notebookrepo/s3/pom.xml
@@ -107,6 +107,18 @@
             <plugin>
                 <artifactId>maven-dependency-plugin</artifactId>
             </plugin>
+            <!-- Skip Enforcer plugin until the version is bigger then > 3.0.0
+                 Reason: 3.0.0-M3 uses an old dependency:tree, which was fixed with https://github.com/apache/maven-enforcer/commit/ca40308fd58c45e638a35768b3966b5680d4c60e 
+                         3.0.0 indroduced a new bug: https://issues.apache.org/jira/browse/MENFORCER-394-->
+            <plugin>
+                <artifactId>maven-enforcer-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>enforce</id>
+                        <phase>none</phase>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 </project>