[ 
https://issues.apache.org/jira/browse/PDFBOX-5699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17775562#comment-17775562
 ] 

Robert Munteanu commented on PDFBOX-5699:
-----------------------------------------

Maybe something related to the maven-release-plugin? I see the following for 
the 3.0.0 release tag ( 
https://github.com/apache/pdfbox/blob/47e7cff248d0ac17b7c03d9eb208e34a5c00bc42/parent/pom.xml#L560
 )

{code:xml}

  <scm>
    
<connection>scm:git:https://gitbox.apache.org/repos/asf/maven-apache-parent.git/pdfbox-parent/tags/3.0.0/pdfbox-parent</connection>
    
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-apache-parent.git/pdfbox-parent/tags/3.0.0/pdfbox-parent</developerConnection>
    
<url>https://github.com/apache/maven-apache-parent/tree/apache-29/pdfbox-parent/tags/3.0.0/pdfbox-parent</url>
  </scm>
{code}

I think this was related to 
https://github.com/apache/pdfbox/commit/d81141cbefab812a42e2cbc233019106151d8b41
 though; the root/reactor POM has SCM settings but the parent one does not. So 
the parent pom will inherit the scm definitions from the apache parent pom, but 
the ones from the root/reactor will not be applied to pdfbox projects.

I think you need to restore the scm settings for the parent pom for this to 
work properly.

And BTW, there is a typo at 
https://github.com/apache/pdfbox/blob/6d869e885dba60352d3dff25144c03581880aeed/pom.xml#L36
 ; it's missing a leading "s", it should say {{scm:svn:http://}} instead of 
{{cm:svn:http://}}.

> Consistent scm.url values for pom.xml
> -------------------------------------
>
>                 Key: PDFBOX-5699
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5699
>             Project: PDFBox
>          Issue Type: Improvement
>    Affects Versions: 3.0.0 PDFBox
>            Reporter: Robert Munteanu
>            Priority: Minor
>
> I noticed that the pdfbox-parent releases have an inconsistent scm.url value 
> : 
> {{<url>https://github.com/apache/maven-apache-parent/tree/apache-29/pdfbox-parent/tags/3.0.0/pdfbox-parent</url>}}
> This value is used by various tool for display purposes and sometimes for 
> associating artifacts to a given GitHub repository. It would be great if the 
> release versions would point to a consistent repository prefix, e.g. 
> https://github.com/apache/pdfbox/....



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to