[JIRA] (JENKINS-59712) url tag in pom is not properly interpolating strings

0 views
Skip to first unread message

pibeitz@gmail.com (JIRA)

unread,
Oct 9, 2019, 3:57:03 AM10/9/19
to jenkinsc...@googlegroups.com
Pierre Beitz created an issue
 
Jenkins / Bug JENKINS-59712
url tag in pom is not properly interpolating strings
Issue Type: Bug Bug
Assignee: Unassigned
Components: archetypes
Created: 2019-10-09 07:56
Environment: maven-hpi-plugin:3.6
Priority: Minor Minor
Reporter: Pierre Beitz

With the maven-hpi-plugin version 3.6, one can see that the url tag (now used to link documentation) is not having its string properly interpolated.

 

As an example this pom will result in `https://github.com/jenkinsci/$%7Bproject.artifactId%7D-plugin` in the update center.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

pibeitz@gmail.com (JIRA)

unread,
Oct 9, 2019, 3:58:01 AM10/9/19
to jenkinsc...@googlegroups.com
Pierre Beitz updated an issue
Change By: Pierre Beitz
With the maven-hpi-plugin version 3.6, one can see that the *url* tag (now used to link documentation) is not having its string properly interpolated.

 

As an example [
[ this pom| |#L39]] [https://github.com/jenkinsci/chaos-monkey-plugin/blob/master/pom.xml#L39] [ ] |#L39]] will result in `[https://github.com/jenkinsci/$%7Bproject.artifactId%7D-plugin]` in the update center.

pibeitz@gmail.com (JIRA)

unread,
Oct 9, 2019, 3:59:03 AM10/9/19
to jenkinsc...@googlegroups.com

pibeitz@gmail.com (JIRA)

unread,
Oct 9, 2019, 3:59:03 AM10/9/19
to jenkinsc...@googlegroups.com
Pierre Beitz updated an issue
With the maven-hpi-plugin version 3.6, one can see that the *url* tag (now used to link documentation) is not having its string properly interpolated.

 

pibeitz@gmail.com (JIRA)

unread,
Oct 9, 2019, 3:59:03 AM10/9/19
to jenkinsc...@googlegroups.com

pibeitz@gmail.com (JIRA)

unread,
Oct 9, 2019, 4:00:02 AM10/9/19
to jenkinsc...@googlegroups.com
Pierre Beitz updated an issue
With the maven-hpi-plugin version 3.6, one can see that the *url* tag (now used to link documentation) is not having its string properly interpolated.

 

pibeitz@gmail.com (JIRA)

unread,
Oct 9, 2019, 4:00:03 AM10/9/19
to jenkinsc...@googlegroups.com
Pierre Beitz updated an issue
With the maven-hpi-plugin version 3.6, one can see that the *url* tag (now used to link documentation) is not having its string properly interpolated.

 

o.v.nenashev@gmail.com (JIRA)

unread,
Oct 9, 2019, 6:37:02 AM10/9/19
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Bug JENKINS-59712
 
Re: url tag in pom is not properly interpolating strings

CC Jesse Glick, looks like we need to remove it from guidelines. Something does not work in the release profile

pibeitz@gmail.com (JIRA)

unread,
Oct 9, 2019, 7:53:02 AM10/9/19
to jenkinsc...@googlegroups.com

To be fair the documentation (https://wiki.jenkins.io/display/JENKINS/Hosting+Plugins#HostingPlugins-Hostingthepluginpage ) states: "Modify your project URL to point to the GitHub repository, e.g. http://github.com/jenkinsci/your-plugin", it was simply making sense to use the artifactid variable.

jglick@cloudbees.com (JIRA)

unread,
Oct 9, 2019, 4:43:03 PM10/9/19
to jenkinsc...@googlegroups.com

And the archetype now does the same.

Something does not add up here. https://github.com/jenkinsci/chaos-monkey-plugin/blob/chaos-monkey-0.1/pom.xml#L43 is correctly expanded in http://repo.jenkins-ci.org/public/io/jenkins/plugins/chaos-monkey/0.1/chaos-monkey-0.1.hpi so what else is the update center generator pulling metadata from?

Reply all
Reply to author
Forward
0 new messages