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

Michael Osipov edited comment on MSITE-960 at 4/25/23 8:05 PM:
---------------------------------------------------------------

Interting, while the PR fixes the faulty code, it does not fix the ITs, with 
some debug output:
{noformat}
request: org.apache.maven.plugins:maven-plugins:xml:site:39 @ [mrm-maven-plugin 
(http://localhost:17299, default, releases+snapshots)], result: null 
(unavailable)
[DEBUG] Resolving artifact org.apache.maven.plugins:maven-plugins:xml:site:39 
from [mrm-maven-plugin (http://localhost:17299, default, releases+snapshots)]
[DEBUG] Using transporter WagonTransporter with priority -1.0 for 
http://localhost:17299
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for 
http://localhost:17299
[INFO] Downloading from mrm-maven-plugin: 
http://localhost:17299/org/apache/maven/plugins/maven-plugins/39/maven-plugins-39-site.xml
[INFO] Downloaded from mrm-maven-plugin: 
http://localhost:17299/org/apache/maven/plugins/maven-plugins/39/maven-plugins-39-site.xml
 (1.2 kB at 98 kB/s)
[DEBUG] Writing tracking file 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/maven/plugins/maven-plugins/39/_remote.repositories
[DEBUG] Writing tracking file 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/maven/plugins/maven-plugins/39/maven-plugins-39-site.xml.lastUpdated
[DEBUG] Reading parent level 1 site descriptor from 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/maven/plugins/maven-plugins/39/maven-plugins-39-site.xml
[DEBUG] Looking for site descriptor of level 2 parent project: 
org.apache.maven:maven-parent:pom:39
request: org.apache.maven:maven-parent:xml:site:39 @ [mrm-maven-plugin 
(http://localhost:17299, default, releases+snapshots)], result: null 
(unavailable)
[DEBUG] Resolving artifact org.apache.maven:maven-parent:xml:site:39 from 
[mrm-maven-plugin (http://localhost:17299, default, releases+snapshots)]
[DEBUG] Using transporter WagonTransporter with priority -1.0 for 
http://localhost:17299
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for 
http://localhost:17299
[INFO] Downloading from mrm-maven-plugin: 
http://localhost:17299/org/apache/maven/maven-parent/39/maven-parent-39-site.xml
[INFO] Downloaded from mrm-maven-plugin: 
http://localhost:17299/org/apache/maven/maven-parent/39/maven-parent-39-site.xml
 (4.4 kB at 627 kB/s)
[DEBUG] Writing tracking file 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/maven/maven-parent/39/_remote.repositories
[DEBUG] Writing tracking file 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/maven/maven-parent/39/maven-parent-39-site.xml.lastUpdated
[DEBUG] Reading parent level 2 site descriptor from 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/maven/maven-parent/39/maven-parent-39-site.xml
[DEBUG] Looking for site descriptor of level 3 parent project: 
org.apache:apache:pom:29
request: org.apache:apache:xml:site:29 @ [mrm-maven-plugin 
(http://localhost:17299, default, releases+snapshots)], result: null 
(unavailable)
[DEBUG] Resolving artifact org.apache:apache:xml:site:29 from [mrm-maven-plugin 
(http://localhost:17299, default, releases+snapshots)]
[DEBUG] Using transporter WagonTransporter with priority -1.0 for 
http://localhost:17299
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for 
http://localhost:17299
[INFO] Downloading from mrm-maven-plugin: 
http://localhost:17299/org/apache/apache/29/apache-29-site.xml
[INFO] Downloaded from mrm-maven-plugin: 
http://localhost:17299/org/apache/apache/29/apache-29-site.xml (0 B at 0 B/s)
[DEBUG] Writing tracking file 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/apache/29/_remote.repositories
[DEBUG] Writing tracking file 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/apache/29/apache-29-site.xml.lastUpdated
[DEBUG] Reading parent level 3 site descriptor from 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/apache/29/apache-29-site.xml
{noformat}

>From an IT PoV the site descritor isn't even present in the local repo, 
>Resolver goes out to fetch the file, then your local repo contains the 0-byte 
>files due to the site run and MRM Maven Plugin delivers them. Logically, This 
>an invalid file delivered by the MRM (repo manager).

So the only viable way I see is to delete those files first with an Ant script 
and the run the ITs.


was (Author: michael-o):
Interting, while the PR fixes the faulty code, it does not fix the ITs, with 
some debug output:
{noformat}
request: org.apache.maven.plugins:maven-plugins:xml:site:39 @ [mrm-maven-plugin 
(http://localhost:17299, default, releases+snapshots)], result: null 
(unavailable)
[DEBUG] Resolving artifact org.apache.maven.plugins:maven-plugins:xml:site:39 
from [mrm-maven-plugin (http://localhost:17299, default, releases+snapshots)]
[DEBUG] Using transporter WagonTransporter with priority -1.0 for 
http://localhost:17299
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for 
http://localhost:17299
[INFO] Downloading from mrm-maven-plugin: 
http://localhost:17299/org/apache/maven/plugins/maven-plugins/39/maven-plugins-39-site.xml
[INFO] Downloaded from mrm-maven-plugin: 
http://localhost:17299/org/apache/maven/plugins/maven-plugins/39/maven-plugins-39-site.xml
 (1.2 kB at 98 kB/s)
[DEBUG] Writing tracking file 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/maven/plugins/maven-plugins/39/_remote.repositories
[DEBUG] Writing tracking file 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/maven/plugins/maven-plugins/39/maven-plugins-39-site.xml.lastUpdated
[DEBUG] Reading parent level 1 site descriptor from 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/maven/plugins/maven-plugins/39/maven-plugins-39-site.xml
[DEBUG] Looking for site descriptor of level 2 parent project: 
org.apache.maven:maven-parent:pom:39
request: org.apache.maven:maven-parent:xml:site:39 @ [mrm-maven-plugin 
(http://localhost:17299, default, releases+snapshots)], result: null 
(unavailable)
[DEBUG] Resolving artifact org.apache.maven:maven-parent:xml:site:39 from 
[mrm-maven-plugin (http://localhost:17299, default, releases+snapshots)]
[DEBUG] Using transporter WagonTransporter with priority -1.0 for 
http://localhost:17299
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for 
http://localhost:17299
[INFO] Downloading from mrm-maven-plugin: 
http://localhost:17299/org/apache/maven/maven-parent/39/maven-parent-39-site.xml
[INFO] Downloaded from mrm-maven-plugin: 
http://localhost:17299/org/apache/maven/maven-parent/39/maven-parent-39-site.xml
 (4.4 kB at 627 kB/s)
[DEBUG] Writing tracking file 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/maven/maven-parent/39/_remote.repositories
[DEBUG] Writing tracking file 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/maven/maven-parent/39/maven-parent-39-site.xml.lastUpdated
[DEBUG] Reading parent level 2 site descriptor from 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/maven/maven-parent/39/maven-parent-39-site.xml
[DEBUG] Looking for site descriptor of level 3 parent project: 
org.apache:apache:pom:29
request: org.apache:apache:xml:site:29 @ [mrm-maven-plugin 
(http://localhost:17299, default, releases+snapshots)], result: null 
(unavailable)
[DEBUG] Resolving artifact org.apache:apache:xml:site:29 from [mrm-maven-plugin 
(http://localhost:17299, default, releases+snapshots)]
[DEBUG] Using transporter WagonTransporter with priority -1.0 for 
http://localhost:17299
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for 
http://localhost:17299
[INFO] Downloading from mrm-maven-plugin: 
http://localhost:17299/org/apache/apache/29/apache-29-site.xml
[INFO] Downloaded from mrm-maven-plugin: 
http://localhost:17299/org/apache/apache/29/apache-29-site.xml (0 B at 0 B/s)
[DEBUG] Writing tracking file 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/apache/29/_remote.repositories
[DEBUG] Writing tracking file 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/apache/29/apache-29-site.xml.lastUpdated
[DEBUG] Reading parent level 3 site descriptor from 
/var/osipovmi/Projekte/maven-site-plugin/target/local-repo/org/apache/apache/29/apache-29-site.xml
{noformat}

>From an IT PoV the site descritor isn't even present in the local repo, 
>Resolver goes out to fetch the file, then your local repo contains the 0-byte 
>files due to the site run and MRM Maven Plugin delivers them. Logically, This 
>an invalid file delivered by the MRM (repo manager).

> CI is broken
> ------------
>
>                 Key: MSITE-960
>                 URL: https://issues.apache.org/jira/browse/MSITE-960
>             Project: Maven Site Plugin
>          Issue Type: Bug
>            Reporter: Elliotte Rusty Harold
>            Assignee: Michael Osipov
>            Priority: Blocker
>             Fix For: 4.0.0-M8
>
>         Attachments: screenshot-1.png
>
>
>  Error:  Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.12.1:site (default-site) on 
> project maven-site-plugin: RendererException while preparing context for 
> skin: Cannot use skin: has 2.0.0-M5 Doxia Sitetools prerequisite, but current 
> is 1.11.1 -> [Help 1]



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

Reply via email to