Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Plugin prefix "site" conflicts with standard maven-site-plugin #142

Open
rehevkor5 opened this issue Oct 22, 2020 · 0 comments
Open

Plugin prefix "site" conflicts with standard maven-site-plugin #142

rehevkor5 opened this issue Oct 22, 2020 · 0 comments

Comments

@rehevkor5
Copy link

rehevkor5 commented Oct 22, 2020

When attempting to run a standard plugin goal such as "site:stage" (https://maven.apache.org/plugins/maven-site-plugin/stage-mojo.html), Maven outputs:

[ERROR] Could not find goal 'stage' in plugin com.github.github:site-maven-plugin:0.12 among available goals site, help -> [Help 1]

According to https://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html this is because this plugin is named so that the plugin prefix is "site", which conflicts with the prefix for the standard "maven-site-plugin" plugin.

This plugin should be renamed to something more like "github-site-maven-plugin" so that it has a unique prefix relative to the Maven standard site plugin. Or, the <goalPrefix> element should be used to set the prefix to something unique.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant