buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Young (JIRA)" <>
Subject [jira] Updated: (BUILDR-424) Buildr should support JPackage style remote file:// repositories
Date Fri, 16 Apr 2010 20:59:25 GMT


Adam Young updated BUILDR-424:

    Attachment: buildr-pathmunge.patch

This patch provides the absolute minimun extension to buildr in order to provide run time
extension repository code.  The localbuild.rb file is an example that shows how it could be
used.  I'll post a working version shortly that does the JPP transform

> Buildr should support JPackage style remote file:// repositories
> ----------------------------------------------------------------
>                 Key: BUILDR-424
>                 URL:
>             Project: Buildr
>          Issue Type: New Feature
>          Components: Dependency management
>         Environment: Fedora and RPM based systems
>            Reporter: Adam Young
>         Attachments: buildr-pathmunge.patch
> 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)}"
>  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 contact one of the administrators:
For more information on JIRA, see:


View raw message