Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7693

revisit "org.apache." logic in GetMavenDependenciesTask.java

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 6.5, 7.0
    • None
    • None
    • New

    Description

      Objective:

      • replace the ... "org.apache." + ... logic in GetMavenDependenciesTask.java at L399 and L584

      Motivation:

      • support for custom solr/contrib/...-myteam modules where the custom modules have dependencies between them and the package structure is com.mycompany.myteam rather than org.apache.solr

      Approach:

      • step 1:
        • in GetMavenDependenciesTask.java build a map out of all the ivy.xml files' info elements e.g.
          <ivy-module version="2.0">
            <info organisation="org.apache.lucene" module="core"/>
          </ivy-module>
          
        • temporarily instrument GetMavenDependenciesTask.java to help determine how the info element mappings differ from the current in-code logic
      • step 2:
        • adjust selected ivy.xml files to minimise differences
      • step 3:
        • switch over to 'new way' logic where this matches current in-code logic
        • remove the temporary instrumentation

      Attachments

        1. LUCENE-7693.patch
          8 kB
          Christine Poerschke
        2. LUCENE-7693-step1.patch
          7 kB
          Christine Poerschke
        3. LUCENE-7693-step2.patch
          2 kB
          Christine Poerschke

        Activity

          People

            cpoerschke Christine Poerschke
            cpoerschke Christine Poerschke
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: