You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Michael Nielsen (JIRA)" <ji...@apache.org> on 2012/06/04 15:50:22 UTC

[jira] [Created] (BUILDR-643) Exclude upload / release of war files

Michael Nielsen created BUILDR-643:
--------------------------------------

             Summary: Exclude upload / release of war files
                 Key: BUILDR-643
                 URL: https://issues.apache.org/jira/browse/BUILDR-643
             Project: Buildr
          Issue Type: Question
            Reporter: Michael Nielsen


Hi

I'm new to Buildr / Rake so might be a silly question.

We package our war project as both jar and war. However we don't want the war files to be uploaded as artifacts. Is there anyway to do that?

Regards
Michael

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (BUILDR-643) Exclude upload / release of war files

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

Alex Boisvert commented on BUILDR-643:
--------------------------------------

There's no direct way to exclude artifacts from upload... off the top of my head my suggestion would be to define two projects and only call upload on the second project

define 'main' do
  # all your normal project properties here

  package(:jar)
  package(:war)
end

define 'upload project' do
  # synthetic project used only for uploading
  package(jar).from(project('main').package(:jar))
end

% buildr upload:upload   => only uploads jar artifact ...

This is pretty rough but hopefully gives you the idea.
                
> Exclude upload / release of war files
> -------------------------------------
>
>                 Key: BUILDR-643
>                 URL: https://issues.apache.org/jira/browse/BUILDR-643
>             Project: Buildr
>          Issue Type: Question
>            Reporter: Michael Nielsen
>
> Hi
> I'm new to Buildr / Rake so might be a silly question.
> We package our war project as both jar and war. However we don't want the war files to be uploaded as artifacts. Is there anyway to do that?
> Regards
> Michael

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (BUILDR-643) Exclude upload / release of war files

Posted by "Peter Donald (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Donald updated BUILDR-643:
--------------------------------

    Fix Version/s: 1.5
    
> Exclude upload / release of war files
> -------------------------------------
>
>                 Key: BUILDR-643
>                 URL: https://issues.apache.org/jira/browse/BUILDR-643
>             Project: Buildr
>          Issue Type: Question
>            Reporter: Michael Nielsen
>             Fix For: 1.5
>
>
> Hi
> I'm new to Buildr / Rake so might be a silly question.
> We package our war project as both jar and war. However we don't want the war files to be uploaded as artifacts. Is there anyway to do that?
> Regards
> Michael

--
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