[ 
https://issues.apache.org/jira/browse/MNG-7421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17496744#comment-17496744
 ] 

Christoph Läubrich commented on MNG-7421:
-----------------------------------------

The [BND baseline 
plugin|https://github.com/bndtools/bnd/blob/master/maven/bnd-baseline-maven-plugin/README.md]
 call uses the Repository system to query for a version range, see 
https://github.com/bndtools/bnd/blob/master/maven/bnd-baseline-maven-plugin/src/main/java/aQute/bnd/maven/baseline/plugin/BaselineMojo.java#L220-L222

While my repository is included (they seem to be converted from maven->aether) 
then my repository implementation is not queried anymore for 
versions/artifacts....

> DefaultVersionRangeResolver do not query the custom repository
> --------------------------------------------------------------
>
>                 Key: MNG-7421
>                 URL: https://issues.apache.org/jira/browse/MNG-7421
>             Project: Maven
>          Issue Type: Improvement
>            Reporter: Christoph Läubrich
>            Priority: Major
>
> DefaultVersionRangeResolver.readVersions(RepositorySystemSession, 
> RequestTrace, Metadata, ArtifactRepository, VersionRangeResult) only works if 
> there is a metadata.xml
> If no metadata is found, it would be good if the 
> org.apache.maven.artifact.repository.ArtifactRepository.findVersions(Artifact)
>  is queried instead.
> The usecase for this is that tycho has a custom repository layout that do not 
> has a metadata avaiable but provides a custom layout implementation instead.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to