-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Problem Description:
Currently, the Pom Editor Maven Plugin has limited filtering capabilities for elements in the POM file. For large and complex projects with many dependencies and plugins, it can be difficult to manually manage the POM without the ability to filter elements based on specific criteria. Additionally, when a project has an original POM and POM templates in each module, manual editing can be even more cumbersome.
Proposed Solution:
Add advanced filtering features to the Pom Editor Maven plugin to allow users to filter POM elements based on specific criteria, including module filtering. The advanced filtering features would allow users to edit the POM more efficiently and accurately, saving time and reducing the risk of manual errors.
CLI Examples:
Filter dependencies by group and module
mvn pom-editor:filter -DpomFile=pom.xml -DgroupId=com.example -Dmodule=core
Filter plugins by artifact ID and module
mvn pom-editor:filter -DpomFile=pom.xml -DartifactId=maven-compiler-plugin -Dmodule=webapp
Filter dependencies by scope and module
mvn pom-editor:filter -DpomFile=pom.xml -Dscope=runtime -Dmodule=core
Benefits:
Facilitates POM editing in large and complex projects.
Reduces the risk of manual errors when filtering POM elements.
Saves time for developers, making POM editing more efficient and accurate.
Acknowledgments:
We appreciate your consideration and feedback on this idea. We look forward to hearing your opinions and suggestions
Metadata
Metadata
Assignees
Labels
Type
Projects
Status