File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
it/JENKINS-45740-metadata
main/java/org/jenkinsci/maven/plugins/hpi Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 15
15
<java .level>8</java .level>
16
16
<hpi-plugin .version>@project.version@</hpi-plugin .version>
17
17
<!-- 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 >
19
19
<hpi .pluginLogoUrl>https://raw.githubusercontent.com/jenkinsci/configuration-as-code-plugin/master/plugin/src/main/webapp/img/logo-head.svg</hpi .pluginLogoUrl>
20
20
</properties >
21
-
21
+
22
22
<licenses >
23
23
<license >
24
24
<name >MIT License</name >
30
30
<url >https://mylicense.txt</url >
31
31
<comments >Hello, world!</comments >
32
32
</license >
33
- </licenses >
34
-
33
+ </licenses >
34
+
35
35
<repositories >
36
36
<repository >
37
37
<id >repo.jenkins-ci.org</id >
44
44
<url >https://repo.jenkins-ci.org/public/</url >
45
45
</pluginRepository >
46
46
</pluginRepositories >
47
-
47
+
48
48
<scm >
49
49
<connection >scm:git:git://github.com/jenkinsci/${project.artifctId} -plugin.git</connection >
50
50
<
developerConnection >scm:git:
[email protected] :jenkinsci/
${project.artifactId} -plugin.git</
developerConnection >
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ protected void setAttributes(Manifest.Section mainSection) throws MojoExecutionE
213
213
214
214
// Extra info attributes
215
215
addLicenseAttributesForManifest (mainSection );
216
- addPropertyAttributeIfNotNull (mainSection , "Plugin-ChangelogUrl" , "hpi.pluginChagelogUrl " );
216
+ addPropertyAttributeIfNotNull (mainSection , "Plugin-ChangelogUrl" , "hpi.pluginChangelogUrl " );
217
217
addPropertyAttributeIfNotNull (mainSection , "Plugin-LogoUrl" , "hpi.pluginLogoUrl" );
218
218
addAttributeIfNotNull (mainSection , "Plugin-ScmUrl" , getScmUrl ());
219
219
}
@@ -283,7 +283,7 @@ private void addLicenseAttributesForManifest(Manifest.Section target) throws Man
283
283
String licenseSuffix = licenseCounter == 1 ? "" : ("-" + licenseCounter );
284
284
addAttributeIfNotNull (target , "Plugin-License-Name" + licenseSuffix , lic .getName ());
285
285
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
287
287
//addAttributeIfNotNull(target, "Plugin-License-Distribution" + licenseSuffix, lic.getDistribution());
288
288
//addAttributeIfNotNull(target, "Plugin-License-Comments" + licenseSuffix, lic.getComments());
289
289
licenseCounter ++;
You can’t perform that action at this time.
0 commit comments