You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Neil Morrison (JIRA)" <ji...@codehaus.org> on 2009/04/20 03:35:44 UTC

[jira] Created: (MDEPLOY-102) Allow deploy:deploy-file to specify the extension of the artifact

Allow deploy:deploy-file to specify the extension of the artifact
-----------------------------------------------------------------

                 Key: MDEPLOY-102
                 URL: http://jira.codehaus.org/browse/MDEPLOY-102
             Project: Maven 2.x Deploy Plugin
          Issue Type: Improvement
          Components: deploy:deploy-file
    Affects Versions: 2.4
            Reporter: Neil Morrison
            Priority: Minor


We build a zip bundle of files to be deployed as a set.  Can deploy these ok but it always assumes a jar file extension, would like to upload as a zip file as per Nexus Upload feature

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MDEPLOY-102) Allow deploy:deploy-file to specify the extension of the artifact

Posted by "Neil Morrison (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MDEPLOY-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neil Morrison closed MDEPLOY-102.
---------------------------------

    Resolution: Not A Bug

Tried the use of the packaging option as zip as the packaging type as I wanted it specified in the pom.xml file and it worked a treat, so thanks for the heads up.

Hadn't realised you could use a packaging type of zip - didn't think it was supported

When you manually upload a file into Nexus you have to specify the extension manually so assumed it needed to be done the same way.

Anyways, all good as it works, so have closed the request :)

> Allow deploy:deploy-file to specify the extension of the artifact
> -----------------------------------------------------------------
>
>                 Key: MDEPLOY-102
>                 URL: http://jira.codehaus.org/browse/MDEPLOY-102
>             Project: Maven 2.x Deploy Plugin
>          Issue Type: Improvement
>          Components: deploy:deploy-file
>    Affects Versions: 2.4
>            Reporter: Neil Morrison
>            Priority: Minor
>
> We build a zip bundle of files to be deployed as a set.  Can deploy these ok but it always assumes a jar file extension, would like to upload as a zip file as per Nexus Upload feature

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MDEPLOY-102) Allow deploy:deploy-file to specify the extension of the artifact

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MDEPLOY-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=173461#action_173461 ] 

Wendy Smoak commented on MDEPLOY-102:
-------------------------------------

Have you tried adding -Dpackaging=zip to the command line?  It seems to work for me in a quick test.

> Allow deploy:deploy-file to specify the extension of the artifact
> -----------------------------------------------------------------
>
>                 Key: MDEPLOY-102
>                 URL: http://jira.codehaus.org/browse/MDEPLOY-102
>             Project: Maven 2.x Deploy Plugin
>          Issue Type: Improvement
>          Components: deploy:deploy-file
>    Affects Versions: 2.4
>            Reporter: Neil Morrison
>            Priority: Minor
>
> We build a zip bundle of files to be deployed as a set.  Can deploy these ok but it always assumes a jar file extension, would like to upload as a zip file as per Nexus Upload feature

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira