Closed pmann91 closed 8 years ago
I was also trying to get a plugin working, but need the plugin interface jar from http://downloads.mesosphere.io/maven, which fails. The documented maven dependency does not resolve:
<dependency>
<groupId>mesosphere.marathon</groupId>
<artifactId>plugin-interface</artifactId>
<version></version>
</dependency>
My IntelliJ only comes with this suggestion in pom.xml:
<dependency>
<groupId>mesosphere.marathon.example.plugin</groupId>
<artifactId>marathon-example-plugins</artifactId>
<version>1.1-SNAPSHOT</version>
</dependency>
Any idea how to get the plugin interface jar?
As a temporary workaround you could build the marathon project (not the examples project) locally and get the classes from there. For example:
git clone git@github.com:mesosphere/marathon.git
cd marathon
sbt assembly
# wait.....
# jar up the plugin classes:
cd plugin-interface/target/scala-2.11/classes
jar -cvf /tmp/mesosphere-marathon_plugin.jar *
Have you tried with version 0.13.0?
<dependency>
<groupId>mesosphere.marathon</groupId>
<artifactId>plugin-interface</artifactId>
<version>0.13.0</version>
</dependency>
The jar is here: http://downloads.mesosphere.io/maven/mesosphere/marathon/plugin-interface_2.11/0.13.0/plugin-interface_2.11-0.13.0.jar
And here's the pom: https://downloads.mesosphere.io/maven/mesosphere/marathon/plugin-interface_2.11/0.13.0/plugin-interface_2.11-0.13.0.pom
Thanks, works fine for me. Closing the issue?
I executed the "sbt clean package" for auth plugin but encountered the following error
_Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://jcenter.bintray.com/mesosphere/marathon/plugin-interface_2.10/0.13.0/plugin-interface_2.10-0.13.0.pom_
Even tried to access the above url but got 404 could not find resource
Even the http://downloads.mesosphere.io/maven throws Access denied error