Not able to download maven dependencies in Apache Zeppelin notebook - maven

Receiving the following error on trying to download a maven dependency in Apache Zeppelin notebook-
Error setting properties for interpreter 'spark.spark': Cannot fetch dependencies for org.apache.commons:commons-csv:1.8
Thanks.

Related

bypass pom.xml download in apache maven 3.8.x

How can i ask Maven 3.8.x to treat missing pom.xml as WARNING instead of ERROR
We have legacy dependencies that is working fine using Maven 3.6.x but failed in Maven 3.8.x ( Transfer Failed for download pom.xml )
Thanks

Installing drool package in Azure databricks

I have started learning Azure DataBricks few days back and was trying to install drools compiler in Azure databricks cluster. Here is the information about my cluster:
Cluster Mode: Standard
Databricks runtime version: 7.2 (includes Apache Spark 3.0.0, Scala 2.12)
The maven package which I am trying to install is "org.drools:drools-compiler:7.42.0.Final" and it fails with error
Library resolution failed. Cause: java.lang.RuntimeException: unresolved dependency: xmlpull:xmlpull:1.2.0: not found
unresolved dependency: xpp3:xpp3_min:1.2.0: not found
Even installing (xpp3) or (xmlpull) [ xpp3:xpp3_min:1.2.0 or xmlpull:xmlpull:1.2.0 ] is failing with same error.
Would appreciate any help or pointers on this.Thanks in advance.
When I tried to install via maven coordinates, I have received the same error message. It looks like some issue with the missing of dependencies (there is no artifact called drools-compiler).
Alternate solution which helps to install library:
You can directly download the library from maven repository and upload to the cluster.
Step1: Download the library from the maven repository.
Example: I have download (org.drools:drools-compiler:7.42.0.Final) jar file from the maven repository.
Step2: Select the cluster => Libraries => Install New => Library Type "Jar" => Drop the download Jar here and click Install.

Apache Zeppelin not working with https for maven repo

I'm running Apache Zeppelin 0.8.0 in Amazon EMR. Recently the spark interpreter started to fail to pull down library dependencies. This was because the zeppelin.interpreter.dep.mvnRepo configuration parameter was set to http://repo1.maven.org/maven2/ and the maven repo has recently stopped supporting http as outlined here: https://support.sonatype.com/hc/en-us/articles/360041287334
As per the maven documentation I updated the value of this parameter to https://repo1.maven.org/maven2/ but this didn't resolve the issue. Instead updating the value to http://insecure.repo1.maven.org/maven2/ fixed the problem.
It seems like Zeppelin is not working with https for the maven repo. Can anyone confirm if this is the case or is some extra set up required to get this working?
I was having issues pulling down library dependencies on Zeppelin 0.8.2 with zeppelin.interpreter.dep.mvnRepo set to http://repo1.maven.org/maven2/ like you mentioned, but for me it works with zeppelin.interpreter.dep.mvnRepo set to https://repo1.maven.org/maven2/ only if I set the spark.jars.packages property in the Zeppelin interpreter GUI to the groupId:artificaftId:version for the library I was trying to pull.

Maven plugin AEM 6.1

I am getting error on running
mvn install -PautoInstallPackage
in maven AEM. Getting error:
"unresolvable build extension: Plugin com.day.vault:content-package-maven-plugin:0.0.24 or one of the dependencies could not be resolved".

cloudbees jenkins maven installation missing

I am getting following error when building a project in jenkins:
ERROR: A Maven installation needs to be available for this project to be built.Either your server has no Maven installations defined, or the requested Maven version does not exist.
[cloudbees-deployer] Skipping deployment as build result is FAILURE
Finished: FAILURE
In Jenkins settings, I tried both options: automatic installation from apache as well as use pre-installed maven on dev#cloud.
What might be missing?

Resources