Mock Repository Manager - improvements

15 views
Skip to first unread message

Slawomir Jaranowski

unread,
Dec 4, 2022, 9:41:33 AM12/4/22
to Maven Developers List, mojoha...@googlegroups.com
Hi,

Project Mock Repository Manager [1] still uses Maven 2.x Api for managing artifacts, meta-data and local repositories.
I would like to switch to Api 3.x.

There is also one more feature - browsing repositories by browser, you can start mrm by goal mrm:run and point your browser to provide address.

In my opinion mrm in most cases is used during integration tests, and browsing managed repositories by browser is not used.
For browsing are only available artifacts and path which was resolved early so not all available,

These options need a lot of code to support it.

I would like to remove such features and corresponding code, it will be easier for the next refactor and improvements.

What do you think?


--
Sławomir Jaranowski

Benjamin Marwell

unread,
Dec 5, 2022, 1:35:32 AM12/5/22
to mojohaus-dev
Yes, it's mostly used in ITs. IT speed matters a lot. If we could leverage the API and maybe even add some performance, big +1 to rip out any other feature.

Olivier Lamy

unread,
Dec 5, 2022, 3:39:14 AM12/5/22
to mojoha...@googlegroups.com
On Mon, 5 Dec 2022 at 00:41, Slawomir Jaranowski <s.jara...@gmail.com> wrote:
>
> Hi,
>
> Project Mock Repository Manager [1] still uses Maven 2.x Api for managing artifacts, meta-data and local repositories.
> I would like to switch to Api 3.x.

Good idea!

>
> There is also one more feature - browsing repositories by browser, you can start mrm by goal mrm:run and point your browser to provide address.
>
> In my opinion mrm in most cases is used during integration tests, and browsing managed repositories by browser is not used.

agree just remove it.


> For browsing are only available artifacts and path which was resolved early so not all available,
>
> These options need a lot of code to support it.
>
> I would like to remove such features and corresponding code, it will be easier for the next refactor and improvements.
>
> What do you think?
>
> [1] https://www.mojohaus.org/mrm/mrm-maven-plugin/index.html
>
> --
> Sławomir Jaranowski
>
> --
> You received this message because you are subscribed to the Google Groups "mojohaus-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to mojohaus-dev...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/mojohaus-dev/CAGjJkv1sJZiqQsJ2Yjy4GfsF-hShc1FAVhEiC6F0JL2XH34J_Q%40mail.gmail.com.

--
Olivier Lamy
http://twitter.com/olamy | http://linkedin.com/in/olamy

Mirko Friedenhagen

unread,
Dec 5, 2022, 4:50:32 AM12/5/22
to mojoha...@googlegroups.com
Hi I completely agree with below statements.

Reply all
Reply to author
Forward
0 new messages