[ 
https://issues.apache.org/jira/browse/LUCENE-5217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13771128#comment-13771128
 ] 

Robert Muir commented on LUCENE-5217:
-------------------------------------

more/faster/simpler ways to test that the maven config == ivy config would help.

But my original concern is actually that i greatly prefer a "whitelist" like 
ivy, where you just say transitive=false and declare exactly what you want, and 
we know from the ivy.xml exactly what is being downloaded just by looking at it.

With maven it seems it wants you to make a "blacklist" of what you dont want, 
and you don't have any idea what is really being downloaded by looking at the 
configuration.

                
> 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
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to