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

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

I wonder if you see the class VersionComparator in archiva-common module ?
As you have various methods in SearchService you can already easily do that (or 
provide a patch to implement this ;-) ).
                
> 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