Hello,

I am developing plugin (mojo) and I need to determine latest version in local 
repository for group of plugins.
I tried org.apache.maven.artifact.resolver.ArtifactResolve.resolve but it needs 
org.apache.maven.artifact.Artifact with filled version.
I also tried 
org.apache.maven.artifact.repository.metadata.RepositoryMetadataManager but it 
also didn't help because there is only class for whole group 
(GroupRepositoryMetadata) and then for concrete artifact version 
(ArtifactRepositoryMetadata) but there in no way to obtain all (or latest) 
artifact version(s).

What is the best way to obtain latest plugin version? Should I manually 
traverse artifact directory in local repository and then sort found versions? 
Disadvantage is that one cannot be sure if this method handles all cases.

Thanks
Vojta


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to