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

Steve Rowe updated LUCENE-5217:
-------------------------------

    Attachment: LUCENE-5217.patch

New patch, almost there.

Changes:

* {{ivy.xml}} files and {{ivy-<version>.xml}} files from the Ivy cache are now 
parsed with DOM+XPath instead of SAX.
* All tests pass under the maven build using the filtered POMs.
* More javadocs added.
* The filtered grandparent POM is now over 5,000 lines long (previously about 
900 lines), since, faithful to the Ant build, each Solr module depends on all 
Solr core, solrj, and example dependencies, and each one of those has to be 
excluded to thwart transitive dependency resolution.  Blech.

Left to do: verify that {{generate-maven-artifacts}} works - I haven't tried it 
yet.


> disable transitive dependencies in maven config
> -----------------------------------------------
>
>                 Key: LUCENE-5217
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5217
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5217.patch, LUCENE-5217.patch
>
>
> Our ivy configuration does this: each dependency is specified and so we know 
> what will happen. Unfortunately the maven setup is not configured the same 
> way.
> Instead the maven setup is configured to download the internet: and it 
> excludes certain things specifically.
> This is really hard to configure and maintain: we added a 
> 'validate-maven-dependencies' that tries to fail on any extra jars, but all 
> it really does is run a license check after maven "runs". It wouldnt find 
> unnecessary dependencies being dragged in if something else in lucene was 
> using them and thus they had a license file.
> Since maven supports wildcard exclusions: MNG-3832, we can disable this 
> transitive shit completely.
> We should do this, so its configuration is the exact parallel of ivy.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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

Reply via email to