[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-266) Change directory name of extracted Maven binaries (EmbeddedMaven)

Matous Jobanek (JIRA) issues at jboss.org
Mon Feb 20 11:12:00 EST 2017


     [ https://issues.jboss.org/browse/SHRINKRES-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matous Jobanek closed SHRINKRES-266.
------------------------------------
    Resolution: Done


Pushed upstream in https://github.com/shrinkwrap/resolver/commit/8155fcf32b3aa352923e091bb8727a9be19ea908

> Change directory name of extracted Maven binaries (EmbeddedMaven)
> -----------------------------------------------------------------
>
>                 Key: SHRINKRES-266
>                 URL: https://issues.jboss.org/browse/SHRINKRES-266
>             Project: ShrinkWrap Resolvers
>          Issue Type: Enhancement
>          Components: maven
>    Affects Versions: 3.0.0-alpha-3
>            Reporter: Matous Jobanek
>            Assignee: Dipak Pawar
>             Fix For: 3.0.0-alpha-4
>
>
> Currently, there in SWR the Maven binary files extracted from downloaded archives are stored in directories named by {{UUID.randomUUID()}}. These directories are then linked with the archive files using md5hash. This hash is stored in a file {{resolver_maven_binary_zip_md5_hash_file}} in the extracted directory. 
> This approach is neither nice nor intuitive and nor effective. 
> Change the logic so the hash is used as a name of the new directory instead of using UUID. Related Java class is [DistributionStageImpl|https://github.com/MatousJobanek/resolver/blob/master/maven/impl-maven-embedded/src/main/java/org/jboss/shrinkwrap/resolver/impl/maven/embedded/DistributionStageImpl.java]



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the shrinkwrap-issues mailing list