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

Olivier Lamy commented on MRM-1592:
-----------------------------------

yup not so complicated.
Have a look in class DefaultSearchService in module archiva-rest-services.

                
> 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