[ 
https://issues.apache.org/jira/browse/MDEPLOY-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965589#comment-17965589
 ] 

Olivier Lamy commented on MDEPLOY-43:
-------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-deploy-plugin#252|https://github.com/apache/maven-deploy-plugin/issues/252].
 

> Deploy plugin does not consider artifact type when deploying snapshots
> ----------------------------------------------------------------------
>
>                 Key: MDEPLOY-43
>                 URL: https://issues.apache.org/jira/browse/MDEPLOY-43
>             Project: Maven Deploy Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: all environments
>            Reporter: Brill Pappin
>            Priority: Critical
>
> A single artifact with multiple components is not handled properly.
> Deploying a single snapshot artifact that has multiple components such as a 
> native component with an so/dll file and a matching lib file results in two 
> different id's while only the last id is recorded in the meta data.
> Of course, this means that the first file can not be resolve.
> The deploy plugin should take the file type into account when deploying the 
> artifact  so that multiple components of an artifact have the same snapshot 
> id.
> To test the issue, use the native-maven-plugin 
> (http://mojo.codehaus.org/maven-native/native-maven-plugin/index.html) to 
> deploy an artifact as a snapshot version.
> Once deployed inspect the repository; You should find an so/dll and a lib 
> with two different snapshot ids and the maven-metadata.xml will contain the 
> id of the last file that was actually copied (in this case the lib file).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to