You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Paul Walker (JIRA)" <ji...@apache.org> on 2010/08/31 20:54:55 UTC

[jira] Created: (BUILDR-500) Document Uploading of custom POM files

Document Uploading of custom POM files
--------------------------------------

                 Key: BUILDR-500
                 URL: https://issues.apache.org/jira/browse/BUILDR-500
             Project: Buildr
          Issue Type: Improvement
          Components: Packaging
    Affects Versions: 1.4.1
            Reporter: Paul Walker
            Priority: Minor


Please provide documentation on how to upload custom pom files rather than those generated by buildr.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-500) Document Uploading of custom POM files

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904755#action_12904755 ] 

Alex Boisvert commented on BUILDR-500:
--------------------------------------

There are two ways,

 package(:jar).pom.from _("path/to/pom.xml")

or,

 package(:jar).pom.content xml

where "xml" is any content that can be converted to a string with to_s()

e.g.

  xml = Builder::XmlMarkup.new(:indent=>2)
  xml.project do
    pkg = package(:jar)
    xml.modelVersion '4.0.1'
    xml.groupId pkg.group
    xml.artifactId pkg.id
    xml.version pkg.version
  end
  package(:jar).pom.content xml

Sadly, both of these require Buildr 1.4.2 (unreleased) or SVN trunk since I fixed BUILDR-488 "artifact poms not reinstalled" only recently.

> Document Uploading of custom POM files
> --------------------------------------
>
>                 Key: BUILDR-500
>                 URL: https://issues.apache.org/jira/browse/BUILDR-500
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Packaging
>    Affects Versions: 1.4.1
>            Reporter: Paul Walker
>            Priority: Minor
>
> Please provide documentation on how to upload custom pom files rather than those generated by buildr.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.