Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-424

Buildr should support JPackage style remote file:// repositories

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • None
    • 1.5
    • Dependency management
    • None
    • Fedora and RPM based systems

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            admiyo Adam Young
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: