Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-36451

Ivy skips looking for source and doc pom

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • Spark Submit
    • None

    Description

      Because SPARK-35863 Upgrade Ivy to 2.5.0, it supports skip searching the source and doc pom, but the remote repo will still be queried at present.

       

      org.apache.ivy.plugins.parser.m2.PomModuleDescriptorParser#addSourcesAndJavadocArtifactsIfPresent

      boolean sourcesLookup = !"false"
              .equals(ivySettings.getVariable("ivy.maven.lookup.sources"));
      boolean javadocLookup = !"false"
              .equals(ivySettings.getVariable("ivy.maven.lookup.javadoc"));
      if (!sourcesLookup && !javadocLookup) {
          Message.debug("Sources and javadocs lookup disabled");
          return;
      }
      

      Attachments

        Activity

          People

            dzcxzl dzcxzl
            dzcxzl dzcxzl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: