Bug 2024497 - there is no 'report' and 'help' goals
Summary: there is no 'report' and 'help' goals
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: maven-plugin-tools
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-18 07:54 UTC by Didik Supriadi
Modified: 2021-11-18 13:44 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-18 13:44:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Didik Supriadi 2021-11-18 07:54:25 UTC
Description of problem:

According to site [1], there are 5 goals of maven-plugin-plugin:
1 plugin:addPluginArtifactMetadata
2 plugin:descriptor
3 plugin:help
4 plugin:helpmojo
5 plugin:report

but apparently, in fedora, it only has 3 goals as follows:
[ERROR] UndeclaredThrowableException: InvocationTargetException: Could not find goal 'report' in plugin org.apache.maven.plugins:maven-plugin-plugin:3.6.0 among available goals addPluginArtifactMetadata, descriptor, helpmojo

Version-Release number of selected component (if applicable):
3.6.0-10

How reproducible:
always

Steps to Reproduce:
1. pom.xml that requires `maven-plugin-plugin` with goal `report` or `help`
2. run i.e. `mvn clean package`

Actual results:
[ERROR] UndeclaredThrowableException: InvocationTargetException: Could not find goal 'report' in plugin org.apache.maven.plugins:maven-plugin-plugin:3.6.0 among available goals addPluginArtifactMetadata, descriptor, helpmojo

Expected results:
Run without error

Additional info:
[1] https://maven.apache.org/plugin-tools/maven-plugin-plugin/plugin-info.html

Comment 1 Mikolaj Izdebski 2021-11-18 08:39:08 UTC
Confirmed - report and help goals are disabled on purpose because they require numerous packages that we don't want to maintain in Fedora.
Is there any reason you need these goals?

Comment 2 Didik Supriadi 2021-11-18 08:58:26 UTC
um, there's no need in my case because I can disable it. But now that you mention it, I already understand why the goals was removed.
this bug can be closed.

Comment 3 Mikolaj Izdebski 2021-11-18 13:44:16 UTC
I'm closing the bug per comment #2


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