maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Eckenfels <e...@zusammenkunft.net>
Subject Re: Maven Download and Regular Expression
Date Wed, 09 Apr 2014 02:19:16 GMT
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 <MukeshKumar.Bhansali@amdocs.com>:

> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message