-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #778 from CodexRaunak/recipe-remove-developers-tag
Top level recipe to Remove <developers> tag
- Loading branch information
Showing
5 changed files
with
187 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
plugin-modernizer-core/src/main/jte/pr-body-RemoveDevelopersTag.jte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@import io.jenkins.tools.pluginmodernizer.core.model.Plugin | ||
@import io.jenkins.tools.pluginmodernizer.core.model.Recipe | ||
@param Plugin plugin | ||
@param Recipe recipe | ||
|
||
Hello `${plugin.getName()}` developers! :wave: | ||
|
||
This is an automated pull request created by the [Jenkins Plugin Modernizer](https://github.com/jenkins-infra/plugin-modernizer-tool) tool. The tool has applied the following recipe to modernize the plugin: | ||
|
||
<details aria-label="Recipe details for ${recipe.getDisplayName()}"> | ||
<summary>${recipe.getDisplayName()}</summary> | ||
<p><em>${recipe.getName()}</em></p> | ||
<blockquote>${recipe.getDescription()}</blockquote> | ||
</details> | ||
|
||
## Why is this important? | ||
|
||
### Removing `developers` Tag from `pom.xml` | ||
|
||
Jenkins no longer requires the `developers` tag in `pom.xml` since the `developers` section in the pom.xml file was traditionally used to specify individuals responsible for the plugin. | ||
However, Jenkins has transitioned to using the Repository Permission Updater (RPU) for managing permissions and developer information. | ||
|
||
Benefits of Removing `developers` Tag: | ||
|
||
- **Simplification:** Eliminates unnecessary metadata from the pom.xml, making it cleaner and more maintainable. | ||
- **Consistency:** Ensures that developer information is managed centrally through the RPU, reducing discrepancies. | ||
- **Security:** Relies on the RPU's controlled permission management, enhancing the security of artifact deployments. | ||
|
||
By removing the `developers` tag, we adhere to the modern Jenkins infrastructure standards and prevent the inclusion of outdated or redundant developer information in plugin metadata. |
6 changes: 6 additions & 0 deletions
6
plugin-modernizer-core/src/main/jte/pr-title-RemoveDevelopersTag.jte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@import io.jenkins.tools.pluginmodernizer.core.model.Plugin | ||
@import io.jenkins.tools.pluginmodernizer.core.model.Recipe | ||
@param Plugin plugin | ||
@param Recipe recipe | ||
|
||
chore: Remove `developers` tag from pom.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters