[ 
https://jira.codehaus.org/browse/MRM-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=289151#comment-289151
 ] 

Romain Moreau commented on MRM-1592:
------------------------------------

As I said in the description, I don't think it's very clean to do this out of 
Archiva, IMO it should be part of the service.
I'm not really familiar with Archiva sources and API but if you say that it's 
easy, I could try to make the patch someday.
                
> Add a getArtifactLastVersion method to the SearchService REST service
> ---------------------------------------------------------------------
>
>                 Key: MRM-1592
>                 URL: https://jira.codehaus.org/browse/MRM-1592
>             Project: Archiva
>          Issue Type: Improvement
>          Components: rest services
>    Affects Versions: 1.4-M2
>            Reporter: Romain Moreau
>
> A useful method that is missing in the SearchService is a method which 
> returns the last version of an artifact and which would have this signature :
> {code}
> Artifact getArtifactLastVersion(String groupId, String artifactId, String 
> packaging);
> {code}
> A workaround can be done but it's not clean since the last version 
> information is managed by Archiva in the maven-metadata.xml files.

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