Bug 1795468 - Review Request: mojo-executor - Execute other plugins within a maven plugin
Summary: Review Request: mojo-executor - Execute other plugins within a maven plugin
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1795469
TreeView+ depends on / blocked
 
Reported: 2020-01-28 04:09 UTC by Jerry James
Modified: 2020-02-07 20:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-07 20:55:54 UTC
Type: ---
Embargoed:
zbyszek: fedora-review+


Attachments (Terms of Use)

Description Jerry James 2020-01-28 04:09:29 UTC
Spec URL: https://jjames.fedorapeople.org/mojo-executor/mojo-executor.spec
SRPM URL: https://jjames.fedorapeople.org/mojo-executor/mojo-executor-2.3.1-1.fc32.src.rpm
Fedora Account System Username: jjames
Description: The Mojo Executor provides a way to to execute other Mojos (plugins) within a Maven plugin, allowing you to easily create Maven plugins that are composed of other plugins.

Comment 1 Zbigniew Jędrzejewski-Szmek 2020-01-28 08:13:23 UTC
+ package name is OK
+ license still OK
+ latest version
+ builds and installs OK
+ fedora-review and rpmlint are OK (one issue below)
+ R/BR/P look OK
+ %mvn_* macros are used

- Package must not depend on deprecated() packages.
  Note: sonatype-oss-parent is deprecated, you must not depend on it.
In general, this would be a problem. But since this is about bringing back
an orphaned package that is required to keep other packages working, it seems
appropriate to allow keeping of this dependency.

Package is RE-APPROVED.

Comment 2 Jerry James 2020-01-29 03:32:55 UTC
Uh oh.  I had heard about sonatype-oss-parent being deprecated but then forgot about it.  To my knowledge, mojo-executor has not been in Fedora before.  Has it?  I don't think this is bringing back an old package; I think this is adding a new one, so the deprecation really is a problem.

Is there something that replaces sonatype-oss-parent?  I'm willing to work with mojo-executor upstream to move to the replacement, but I don't see a replacement mentioned on https://fedoraproject.org/wiki/Changes/Deprecate_Sonatype_OSS_Parent.

Comment 3 Zbigniew Jędrzejewski-Szmek 2020-01-29 08:36:32 UTC
Hmm, apparently I got confused. I don't know why I thought that this is a re-review. Too many tabs open I guess.

I'm not sure what the plan here is. Maybe Mikołaj can comment.

Comment 4 Zbigniew Jędrzejewski-Szmek 2020-01-29 08:37:56 UTC
... I forgot to add: sonatype-oss-parent still builds fine in rawhide, so this is not an immediate problem.

Comment 5 Mikolaj Izdebski 2020-01-29 12:41:03 UTC
Sonatype OSS Parent POMs are not only deprecated in Fedora, but also "no longer work with latest Maven and/or Java versions", see README.md at upstream GitHub page: https://github.com/sonatype/oss-parents

In all cases I know build-dependency on sonatype-oss-parent can be removed from downstream (Fedora) package builds without affecting package build. %pom_remove_parent macro can be used to achieve that, https://fedora-java.github.io/howto/latest/#pom_remove_parent

Comment 6 Jerry James 2020-01-29 15:40:06 UTC
Thank you, Mikolaj.  You are quite right: I can drop the BR on sonatype-oss-parent and add %pom_remove_parent to %prep, and the package builds without trouble.

Zbigniew, since you already approved this package, my plan is to request a repo and add %pom_remove_parent to %prep when I import.  Let me know if you want me to do otherwise.  Thanks for the review!

Comment 7 Gwyn Ciesla 2020-01-29 16:32:02 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/mojo-executor

Comment 8 Zbigniew Jędrzejewski-Szmek 2020-01-30 08:17:01 UTC
> request a repo and add %pom_remove_parent to %prep when I import

+1

Comment 9 Jerry James 2020-02-07 20:55:54 UTC
Built in Rawhide.


Note You need to log in before you can comment on or make changes to this bug.