dormog-inc / package-zipper

download java package with or with out its transitive dependencies
8 stars 0 forks source link

import scope in dependecy dependency management not supported #11

Open dordor12 opened 2 years ago

dordor12 commented 2 years ago

import scope in dependecy dependency management dependecies in parent pom will not be downloaded into the zip file.

maven artifact for exmple: org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-maven:3.1.4 and is parent pom is org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-parent:3.1.3 that have org.jboss.shrinkwrap:shrinkwrap-bom:1.2.6 in the <dependencyManagement> section with the scope of import

almogtavor commented 2 years ago

@dordor12 Pretty problematic but we can create some util function that takes the versions and applies them. About the exclusions, I'm not sure if it's worth the work since we don't mind zipping more packages than what's really needed