You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2017/05/24 18:58:05 UTC

[jira] [Updated] (LUCENE-7693) revisit "org.apache." logic in GetMavenDependenciesTask.java

     [ https://issues.apache.org/jira/browse/LUCENE-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christine Poerschke updated LUCENE-7693:
----------------------------------------
    Fix Version/s:     (was: 6.x)
                   6.5

> revisit "org.apache." logic in GetMavenDependenciesTask.java
> ------------------------------------------------------------
>
>                 Key: LUCENE-7693
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7693
>             Project: Lucene - Core
>          Issue Type: Wish
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>             Fix For: master (7.0), 6.5
>
>         Attachments: LUCENE-7693.patch, LUCENE-7693-step1.patch, LUCENE-7693-step2.patch
>
>
> Objective:
> * replace the {{... "org.apache." + ...}} logic in GetMavenDependenciesTask.java at [L399|https://github.com/apache/lucene-solr/blob/master/lucene/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java#L399] and [L584|https://github.com/apache/lucene-solr/blob/master/lucene/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java#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.
> {code}
> <ivy-module version="2.0">
>   <info organisation="org.apache.lucene" module="core"/>
> </ivy-module>
> {code}
> ** 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org