[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:11:01 EST 2017
Matous Jobanek created SHRINKRES-266:
----------------------------------------
Summary: 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