Hello, maybe this sample code helps you how you could use Aether to inspect repository index:
http://git.eclipse.org/c/aether/aether-demo.git/tree/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/FindAvailableVersions.java check out http://eclipse.org/aether for details. Gruss Bernd Am Tue, 8 Apr 2014 12:52:48 +0000 schrieb MukeshKumar Bhansali <[email protected]>: > Hi Folks, > I have a different requirement and not getting any hint. > > The Requirement is like : > > I want to download an artifact from Nexus using Maven, But I have > > > 1) groupId > > 2) version > > 3) Partial artifactId ( prefix and suffix of artifactId means > not the exact one) > > > Example : > In case of this artifact : > > groupId : org.nihiocs.hudson.plugins > artifactId : jobTreeMaker > version : main > > I have following information > > groupId : org.nihiocs.hudson.plugins > artifactId : job*Maker (Prefix and Suffix) > version : main > So in this case how I can download this artifact ? > > It is also ok if I downloads entire > org/nihiocs/Hudson/plugins ( org.nihiocs.hudson.plugins ) Directory. > > I like it to done by maven only but it is ok if ant comes in action. > > Thanks. > > > MUKESH KUMAR BHANSALI > > > This message and the information contained herein is proprietary and > confidential and subject to the Amdocs policy statement, you may > review at http://www.amdocs.com/email_disclaimer.asp > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
