Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid duplicating versionsMavenPluginRules.xml files #245

Open
kaklakariada opened this issue Feb 24, 2022 · 0 comments
Open

Avoid duplicating versionsMavenPluginRules.xml files #245

kaklakariada opened this issue Feb 24, 2022 · 0 comments
Labels
feature Product feature

Comments

@kaklakariada
Copy link
Collaborator

PR generates a versionsMavenPluginRules.xml with the same content for each sub-module. We could avoid this by creating only one file in the root dir and reference it from the modules.

Idea: Add a property projectRootDir (or similar) to the generated parent pom and fill it with the relative path to the root dir. Then we can reference the file via

<rulesUri>file:///${projectRootDir}/versionsMavenPluginRules.xml</rulesUri>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Product feature
Projects
None yet
Development

No branches or pull requests

2 participants