Is there a maven command that will tell me what the latest version of an artifact is, in some remote repository?
I can update versions in pom.xml to the latest, using the versions plugin. In this case, I want to do something different. I have an archetype which is being continuously built with versions put in a repo, 1.0.1, 1.0.2, 1.0.3 and so on. I want to query what is the latest 1.0.x available from a shell script, then install and invoke the latest archetype.
I realize I could just use SNAPSHOTS and always work with the latest snapshot. It would be nice to use released versions though.