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

Use instance-identity as a plugin rather than a module #87

Merged
merged 1 commit into from Jul 29, 2022

Conversation

basil
Copy link
Member

@basil basil commented Jul 29, 2022

Not needed for BOM in the short term, but a generally positive maintenance step IMHO. CC @jglick

@basil
Copy link
Member Author

basil commented Jul 29, 2022

Used my admin powers to replay the run with the Jenkinsfile changes: https://ci.jenkins.io/job/Plugins/job/git-server-plugin/view/change-requests/job/PR-87/2/

@@ -4,7 +4,8 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.40</version>
<version>4.44</version>
<relativePath />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW

Suggested change
<relativePath />
<relativePath/>

The extra space is superfluous in XML; but traditional browser HTML parsers required it for XHTML IIRC; and when using maven-release-plugin the crappy XML rewriting tool always reinserts it. JEP-229 avoids the problem by not mechanically editing the version POM.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The vast majority of our existing plugin POMs have the space so I was just following existing precedent. SortPom allows both conventions via the spaceBeforeCloseEmptyElement configuration option, which we've set to true in core to keep with existing precedent. Maybe someday when we run SortPom on more POMs that would be a good opportunity to clean this up globally.

@jglick jglick merged commit a24191b into jenkinsci:master Jul 29, 2022
@basil basil deleted the refresh branch August 6, 2022 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants