You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@apache.org> on 2017/09/23 11:34:00 UTC
[jira] [Commented] (MNG-6287) improving inclusion of open source
code referenced by java projects.
[ https://issues.apache.org/jira/browse/MNG-6287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16177739#comment-16177739 ]
Robert Scholte commented on MNG-6287:
-------------------------------------
To me this looks effectively the same as using [maven-shade-plugin|https://maven.apache.org/plugins/maven-shade-plugin] with the [minimizeJar|https://maven.apache.org/plugins/maven-shade-plugin/shade-mojo.html#minimizeJar] set to {{true}}
> improving inclusion of open source code referenced by java projects.
> ---------------------------------------------------------------------
>
> Key: MNG-6287
> URL: https://issues.apache.org/jira/browse/MNG-6287
> Project: Maven
> Issue Type: New Feature
> Reporter: Sunil Kumar Singh
>
> All the details are on git hub at:
> https://github.com/ksunilsingh/code-collector
> This is an idea on improving inclusion of open source code referenced by java projects. Currently when we use a java build system (such as maven or gradle), the build system downloads the jar files referenced by a java project. What I am proposing here is a replacement for that:
> Find out all the classes referenced by the classes in a java project (say, project A).
> Download the source code for these dependencies recursively and include the downloaded source code in the source tree of project A.
> Remove the dependency(ies) from project build configuration file (e.g. pom.xml) and build the project.
> The resulting jar file would be smaller in size than if the full jar for the dependency is included as is.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)