Skip to content

Commit

Permalink
Merge pull request #86 from jonesbusy/feature/space-relative-path
Browse files Browse the repository at this point in the history
Missing space after relativePath
  • Loading branch information
jonesbusy authored Jan 1, 2025
2 parents 33ea6f1 + 3976ab8 commit d18bb5b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public TreeVisitor<?, ExecutionContext> getVisitor() {
@Override
public Xml visitTag(Tag tag, ExecutionContext ctx) {
if (isParentTag()) {
Tag relativePathTag = Tag.build("<relativePath/>");
Tag relativePathTag = Tag.build("<relativePath />");
return AddOrUpdateChild.addOrUpdateChild(tag, relativePathTag, getCursor().getParentOrThrow());
}
return super.visitTag(tag, ctx);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void shouldAddRelativePathIfMissing() {
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.86</version>
<relativePath/>
<relativePath />
</parent>
<artifactId>foo</artifactId>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ void shouldDisableLocalResolutionForParentPom() {
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.51</version>
<relativePath/>
<relativePath />
</parent>
<artifactId>foo</artifactId>
<properties>
Expand Down Expand Up @@ -379,7 +379,7 @@ void shouldRemoveVersionsOnlyIfPresentInJenkinsBom() {
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.51</version>
<relativePath/>
<relativePath />
</parent>
<artifactId>foo</artifactId>
<properties>
Expand Down Expand Up @@ -453,7 +453,7 @@ void shouldDoTheWorks() {
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.51</version>
<relativePath/>
<relativePath />
</parent>
<artifactId>example-plugin</artifactId>
<version>0.8-SNAPSHOT</version>
Expand Down

0 comments on commit d18bb5b

Please sign in to comment.