You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2012/10/07 01:49:07 UTC
[jira] [Updated] (BUILDR-424) Buildr should support JPackage style
remote file:// repositories
[ https://issues.apache.org/jira/browse/BUILDR-424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Donald updated BUILDR-424:
--------------------------------
Fix Version/s: 1.5
> Buildr should support JPackage style remote file:// repositories
> ----------------------------------------------------------------
>
> Key: BUILDR-424
> URL: https://issues.apache.org/jira/browse/BUILDR-424
> Project: Buildr
> Issue Type: New Feature
> Components: Dependency management
> Environment: Fedora and RPM based systems
> Reporter: Adam Young
> Fix For: 1.5
>
> Attachments: ASF.LICENSE.NOT.GRANTED--buildr-pathmunge.patch, ASF.LICENSE.NOT.GRANTED--localbuild.rb
>
>
> A build system needs a more controlled environment to produce reproduceable builds than the Maven dependency resolution mechanism currently provides. For JPackage, they have modified Maven to look in a local repository for builds: /usr/share/maven and also to use a mapping file to produce much shorter paths.
> This is relatively trivial to implement in buildr, and would provide a great path forward for people that are currently using maven to build their projects.
> It would require an injection in artifact.rb's download function where a repository would have an optional code block, that performes the same logic as
> path = "#{group_path}/#{id}/#{version}/#{File.basename(name)}"
> URI.download repo_url + path, name
> But allows the munging of the pieces that make up the path, most specifically the group_path
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira