maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-6414) Add more Apache license header patterns to skip downloading Apache license
Date Sun, 09 Sep 2018 16:11:00 GMT

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

ASF GitHub Bot commented on MNG-6414:
-------------------------------------

slachiewicz commented on issue #167: MNG-6414 Add more Apache license headers to skip downloading
license …
URL: https://github.com/apache/maven/pull/167#issuecomment-419726359
 
 
   license files in lib directory before patch:
   ```
   Directory of maven-3.6.0-SNAPSHOT\lib
   09/07/2018  01:27 AM            23,505 cdi-api.license
   09/07/2018  01:27 AM            11,358 commons-cli.license
   09/07/2018  01:27 AM            11,358 commons-io.license
   09/07/2018  01:27 AM            11,358 commons-lang3.license
   09/07/2018  01:27 AM               194 jcl-over-slf4j.license
   09/07/2018  01:27 AM                 0 jsr250-api.license
   09/07/2018  01:27 AM            11,358 maven-artifact.license
   09/07/2018  01:27 AM            11,358 maven-builder-support.license
   09/07/2018  01:27 AM            11,358 maven-compat.license
   09/07/2018  01:27 AM            11,358 maven-core.license
   09/07/2018  01:27 AM            11,358 maven-embedder.license
   09/07/2018  01:27 AM            11,358 maven-model-builder.license
   09/07/2018  01:27 AM            11,358 maven-model.license
   09/07/2018  01:27 AM            11,358 maven-plugin-api.license
   09/07/2018  01:27 AM            11,358 maven-repository-metadata.license
   09/07/2018  01:27 AM            11,358 maven-resolver-api.license
   09/07/2018  01:27 AM            11,358 maven-resolver-connector-basic.license
   09/07/2018  01:27 AM            11,358 maven-resolver-impl.license
   09/07/2018  01:27 AM            11,358 maven-resolver-provider.license
   09/07/2018  01:27 AM            11,358 maven-resolver-spi.license
   09/07/2018  01:27 AM            11,358 maven-resolver-transport-wagon.license
   09/07/2018  01:27 AM            11,358 maven-resolver-util.license
   09/07/2018  01:27 AM            11,358 maven-settings-builder.license
   09/07/2018  01:27 AM            11,358 maven-settings.license
   09/07/2018  01:27 AM            11,358 maven-shared-utils.license
   09/07/2018  01:27 AM            11,358 maven-slf4j-provider.license
   09/07/2018  01:27 AM            12,637 org.eclipse.sisu.inject.license
   09/07/2018  01:27 AM            12,637 org.eclipse.sisu.plexus.license
   09/07/2018  01:27 AM            23,505 plexus-cipher.license
   09/07/2018  01:27 AM            11,358 plexus-component-annotations.license
   09/07/2018  01:27 AM            11,358 plexus-interpolation.license
   09/07/2018  01:27 AM            23,505 plexus-sec-dispatcher.license
   09/07/2018  01:27 AM            11,358 plexus-utils.license
   09/07/2018  01:27 AM               194 slf4j-api.license
   09/07/2018  01:27 AM            11,358 wagon-file.license
   09/07/2018  01:27 AM            11,358 wagon-http.license
   09/07/2018  01:27 AM            11,358 wagon-provider-api.license
   ```
   after:
   ```
    Directory of lib\MNG-6414
   
   09/09/2018  06:02 PM               194 jcl-over-slf4j.license
   09/09/2018  06:02 PM                 0 jsr250-api.license
   09/09/2018  06:02 PM            12,637 org.eclipse.sisu.inject.license
   09/09/2018  06:02 PM            12,637 org.eclipse.sisu.plexus.license
   09/09/2018  06:02 PM               194 slf4j-api.license
   ```
   Maven's zip ackage size decreased from 9 011 332 to 8 867 711 bytes.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Add more Apache license header patterns to skip downloading Apache license
> --------------------------------------------------------------------------
>
>                 Key: MNG-6414
>                 URL: https://issues.apache.org/jira/browse/MNG-6414
>             Project: Maven
>          Issue Type: Improvement
>            Reporter: Sylwester Lachiewicz
>            Priority: Minor
>
> While preparing Maven distribution maven-remote-resources-plugin try to download licenses
for all dependencies.
> License file is not downloaded only when project/license/name is equal to "The Apache Software License, Version 2.0". 
> Additional patterns exists and needs to be added to exception list in appended-resources/META-INF/LICENSE.vm:
> Apache License, Version 2.0
> The Apache Software License, Version 2.0
> ASLv2
> Apache Public License 2.0
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message