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

Herve Boutemy commented on MRELEASE-1129:
-----------------------------------------

sorry I don't get it: what is wrong in the initial pom.xml
{code:xml}
<project xmlns="https://maven.apache.org/POM/4.0.0";
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 
https://maven.apache.org/xsd/maven-4.0.0.xsd";>
{code}
?

in the resulting one, yes, now I understand that the xmlns added are because 
result is invalid
{code:xml}
<project xmlns="http://maven.apache.org/POM/4.0.0";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 
https://maven.apache.org/xsd/maven-4.0.0.xsd";>
{code}

> https POM URIs break the release plugin
> ---------------------------------------
>
>                 Key: MRELEASE-1129
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-1129
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 3.0.1
>            Reporter: Henning Schmiedehausen
>            Priority: Major
>             Fix For: waiting-for-feedback, wontfix-candidate
>
>         Attachments: pom-after-transform.xml, pom.xml
>
>
> replacing the "http" URIs with "https" in the POM headers breaks the release 
> process. 
> When the pom gets prepared, the plugin rewrites the header back to "http" and 
> adds an xmlns section to every opening tag in the POM creating an invalid POM.
> Sadly we are stuck with http:// URIs in the POMs for now.



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

Reply via email to