devonfw / cobigen

Code-based Incremental Generator
Apache License 2.0
36 stars 72 forks source link

Optimize template set snapshot version retrieval with resource detection #1657

Open jan-vcapgemini opened 1 year ago

jan-vcapgemini commented 1 year ago

The ArtifactRetriever should use the resource xml to determine the full snapshot version instead of the redirect url.

Link to resource xml: https://s01.oss.sonatype.org/service/local/repositories/snapshots/content/com/devonfw/cobigen/templates/crud-openapi-angular-client-app/2021.12.007-SNAPSHOT/

Code part to change: https://github.com/devonfw/cobigen/blob/0c287803af897ab27ff1c976f44fef1d100ba253/cobigen/core-artifact-retriever/src/main/java/com/devonfw/cobigen/retriever/mavensearch/to/model/nexus2/Nexus2SearchResponse.java#L50-L56