Well, I haven't used it for some times, but looking for artifacts by groups or so is not an Aether feature, more like a maven-indexer one.
Cheers Le 16 oct. 2011 10:34, "Ansgar Konermann" <[email protected]> a écrit : > Am 16.10.2011 09:57 schrieb "Shaun Elliott" <[email protected]>: > > > > Is it possible to search on an artifactid without a groupid in a mojo? > > > > I am using maven 3. I'd like to "search" for a given groupid in a mojo - > > I've been using: ArtifactMetadataSource, but it is deprecated and doesn't > > seem to have what I need. Is there something else I should be using? Is > what > > I'm trying to do even possible? > > If your search space is not too large (say: limited to a few potential > groupids) then it should be possible. > > You could Google for Sonatype Aether documentation and use that library > directly to resolve all candidate artifacts until aether comes back without > error code. (linear search). > > However, I'm not so sure why one would want this? Can you tell me mote > about > your use case (just curious). Maybe there is a much simpler solution for > your problem? > > Thanks in advance > > Ansgar > > > > Thanks. > > > > -- > > René Descartes is in a bar at closing time. The bartender asks him if > he'd > > like another drink. Descartes says, "I think not," and he disappears. >
