Skip to content

Commit c124972

Browse files
committed
Fix typo in change log hpi property
1 parent 952a420 commit c124972

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/it/JENKINS-45740-metadata/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
<java.level>8</java.level>
1616
<hpi-plugin.version>@project.version@</hpi-plugin.version>
1717
<!--Examples of real use-cases-->
18-
<hpi.pluginChagelogUrl>https://github.com/jenkinsci/configuration-as-code-plugin/releases</hpi.pluginChagelogUrl>
18+
<hpi.pluginChangelogUrl>https://github.com/jenkinsci/configuration-as-code-plugin/releases</hpi.pluginChangelogUrl>
1919
<hpi.pluginLogoUrl>https://raw.githubusercontent.com/jenkinsci/configuration-as-code-plugin/master/plugin/src/main/webapp/img/logo-head.svg</hpi.pluginLogoUrl>
2020
</properties>
21-
21+
2222
<licenses>
2323
<license>
2424
<name>MIT License</name>
@@ -30,8 +30,8 @@
3030
<url>https://mylicense.txt</url>
3131
<comments>Hello, world!</comments>
3232
</license>
33-
</licenses>
34-
33+
</licenses>
34+
3535
<repositories>
3636
<repository>
3737
<id>repo.jenkins-ci.org</id>
@@ -44,7 +44,7 @@
4444
<url>https://repo.jenkins-ci.org/public/</url>
4545
</pluginRepository>
4646
</pluginRepositories>
47-
47+
4848
<scm>
4949
<connection>scm:git:git://github.com/jenkinsci/${project.artifctId}-plugin.git</connection>
5050
<developerConnection>scm:git:[email protected]:jenkinsci/${project.artifactId}-plugin.git</developerConnection>

src/main/java/org/jenkinsci/maven/plugins/hpi/AbstractJenkinsManifestMojo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ protected void setAttributes(Manifest.Section mainSection) throws MojoExecutionE
213213

214214
// Extra info attributes
215215
addLicenseAttributesForManifest(mainSection);
216-
addPropertyAttributeIfNotNull(mainSection, "Plugin-ChangelogUrl", "hpi.pluginChagelogUrl");
216+
addPropertyAttributeIfNotNull(mainSection, "Plugin-ChangelogUrl", "hpi.pluginChangelogUrl");
217217
addPropertyAttributeIfNotNull(mainSection, "Plugin-LogoUrl", "hpi.pluginLogoUrl");
218218
addAttributeIfNotNull(mainSection, "Plugin-ScmUrl", getScmUrl());
219219
}
@@ -283,7 +283,7 @@ private void addLicenseAttributesForManifest(Manifest.Section target) throws Man
283283
String licenseSuffix = licenseCounter == 1 ? "" : ("-" + licenseCounter);
284284
addAttributeIfNotNull(target, "Plugin-License-Name" + licenseSuffix, lic.getName());
285285
addAttributeIfNotNull(target, "Plugin-License-Url" + licenseSuffix, lic.getUrl());
286-
//TODO(oleg_nenashev): Can be enabled later if needed
286+
//TODO(oleg_nenashev): Can be enabled later if needed
287287
//addAttributeIfNotNull(target, "Plugin-License-Distribution" + licenseSuffix, lic.getDistribution());
288288
//addAttributeIfNotNull(target, "Plugin-License-Comments" + licenseSuffix, lic.getComments());
289289
licenseCounter++;

0 commit comments

Comments
 (0)