Note that there are some explanatory texts on larger screens.

plurals
  1. POSBT/Play: Trouble resolving artifacts in Ivy Repository (Artifactory)
    primarykey
    data
    text
    <p>Updated with latest, thanks to @JamesWard for showing how to update to force Ivy.</p> <p>We use gradle as our build system (java). I decided trying to get Play going with Gradle was probably going against the grain too much, so I just want to consume artifact dependencies from SBT.</p> <p>I want to get a simple play app going using one of our libraries in our Artifact Rep (Artifactory). </p> <p>I tried doing this in build.sbt:</p> <pre><code>name := "NervTwitter" version := "1.0-SNAPSHOT" libraryDependencies ++= Seq( javaJdbc, javaEbean, cache ) libraryDependencies += "org.scala-tools" % "scala-stm_2.9.1" % "0.3" libraryDependencies += "com.myco.eda" % "eda-nerv-core" % "latest.milestone" resolvers += Resolver.url("MyCO Artifactory", url("http://bas.eur.ad.sag:8081/artifactory/repo"))(Resolver.ivyStylePatterns) play.Project.playJavaSettings </code></pre> <p>I then ran show compile:dependencyClasspath from play console and get:</p> <pre><code>[warn] ==== MyCO Artifactory: tried [warn] http://bas.eur.ad.sag:8081/artifactory/repo/com.myco.eda/eda-nerv-core/[revision]/ivys/ivy.xml </code></pre> <p>Note the <code>/repo/com.myco.eda/</code> . This is incorrect, in our repo the correct path is: <code>/repo/com/myco/eda/</code></p> <p>So it's resolving Ivy(good), but the format isn't correct. I <em>think</em> I need to make my ivy repo maven2 compatible. But I'm not sure how....</p> <p>Here is a reference to how our repo is laid out: <a href="http://www.gradle.org/docs/current/userguide/dependency_management.html#sec:ivy_repositories" rel="nofollow">http://www.gradle.org/docs/current/userguide/dependency_management.html#sec:ivy_repositories</a></p> <p>look under: 50.6.6.2. Ivy repository with Maven compatible layout</p> <p>thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload