Bruno F created MNG-5303:
----------------------------

             Summary: Maven can't download plateform dependent snapshot 
artifacts
                 Key: MNG-5303
                 URL: https://jira.codehaus.org/browse/MNG-5303
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Dependencies
    Affects Versions: 3.0.4
            Reporter: Bruno F


It might be a misconception of what Maven should do, it might as well be a 
known limitation, but anyway, here is what I observe.

I have a maven projet (pom type) with attached artifacts which classifiers 
contain the name of the os. For instance:
myGroupId:myArtifactId:zip:x86-windows:1.0-SNAPSHOT
myGroupId:myArtifactId:zip:x86-linux:1.0-SNAPSHOT

Those attached zip artifacts (containing DLL and SO files) are built separatly 
(based on profiles) on a Windows and a Linux machine. Deployment is also 
performed in two steps: the x86-linux on the Linux machine, and the x86-windows 
on the Windows machine (not at the same exact time of course). 
This issues a different snapshot timestamp for each one in Archiva.

The problem arises when I try to download (from another project having a 
dependency on myGroupId:myArtifactId:zip:x86-linux:1.0-SNAPSHOT) the first one 
deployed (let's say Linux): the latest snapshot timestamp "wins" (basically the 
Windows one, that was deployed after the Linux one) but there is not attached 
x86-linux artifact for this (Windows) timestamp. So Maven fails and tells me 
that I should deploy the x86-linux artifact with the Windows timestamp.




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

        

Reply via email to